﻿body {
    background-image: linear-gradient(45deg, #7175da, #9790F2);
    font-family: 'Muli', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

.courses-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.course {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    max-width: 100%;
    margin: 20px;
    overflow: hidden;
    width: 120vh;
}

    .course h6 {
        opacity: 0.6;
        margin: 0;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .course h2 {
        letter-spacing: 1px;
        margin: 10px 0;
    }

.course-preview {
    background-color: #2A265F;
    color: #fff;
    padding: 30px;
    width: 40vh;
}

    .course-preview a {
        color: #fff;
        display: inline-block;
        font-size: 12px;
        opacity: 0.6;
        margin-top: 30px;
        text-decoration: none;
    }

.course-info {
    padding: 15px;
    position: relative;
    width: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn {
    background-color: #2A265F;
    border: 0;
    border-radius: 50px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 16px;
    padding: 12px 25px;
    letter-spacing: 1px;
}

.field_validation {
    width: 100%;
} 
#CaptchaImage {
    width: 95%;
    height: 67px;
}

@media (max-width:720px) {
    .courses-container {
        flex-direction: column; /* Stack the items vertically */
        align-items: stretch;
        margin:auto;
        width: 93%;
    }
    

    .course {
        width: 90%; /* Make it full width */
        height:95%;
    }

    .course-preview {
        width: 100%; /* Adjust width of preview section */
        padding: 20px;
    }
    .rightSide {
        width: 82vh;
        align-items: center;
        display: none;
    }

    .btn {
        width: 100%; /* Make the button full width */
        padding: 14px;
    }
}


@media (max-width:1024px) and (min-width:720px) {
    .courses-container {
        flex-direction: column; /* Stack the items vertically */
        align-items: stretch;
        margin: auto;
        width: 60%;
    }

    .course {
        width: 90%; /* Make it full width */
        height: 95%;
    }

    .course-preview {
        width: 100%; /* Adjust width of preview section */
        padding: 20px;
    }

    .rightSide {
        width: 82vh;
        align-items: center;
        display: none;
    }

    .btn {
        width: 100%; /* Make the button full width */
        padding: 14px;
    }
}









