html {
  scroll-behavior: smooth;
}

*, *::before, *::after {
    box-sizing: border-box;
}

.clear {
    clear: both;
}

/*/////TYPOGRAPHY/////*/

body {
    color: #2B2A2B;
}

ul, li {
    font-family: 'poppins', sans-serif;
    font-size: 18px;
}

p {
    font-family: 'poppins', sans-serif;
    font-size: 18px;
}

h1, h2, h3, a {
    font-family: 'poppins', sans-serif;
    margin: 0;
}

h2 {
    color: #2B2A2B;
    font-size: 28px;
}

h2 span {
    color: #72A2E1;
    font-weight: 100;
    margin-bottom: 5px;
}

.wrapper.dark-background h2 {
    color: #72A2E1;
}

.project-title h2 {
    font-size: 60px;
}

h3 {
    font-size: 36px;
}

h4 {
    font-family: 'poppins', sans-serif;
    font-size: 30px;
    margin: 0;
}

/*/////LAYOUT/////*/

.wrapper {
    margin-bottom: 20px;
    margin: 0;
    padding: 80px 100px;
    width: 100%;
}

.wrapper.dark-background {
    background: #2B2A2B;
    color: #CCCCCC;
}

section {
    margin: 0 auto;
    max-width: 1496px;
    width: 100%;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.flex-container img {
    aspect-ratio: unset;
    border-radius: 10px;
    margin-bottom: 14px;
}

.container {
    flex-grow: 1;
    width: 48%;
}

.artwork-container img {
    flex-grow: 1;
    width: 32%;
}

.left {
    border: none !important;
    float: left;
    width: 50%;
}

.right {
    border: none !important;
    float: right;
    width: 50%;
}

.project-title {
    margin-bottom: 50px;
}

/*/////IMAGES/////*/

img {
    aspect-ratio: 3 / 1;
    border: none;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
    width: 100%;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

.wrapper.dark-background img {
    opacity: 0.9;
}

/*/////BUTTONS/////*/

.button {
    color: #72A2E1;
    float: left;
    font-family: 'poppins', sans-serif;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

.button:hover {
    cursor: pointer;
    opacity: 0.9;
    text-decoration: underline;
}

/*/////HERO BANNER/////*/

.hero-banner {
    display: inline-block;
    width: 100%;

    .banner-left {
        float: left;
        margin-top: 50px;
        width: 80%;

        h1 {
            font-family: 'Alumni Sans Pinstripe', sans-serif;
            font-size: 150px;
            font-weight: 200;
            line-height: .5;
        }

        h2 {
            color: #72A2E1;
            font-family: 'Agdasima', sans-serif;
            font-size: 200px;
            line-height: 1;
        }

        h3 {
            font-family: 'Alumni Sans Pinstripe', sans-serif;
            font-weight: 200;
            line-height: .2;
        }

        h4 {
            font-family: 'Agdasima', sans-serif;
        }
    }
}

/*/////CONTACT INFORMATION/////*/

.contact-information {
        display: block;
        margin-top: 250px;
}

.contact-information h4 {
    color: #72A2E1;
    font-size: 30px;
}

.contact-information p {
    margin: 0;
}

/*/////NAVIGATION/////*/

nav {
    float: right;
    width: 20%;
}

nav h2 {
    color: #72A2E1;
    font-family: 'Agdasima', sans-serif;
    font-size: 50px;
    margin-bottom: 20px;
}

nav a {
    color: #CCCCCC;
    display: block;
    font-family: 'Alumni Sans Pinstripe', sans-serif;
    font-size: 50px;
    margin-bottom: 20px;
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

nav.back-button {
    position: absolute;
    right: 50px;
    top: 50px;
}

/*/////HEADER/////*/

.header {
    h1 {
        font-family: 'Alumni Sans Pinstripe', sans-serif;
        font-size: 100px;
        font-weight: 100;
    }

    h2 {
        font-size: 50px;
        margin-bottom: 40px;
    }

    p {
        margin: 0;
    }

    .button {
        border: 2px solid #72A2E1;
        border-radius: 5px;
        float: right;
        padding: 8px 15px 15px 15px;
    }
    
    .button:hover {
        background-color: #343334;
        text-decoration: none;
    }
}

/*/////FOOTER/////*/

.footer nav {
    display: block;
    margin: 0 auto;
}

/* Medium devices (1300px and below) */
@media only screen and (max-width: 1300px) {

    nav h2, nav a {
        font-size: 40px;
    }

}

/* Medium devices (landscape tablets, 1000px and below) */
@media only screen and (max-width: 1000px) {

    .header h1 {
        font-size: 50px;
    }

    .hero-banner .banner-left {
        width: 70%;

        h1 {
            font-size: 80px;
        }

        h2 {
            font-size: 120px;
        }
    }

    .hero-banner nav {
        width: 30%;
    }

    nav h2, nav a {
        font-size: 30px;
    }

    .left, .right {
        width: 100%;
    }

    .button {
        padding: 5px 10px;
        width: auto;
    }

    .contact-information {
        margin-top: 150px;;
    }

    section {
        margin-bottom: 20px;
    }
}

/* Medium devices (landscape tablets, 700px and below) */
@media only screen and (max-width: 700px) {

    .header h1 {
        font-size: 30px;
    }

    .header h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .header .button {
        border: 1px solid #72A2E1;
        padding: 0 5px 5px 5px;
        right: 0;
        top: 0;
    }

    .wrapper {
        padding: 20px;
    }

    .hero-banner {
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero-banner .banner-left {
        width: 65%;

        h1 {
            font-size: 30px;
        }

        h2 {
            font-size: 70px;
        }

        h3 {
            font-size: 16px;
        }
    }

    .hero-banner nav {
        width: 35%;
    }

    nav h2, nav a {
        font-size: 18px;
    }

    .contact-information {
        margin-top: 100px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 20px;
    }

    p, ul, li {
        font-size: 30px;
    }

}

/* Small devices (500px and below) */
@media only screen and (max-width: 500px) {

    .header h1 {
        width: 70%;
    }

    .hero-banner .banner-left {
        margin: 0;
        width: 100%;

        h1 {
            font-size: 14vw;
        }

        h2 {
            font-size: 19vw;
        }

        h3 {
            font-size: 5vw;
        }

        h4 {
            font-size: 20px;
        }
    }
    .contact-information {
        margin: 30px 0;
    }

    .hero-banner nav {
        width: 100%;
    }

    .container {
        width: 100%;
    }

    .flex-container img {
        width: 100%;
    }

    h1 {
        font-size: 26px;
    }

    p, ul, li {
        font-size: 20px;
    }

    .button {
        font-size: 16px;
        padding: 0;
    }

}