html, body, section {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    /* font-size: 10px; */
}

body {
    background-color: #E4CFB1;
    font-family: 'Trebuchet MS', sans-serif;
}

section {
    margin: 0;
    padding: 0;
    border: 0;
}

.section{
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
}

.section-text-wrapper{
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    max-width: 30%;
    /* height: 95%; */
}

#section1{
    background-color: #83322C;
    color: #E4CFB1;
    position: relative;
}

#section1 h1{
    margin: 0;
    font-size: 6rem;
}

#section1 h3{
    font-size: 2rem;
    margin: 0;
}

#section1 h2{
    font-size: 3rem;
    max-width: 90%;
}

#section1 .section-text-wrapper{
    display: flex;
    justify-content: left;
    flex-direction: column;
    gap: 3.5rem;
    height: auto;
    margin-left: 7%;
    align-items: flex-start;
}

.section1-image-container{
    flex: 1;
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    overflow: hidden;
    position: relative;
}

.section1-image-container img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

.section1-image-fade-overlay{
    position: absolute;
    left: 0;
    top: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(to left, transparent, #83322C 90%);
    pointer-events: none;
}

.section1-button-wrapper{
    display: flex;
    justify-content: left;
    gap: 1rem;
}

.button{
    font-size: 1.5rem;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    width: 200px;
    padding: 15px 10px;
    border-radius: 50px;
    border: solid 2px;
}

.button-register{
    background-color: #E4CFB1;
    color: #83322C;
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

.button-register:hover{
    background-color: #83322C;
    color: #E4CFB1;
    border: solid 2px #E4CFB1;
}

.button-learnmore{
    background-color: #83322C;
    color: #E4CFB1;
    border: solid 2px #E4CFB1;
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

.button-learnmore:hover{
    background-color: #E4CFB1;
    color: #83322C;
}

#section2{
    background-color: #E4CFB1;
}

@media screen and (max-width: 1550px){
    .section1-image-container{
        display: none !important;
    }
    
    #section1{
        background-image: url("img/cover.jpg");
        filter: brightness(80%);
    }

    .section-text-wrapper{
        /* background-color: magenta; */
        max-width: 80%;
    }

    .button-learnmore{
        background: transparent;
    }
}