* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
  }

body {
    font-family: 'Montserrat';

    width: 100%;
    height: 100%;

    
}

h1 {
    font-size: 5em;
    margin: 0;
}

h2 {
    font-size: 1.5rem;
    text-align: center;
    padding: 30px 0 0 0;
    color: #888888;
}

.main-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 8vw max-content 14vw 8vw;
    margin-top: 4vw;
    margin-bottom: 4vw;
    margin-left: 10vw;
    gap: 0;
    height: 100%;
}

.main-top h1 {
    grid-row: 1;
    grid-column: 1;
}

.main-top p {
    grid-row: 2;
    grid-column: 1;
    font-size: calc(1rem + .60vw);
}

.main-top a {
    grid-row: 3;
    grid-column: 1;
    position: relative;
    text-align: center;
}

.main-top .header-flower {
    grid-row: 1 / span 3;
    grid-column: 2;
    margin: 0;
}

.header-flower img {
    width: 40vw;
    box-shadow: 0px 4px 4px rgba(000, 000, 000, 0.25);
}

.page-2 h1 {
    font-size: 2em;
    text-align: center;
}

p {
    color: #666;
    font-family: 'Open Sans', sans-serif;
}

.main-nav {
    background-color: rgba(216, 154, 158, 0.17);
    display: flex;
    justify-content: space-around;
    padding: 12px 80px 12px 80px;
    width: 100%;
}


.main-nav a {
    font-size: 1.5vw;
    margin: 10px;
    color: #CE9296;
    text-decoration: none;
    font-weight: 500;
    
}

.main-nav a:first-child {
    margin-right: auto;
}

.mobile {
    display: flex;
    justify-content: end;
    margin-left: auto;
}

.main-nav .mobile img {
    display: none;
    width: 8vw;
    margin-left: auto;
    justify-content: end;
}

.read-more-button {
    width: 15vw;
    height: 4vw;
    background-color: #CC5578;
    color: #fff;
    box-shadow: 6px 6px 10px rgba(185, 77, 109, 0.2);
    font-weight: 500;
    font-size: 1.2rem;
    text-align: center;
    padding-top: 2.5%;
    /* padding-bottom: 4%; */
    text-decoration: none;
    top: 50%;
   
}

.mobile figcaption {
    display:none;
}

.read-more:hover {
    background-color: rgb(165, 63, 94);
}



.left-head {
   width: 680px;
   margin: 5%;
}


.about-text p {
    text-align: center;
    margin: 0px 0px 0px 0px;
}

.divider p{
    background-color: #F7F7F7;
    color: #AEAEAE;
    text-align: center;
}

.course-info {
    display: flex;
    background-color: #F7F7F7;
    margin-left: auto;
    margin-right: auto;
    padding: 12px 80px 12px 80px;
    justify-content: space-between;
    
}

.flex-pic {
    display: flex;
    justify-content: space-between;
    padding: 2%;
    overflow: hidden;
}

.apply {
    width: 200px;
    background-color: #CC5578;
    color: #fff;
    box-shadow: 6px 6px 10px rgba(185, 77, 109, 0.2);
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
}

.apply a {
    text-decoration: none;
    color: #fff;
}


.menu-icon {
    display: none;
}


b {
    font-weight: bold;
}

hr {
    border: 1px solid #D89A9E;
}

a {
    text-decoration: none;
    color: white;
    font-size: 1vw;
}



@media screen and (max-width: 1272px) {
 
    /* .main-top p {
        grid-row: 3;
        grid-column: 1;
        font-size: calc(1rem + .10vw);
    } */


    .read-more-button {
        width: 30vw;
    }

    .apply a {
        font-size: calc(1rem + .10vw);
    }

    .main-top {
        gap: 1vw;
        grid-template-rows: max-content max-content max-content 8vw;
    }

}


@media screen and (max-width: 860px) {
    .main-top {
        gap: 1vw;
        grid-template-rows: max-content max-content max-content 8vw;
    }
    .read-more-button {
        width: 40vw;
        height: 8vw;
        background-color: #CC5578;
        color: #fff;
        box-shadow: 6px 6px 10px rgba(185, 77, 109, 0.2);
        font-weight: 500;
        font-size: 1.2rem;
        text-align: center;
        padding-top: 5%;
        /* padding-bottom: 4%; */
        text-decoration: none;
    }

    .course-info p {
        font-size: 1.8vw;
    }

    .main-top h1 {
        grid-row: 1;
        grid-column: 1;
    }

    .main-top p {
        grid-row: 2;
        grid-column: 1;
    
    }

    .main-top a {
        margin-top: 0vw;
        grid-row: 3;
        grid-column: 1;
    }

    

}


@media screen and (max-width: 534px) {
    .main-top {
        gap: 1vw;
        grid-template-rows: 40vw 6vw max-content 8vw;
        grid-template-columns: 1fr;
        margin-right: 10vw;
    } 
    
    .main-top .header-flower {
        grid-row: 1;
        grid-column: 1;
    }

 
    .main-top h1 {
        grid-row: 2;
        grid-column: 1;
        font-size: 8vw;
    }

    .main-top p {
        grid-row: 3;
        grid-column: 1;
        font-size: calc(1rem + .10vw);
    }

    .main-top a {
        margin-top: 0vw;
        grid-row: 4;
        grid-column: 1;
    }

    .read-more-button {
        width: 40vw;
        height: 8vw;
        background-color: #CC5578;
        color: #fff;
        box-shadow: 6px 6px 10px rgba(185, 77, 109, 0.2);
        font-weight: 500;
        font-size: 1rem;
        text-align: center;
        padding-top: 2.5%;
        /* padding-bottom: 4%; */
        text-decoration: none;
    }

    .main-nav a {
        font-size: 0.8em;
        margin: 10px;
        color: #CE9296;
        text-decoration: none;
        font-weight: 500;
        
    }

    .course-info p {
        font-size: 2vw;

    }

    .course-info {
       
        padding: 12px 40px 12px 40px;
        
        
    }

    .header-flower figcaption {
        display: none;
    }

}


@media screen and (max-width: 534px) {
    .main-nav {
        padding: 12px 20px 12px 20px;
    }
    
    .main-nav .mobile img {
        display: flex;
    }

    .main-nav a {
        display: none;
    }

    .course-info p {
        font-size: 2.5vw;

    }


}