/* Global colours */
:root {
    --chaps-black: #231F20;
    --bone: #D1CFBE;
    --off-white: #F5F5F5;
    --smoky-black: #0C0B08;
    --orange: #D16014
  }
  
/* Global remove margins */
* {
    margin: 0px;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

body {
    background-color: var(--bone);
}

/* Main image */

#jumbotron {
    height: 1400px;
    padding-top: 50px;
    background-image: url("../assets/images/chaps2.png");
    background-position: top;
    background-repeat: none;
    background-size: cover;
    justify-content: center;
}


/* About */

#about-card {
    background-color: var(--bone);
}

.card-area {
    display: flex;
    width: 100%;
    height: 70%;
    min-width: 300px;
    background-color: var(--chaps-black);
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    flex-wrap: wrap;
}

.card {
    background-color: var(--bone);
    border: var(--off-white) solid 2px;
    width: 40%;
    min-width: 250px;
    max-width: 800px;
    margin: 5%;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

#about-card, #contact-form, #contact-card {
    padding: 20px;
}


/* Contact Form */

input, textarea, #submit-btn {
    width: 100%;
    margin-top: 0px;
    margin-bottom: 10px;
}

textarea {
    height: 80px;
    resize: none;
}

#submit-btn {
    height: 30px;
    color: var(--off-white);
    background-color: var(--chaps-black);
}

#contact {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    background-color: var(--chaps-black);
    color: var(--off-white);
    height: 350px;
    margin: auto;
}

address {
    justify-content: center;
    justify-items: center;
    text-align: center;
    font-style: normal;
    font-size: 1em;
}

#contact > * {
    background-color: transparent;
    font-size: 2em;
    padding-top: 30px;
}


.container {
    display: flex;
    height: 800px;
}

h3 {
    background-color: transparent;
    color: var(--off-white);
}

#footer {
    background-color: var(--bone);
    justify-content: center;
    text-align: center;
    align-items: flex-end;
    height: 170px;
    font-family: 'Roboto Slab';
    margin-bottom: 20px;
    margin-top: -100px;
}

h5 a {
    font-family: 'Orbitron', sans-serif;
}

a {
    margin-top: 20px;
    font-size: 1em;
    width: 100%;
    text-decoration: none;
    color: var(--chaps-black);
}


/* [-----MEDIA QUERIES-----] */

/* MOBILES */
@media (max-width: 800px) {
    #jumbotron {
        height: 670px;
        padding-top: 50px;
        background-repeat: no-repeat;
    }
    
    #jumbotron img {
        margin-top: -40px;
        height: 125px;
        width: 125px;
    }
    
    /* Remove curved borders on top of about section */
    .card-area {
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
        height: 100%;
    }
    
    .card {
        max-width: 800px;
        width: 90%;
    }

    #about {
        height: 1000px;
    }

    #about-card {
        border-radius: 8px;
    }

    #footer {
        margin-top: 200px;
    }

}

/* SMALL MOBILES */
@media (max-width: 370px) {
    #jumbotron {
        height: 500px;
        padding-top: 50px;
        background-position-y: 100%;
        background-size: 120%;
    }

    .card-area {
        height: 100%;
    }

    #footer {
        margin-top: 150px;
    }
}

/* EXTRA-SMALL MOBILES */
@media (max-width: 320px) {
    #jumbotron {
        height: 670px;
        background-position-x: 80%;
        background-position-y: -20%;
        background-size: 300%;

    }
}
