#courseHeader {
    opacity: 0;
    position: absolute;
    bottom: 90px;
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
    color: white;
}

.course-header-title {
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    position: absolute;
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
    height: 100%;
    font-size: 5vmax;
    animation: fadeIn ease 2s;
    animation-fill-mode: forwards;
}

.course-subtext {
    width: fit-content;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 0.5rem;
    margin: 5rem auto 0 auto;
    color: white;
    font-size: 2vmax;
    border-radius: 1rem;
}

.course-link {
    position: relative;
    text-decoration: none;
    color: white;
    background-color: rgba(239, 73, 117, 1);
    font-size: 2vmax;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.course-link:hover {
    color: white;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translate3d(0, -50%, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}


/* animation */

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translate3d(0, -50%, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fadeIn-show {
    animation: fadeIn ease 2s;
}


/* animation */

#container {
    padding: 30px 5% 30px 5%;
}

#course-intro-imgs {
    display: flex;
    padding-top: 50px;
}

#course-intro-imgs div {
    margin-right: 10px;
    margin-left: 10px;
}

#course-intro-text {
    max-width: 70%;
    margin: 30px auto;
    padding: 10px 30px;
    background-color: rgba(128, 128, 128, 0.1);
    border-radius: 30px;
    font-size: 20px;
    opacity: 0;
}

#course-step-text {
    text-align: center;
    max-width: 60%;
    margin: 50px auto;
    padding: 10px;
    background-color: rgba(128, 128, 128, 0.1);
    border-radius: 30px;
    font-size: 20px;
    opacity: 0;
}

#course-step-img {
    margin: 40px 0 40px 0;
}

.course-good-title {
    text-align: center;
    font-size: 50px;
    padding: 30px;
}

#course-types-title {
    text-align: center;
    font-size: 50px;
    margin-top: 30px;
    margin-bottom: 30px;
}

#course-types-title:after {
    content: "";
    /* This is necessary for the pseudo element to work. */
    display: block;
    /* This will put the pseudo element on its own line. */
    margin: 0 auto;
    /* This will center the border. */
    width: 30%;
    /* Change this to whatever width you want. */
    padding-top: 10px;
    /* This creates some space between the element and the border. */
    border-bottom: 1px solid black;
    /* This creates the border. Replace black with whatever color you want. */
}

#course-types-lists {
    display: flex;
    width: 100%;
}

.course-types-card {
    opacity: 0;
    flex: 1;
    margin: 0 5px 0 5px;
}

.course-types-card-img {
    height: 150px;
    border-radius: 5px 5px 0px 0px;
    width: 100%;
    background-color: rgba(128, 128, 128, 0.1);
}

.course-types-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 5px 5px 0 0;
}

.course-types-card-container {
    background-color: rgba(128, 128, 128, 0.1);
    padding: 15px 0 20px 0;
    border-radius: 0px 0px 5px 5px;
}

.course-types-card-button button {
    border-radius: 5px 5px 5px 5px;
    color: white;
}

.course-types-card-container-title {
    text-align: center;
    font-size: 20px;
}

.course-types-card-container-subtitle {
    text-align: center;
    font-size: 15px;
}


/* training section */

.desktop {
    display: flex;
    justify-content: space-around;
}

.mobile {
    display: none;
}

#training-left {}

#training-right {}

.training-photo_out {
    background-color: white;
    width: 530px;
    height: 350px;
    box-shadow: 10px 10px 5px #aaaaaa;
}

.training-photo_in {
    height: 300px;
    width: 500px;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10px;
}

.training-photo_in img {
    object-fit: contain;
    height: 100%;
    width: 100%;
}

.training-text {
    height: 200px;
    width: 570px;
    display: flex;
    justify-content: center;
}

.training-text div {
    width: 300px;
    height: 60px;
    background-color: gray;
    color: white;
    text-align: center;
    font-size: 30px;
    margin: auto;
    border: black 6px solid;
    border-radius: 30px;
}


/* training section */

#course-form {
    display: flex;
    margin-top: 50px;
}

#course-form-left-image {
    width: 100%;
}

#course-form-right-form {
    width: 100%;
    /* padding: 20px; */
}

#course-form-left-image {
    padding: 20px;
}

#course-form-left-image-1,
#course-form-left-image-2 {
    display: flex;
    /* height: 50%; */
    width: 100%;
}

#course-form-left-image-cell {
    padding: 10px;
    width: 100%;
}

#course-form-left-image-cell img {
    width: 100%;
}


/* right */

.course-form-right-title {
    margin: 0 3rem;
}

.course-form-right-title-main {
    font-size: 24px;
    border-bottom: rgba(0, 0, 0, 1) 1px solid;
}

.course-form-right-title-box {
    font-size: 20px;
    margin-top: 2rem;
}


/* .course-form-contact-list {} */

.course-form-contact-box {
    text-align: center;
    /* width: 100%; */
    margin: 3rem;
    /* border: 3px #000 solid; */
    padding: 2rem 0;
    border-radius: 4px;
    box-shadow: 0px 0px 20px 0px rgb(0 0 0 / 10%);
}

.course-form-contact-box-con {
    margin-top: 1rem;
    font-size: 20px;
}

.course-form-contact-box:hover {
    cursor: pointer;
}


/* right */


/* form */

#course-form-right-title {
    font-size: 17px;
}

