

@media (max-width: 850px) {
    #d-nav-container {
        display: none;
    }
    #section-1d-img {
        display: none;
    }
    
    #header {
        width: auto;
        margin-left: 5%;
        margin-right: 5%;
        margin-top: 45px;
    } 

    #header-box {
        width: 85%;
        max-width: 400px;
        font-size: 1rem;
        line-height: 20px;
        padding: 5px;
        margin: auto;
        margin-bottom: 8%;
    }

    #header-box-dates {
        padding-bottom: 0.7rem;
    }

    #header-box div {
        text-align: center;
    }

    #title {
        display: none;
    }
    
    #title-mob {
        margin-bottom: 3rem;

    }

    #title-mob div {
        text-align: center;
        font-family: "PlayfairDisplay", serif;
        font-size: 1.6rem;
    }

    .title-mob-bold {
        font-weight: 700;
    }

    .take-part-button {
        font-size: 1rem;
        padding: 11px 5px;
        width: 85%;
        max-width: 300px;
        margin: auto; 

    }

    #section-2 {
        margin-top: 4rem;
    }

    #section-2-background {
        border-radius: 30px;
    }
    
    .section-content {
        margin-left: 5%;
        margin-right: 5%;
        margin-bottom: 3rem;
    }
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .reg-text {
        font-size: 0.9rem;
        line-height: 25px;
    }

    .split-container {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    #about-content {
        min-width: 280px;
    }

    #memo {
        flex-wrap: nowrap;
        gap: 0.5rem;
        min-width: auto;
        padding: 7px;
        height: auto;
        width: 100%;
    }
    
    #icon-warning {
        min-width: auto;
    }

    #memo .img-container {
        max-width: 30px;
    }

    .memo-text {
        font-size: 12px;
        line-height: 20px; 
    }
    
    #about-img {
        display: none;
    }
    
    #section-3d-img {
        display: none;
    }

    #program-sections {
        width: 90%;
        margin-left: 5%;
        padding-top: 3rem;
        margin-right: 5%;
    }
    
    #section-list {
        margin-left: 1rem;
        font-size: 15px;
        line-height: 28px;
        margin-bottom: 10%;
    }
    #section-list li {
        font-weight: 500;
    }
    
    #section-4-background {
        margin-top: 0;
    }

    #copy-img .img-container {
        max-width: 25px;
    }

    #participants-img {
        display: none;
    }

    #participants-img-mob {
        padding-top: 10%;
        
    }

    .form-container {
        width: auto;
    }

    .field-label {
        font-size: 15px;
    }

    input,
    textarea {
        font-size: 14px;
    }

    .field-split {
        margin-top: 1rem;
    }
    
    #submit-button {
        font-size: 1rem;
        padding: 1rem;
    }

    .field-error {
        font-size: 11px;
    }

    .agreement-text {
        font-size: 12px;
    }

    #success-message {
        font-size: 25px;
    }

    #success-container .reg-text {
        width: 90%;
        line-height: 23px;
        font-size: 17px;
    }

    #scroll-icon-container {
        max-width: 37px;
        margin-right: 5%;
        margin-left: auto;
    }

    #scroll-icon-container .img-container {
        max-width: 100%;
    }

    #footer-background {
        padding: 1.3rem 0;
    }

    #section-1-background .img-container {
        height: 100%;
        width: auto;
    }

}


@media (min-width: 850px) and (max-width: 1440px) {
    #m-nav-container {
        display: none;
    }
    #section-1m-img {
        display: none;
    }


    #header {
        margin-left: 10%;
    } 
    #header-box {
        font-size: 1.3rem;
    }
    #title-mob {
        display: none;
    }
    #title {
        font-size: 2.7rem;
        line-height: 3.7rem;
    }

    .section-title {
        font-size: 2.3rem;
    }

    .d-nav-item {
        font-size: 18px;
    }

    #d-nav-container {
        gap: 1.5rem;
    }

    .split-container {
        flex-wrap: wrap;
        gap: 1.5rem;
        min-height: fit-content;
    }

    #section-2 .split-container {
        margin-bottom: 1.5rem;
    }
    
    #memo {
        height: auto;
        flex-wrap: nowrap;
        width: 50%;
    }

    .img-container {
        max-height: 100%;
        direction: rtl;
    }

     
    #section-1-background,
    #section-3-background {
        overflow: hidden;
        max-width: 100vw;
    }


    #about-img .img-container {
        max-width: 100%;
    }

    .reg-text {
        font-size: 18px;
        line-height: 30px;
    }

    #program-sections {
        padding-top: 3rem;
        width: 50%;
        padding-bottom: 4rem;
    }
    
    #section-list {
        font-size: 18px;
    }

    #section-3m-img {
        display: none;
    }
    #participants-img-mob {
        display: none;
    }

    #section-4-background {
        margin-top: 6rem;
    }


}


@media (min-width: 1440px) {
    #m-nav-container {
        display: none;
    }

    #m-nav-shade {
        display: none;
    }

    #section-1m-img {
        display: none;
    }
    #title-mob {
        display: none;
    }

    #section-3m-img {
        display: none;
    }
    #participants-img-mob {
        display: none;
    }
    #section-1-background .img-container {
        margin-right: var(--lm);
    }
}


