@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Open+Sans&display=swap');
/*font-family: 'Montserrat', sans-serif;*/
/*font-family: 'Open Sans', sans-serif;*/

:root {
    --bayardBlue: #0071F5;
    --bayardGray: #D9D9D9;
}
* {
    margin: 0;
    padding: 0;
}
.wrapper {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 75px 20px 1fr 1fr;
    grid-template-areas: 
    "header"
    "title"
    "section1"
    "section2"
    ;
    gap: 15px;
    margin: 30px;
    background-color: white;
    justify-content: center;
    align-content: center;
    font-family: 'Open Sans', sans-serif;
}

h2, h3 {
    font-family: 'Montserrat', sans-serif;
}

h3 {
    letter-spacing: 1px;
}

h2 {
    margin-bottom: 30px;
}

header {
    grid-area: header;
    display: flex;
}

.logo {
    width: 180px;
}

.title {
    grid-area: title;
    font-size: 8pt;
    margin-top: -20px;
}

.section1 {
    grid-area: section1;
    height: 90%;
    position: relative;
    align-content: center;
    color: white;
    overflow: hidden;
    
}

article img {
    height: auto;
    width: 200%;
    margin-left: -160px;
}

.phrase {
    position: absolute;
    top: 50px;
    left: 28px;
    font-size: 22pt;
    text-shadow: 1px 1px 4px rgb(46, 45, 45);
    font-family: 'Montserrat', sans-serif;
}

.section2 {
    grid-area: section2;
    justify-content: center;
    text-align: left;
    margin-top: -90px;
    margin-bottom: 60px;
}


label {
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 10pt;
    
}

.inputBox {
    height: 60px;
    width: 300px;
    font-size: 14pt;
    border-color: var(--bayardGray);
    margin-top: 5px;
    margin-bottom: 20px;
    
    
}

.button {
    height: 60px;
    width: 300px;
    font-size: 20px;
    background-color: var(--bayardBlue);
    border-radius: 35px;
    color: white;
    font-weight: bold;
    letter-spacing: 1px;
    border: none;
}
.error {
    color: red;
}

footer {
    height: 125px;
    color:white;
    background-color: black;
    text-align: center;
    margin-top: 150px;
    

}

footer h3 {
    font-size: 10pt;
    padding: 50px 80px 0px 90px;
}

@media only screen and (min-width: 600px) and (max-width: 991px){
    .wrapper {
        display: grid;
        grid-template-columns: 1fr 2fr 1fr;
        grid-template-rows: 100px 20px 1fr 1fr;
        grid-template-areas: 
        ". header ."
        ". title ."
        ". section1 ."
        ". section2 ."
        ;
    }

    header {
        grid-area: header;
        display: flex;
    }

    .title {
        grid-area: title;
        margin-top: -35px;
    }

    .section1 {
        grid-area: section1;
        display: flex;
        height: 80%;
    }

    article img {
        margin-left: -180px;
    }

    .phrase {
        top: 70px;
    }

    .section2 {
        grid-area: section2;
        margin-top: -40px;
    }

    .inputBox {
        width: 350px;
    }
    
    .button {
        width: 350px;
        
    }
    
    footer h3 {
    font-size: 12pt;
    }
}

@media only screen and (min-width: 992px){
    .wrapper {
        display: grid;
        grid-template-columns: 1fr 2fr 2fr 1fr;
        grid-template-rows: 150px 1fr;
        grid-template-areas:
        "header title . ."
        ". section1 section2 ."
        ;
    }

    header {
        grid-area: header;
        display: flex;
        grid-column: 2/3;
    }

    

    .title {
        grid-area: title;
        margin-top: 75px;
        margin-left: 210px;
        
    }

    .section1 {
        grid-area: section1;
        margin-top: -30px;
        width: 500px;
        height: 100%;
    }

    article img {
        width: 1000px;
        margin-left: -250px;
        margin-bottom: 0px;
    }

    .phrase {
        top: 60px;
        left: 45px;
        font-size: 3em;

    }

    .section2 {
        grid-area: section2;
        width: 500px;
        height: 100%;
        margin-top: 30px;
    }

    h2 {
        font-size: 24pt;
    }

    label {
        font-weight: bold;
    }

    .inputBox {
        width: 400px;
        margin-bottom: 25px;
        height: 50px;
    }
    
    .button {
        width: 400px;
        
    }



    footer h3 {
        font-size: 14pt;
        }
    

}