#form-type {
    margin-top: 10px;
    margin-bottom: 10px;
    display: block;
    width: 100%;
    font-size: 18px;
    color: rgba(0, 0, 0, 0.4);
}

select {
    /* styling */
    background-color: white;
    border-radius: 4px;
    display: inline-block;
    font: inherit;
    line-height: 1.5em;
    padding: 7px 1em 5px 1em;
    /* reset */
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
}


/* arrows */

select.minimal {
    background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%), linear-gradient(to right, #ccc, #ccc);
    background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px), calc(100% - 2.5em) 0em;
    background-size: 5px 5px, 5px 5px, 1px 2.1em;
    background-repeat: no-repeat;
}

select.minimal:focus {
    background-image: linear-gradient(45deg, gray 50%, transparent 50%), linear-gradient(135deg, transparent 50%, gray 50%), linear-gradient(to right, #ccc, #ccc);
    background-position: calc(100% - 15px) 1em, calc(100% - 20px) 1em, calc(100% - 2.5em) 0em;
    background-size: 5px 5px, 5px 5px, 1px 2.1em;
    background-repeat: no-repeat;
    outline: 0;
}

select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #000;
}

#form-name {
    margin-top: 10px;
    margin-bottom: 10px;
    display: block;
    width: 100%;
    font-size: 18px;
    border: 1px solid rgb(118, 118, 118);
    border-radius: 4px;
    padding: 7px 1em 5px 1em;
}

#form-phone {
    margin-top: 10px;
    margin-bottom: 10px;
    display: block;
    width: 100%;
    font-size: 18px;
    border-radius: 4px;
    border: 1px solid rgb(118, 118, 118);
    padding: 7px 1em 5px 1em;
}

#form-email {
    margin-top: 10px;
    margin-bottom: 10px;
    display: block;
    width: 100%;
    font-size: 18px;
    border-radius: 4px;
    border: 1px solid rgb(118, 118, 118);
    padding: 7px 1em 5px 1em;
}

#form-location {
    margin-top: 10px;
    margin-bottom: 10px;
    display: block;
    width: 100%;
    font-size: 18px;
    border-radius: 4px;
    padding: 7px 1em 5px 1em;
    border: 1px solid rgb(118, 118, 118);
}

#form-bot {
    width: 30px;
}


/* The container */

#form-bot-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 18px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


/* Hide the browser's default checkbox */

#form-bot-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}


/* Create a custom checkbox */

#form-bot-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    border-radius: 5px;
    background-color: white;
    border: rgb(118, 118, 118) 2px solid;
}


/* On mouse-over, add a grey background color */

#form-bot-container:hover input~#form-bot-checkmark {
    background-color: #ccc;
}


/* When the checkbox is checked, add a blue background */

#form-bot-container input:checked~#form-bot-checkmark {
    background-color: #2196F3;
    border: rgb(118, 118, 118) 0px solid;
}


/* Create the checkmark/indicator (hidden when not checked) */

#form-bot-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}


/* Show the checkmark when checked */

#form-bot-container input:checked~#form-bot-checkmark:after {
    display: block;
}


/* Style the checkmark/indicator */

#form-bot-container #form-bot-checkmark:after {
    left: 7.5px;
    top: 2px;
    width: 10px;
    height: 15px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

#form-reset {
    margin-top: 15px;
    margin-bottom: 15px;
    display: block;
    width: 100%;
    font-size: 16px;
    border-radius: 4px;
    border: none;
    padding: 9px 1em 7px 1em;
    background-color: #ff5252;
    color: white;
}

#form-submit {
    margin-top: 15px;
    margin-bottom: 15px;
    display: block;
    width: 100%;
    font-size: 16px;
    border-radius: 4px;
    border: none;
    padding: 9px 1em 7px 1em;
    background-color: #4caf50;
    color: white;
}

@media only screen and (max-width: 768px) {
    #courseHeader-top {
        font-size: 24px;
    }
    #schoolHeader-bottom {
        font-size: 16px;
    }
    #courseHeader {
        bottom: 60px;
    }
    #course-intro-imgs {
        flex-wrap: wrap;
    }
    #course-intro-imgs div:nth-child(-n + 2) {
        max-width: 50%;
        margin: 0;
    }
    #course-intro-text {
        max-width: 100%;
    }
    .good-img img {
        width: 100%;
    }
    #course-types-lists {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .course-types-card {
        width: 80%;
        /* border: #000 1px solid; */
    }
    #course-step-text {
        max-width: 100%;
    }
    #course-step-img div img {
        width: 100%;
    }
    .desktop {
        display: none;
    }
    .mobile {
        display: block;
    }
    .training-photo_out {
        width: 100%;
    }
    .training-photo_in {
        width: 100%;
    }
    .training-photo_in img {
        width: 100%;
    }
    .training-text {
        height: 80px;
        width: 100%;
    }
    #course-form {
        flex-direction: column;
    }
}

@media only screen and (max-width: 992px) {
    #course-form-left-image-1,
    #course-form-left-image-2 {
        flex-direction: column;
    }
    #course-form-left-image-cell {
        text-align: center;
    }
    #course-form-left-image-cell img {
        width: 60%;
    }
}

@media only screen and (max-width: 768px) {
    #course-form-left-image-1,
    #course-form-left-image-2 {
        flex-direction: row;
    }
    #course-form-left-image-cell img {
        width: 100%;
    }
}