:root {
    --Dark-Blue:    hsl(240, 38%, 20%);
    --Grayish-Blue: hsl(240, 18%, 77%);
}

@font-face {
    font-family: Inter;
    src: url(../fonts/static/Inter_18pt-Regular.ttf);
}

@font-face {
    font-family: Inter-Bold;
    src: url(../fonts/static/Inter_18pt-Bold.ttf);
}

@font-face {
    font-family: Inter-Light;
    src: url(../fonts/static/Inter_18pt-Light.ttf);
}

body {
   height: 100vh;
   font-family: Inter;
   background-image: url(../images/pattern-bg.svg), url(../images/pattern-curve.svg);
   background-size: contain, 55%;
   background-repeat: no-repeat;
   background-position: right, bottom left;
}

/* ***** Container ***** */
.attribution, .attribution a {
    text-align: center;
    font-size: 12px;
    font-family: Inter-Bold;
    color: var(--Dark-Blue);
    transition: color 0.3s ease;
}

.attribution a:hover {
    color: crimson;
}
/* ***** John ***** */
#john-container {
    display: none;
}

.arrowLeft, .arrowRight {
    cursor: pointer;
}
/* ***** Container ***** */
.container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.left {
    background-image: url(../images/pattern-curve.svg);
    background-repeat: no-repeat;
    background-position: bottom left;
    width: 65%;
    z-index: 1;
    transform: translateX(10%);
}

.right {
    z-index: 0;
    width: 50%;
    transform: translateX(-20%);
}

.left, .right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    height: 100%;
    /* width: 50%; */
    margin-left: 10rem;
    overflow: visible;
}

.names {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.left p {
    font-size: 40px;
    color: var(--Dark-Blue);
    font-family: Inter-Light;
    text-align: left;
    overflow: visible;
    z-index: 1;
}

.text {
    background-image: url(../images/pattern-quotes.svg);
    background-repeat: no-repeat;
    background-position: top left;
}

.names h1 {
    font-family: Inter-Bold;
    font-size: 18px;
    color: var(--Dark-Blue);
    text-align: left;
}

.names h2 {
    font-family: Inter-Light;
    font-size: 18px;
    color: var(--Grayish-Blue);
    text-align: left;
}

.picture {
    z-index: 0;
    border-radius: 7.5px;
}

.button {
    width: 100px;
    height: 45px;
    border-radius: 35px;
    background-color: rgb(248, 248, 248);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    gap: 15px;
    transform: translateY(-1.3rem) translateX(4.5rem);
}

@media (min-width: 350px) and (max-width: 750px) {
    .container {
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: auto;
    }

    .picture {
        width: calc(540px / 1.5);
        height: calc(540px / 1.5);
        margin: 0 auto;
        border-radius: 7.5px;
    }

    .left, .right {
        width: 70%;
        height: auto;
        margin: 0 auto;
        transform: none;
    }

    body {
        background-image: none;
    }

    .right {
        background-image: url(../images/pattern-bg.svg);
        background-size: contain;
        background-repeat: no-repeat;
    }

    .left {
        background-image: none;
    }

    .text {
        margin: 0 auto;
        background-position: top center;
    }

    .left p {
        font-size: 30px;
    }

    .names h1, .names h2 {
        font-size: 16px;
    }

    .button {
        width: 80px;
        height: 40px;
        transform: translateX(0.1rem) translateY(-1.4rem);
        margin: 0 auto;
    }

    .attribution {
        margin-top: 5rem;
    }
}