@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&family=Raleway:ital,wght@0,400;0,500;1,400&display=swap');

* {
    --color-blue: #054C7F;
    --color-brown: #7F3805;
    font-family: Raleway, sans-serif;
    font-weight: 500;
    font-size: clamp(1rem, 0.8824rem + 0.5882vw, 1.25rem);
}

html {
    scroll-behavior: smooth;
}
/* || Defaults */

h1 {
    font-family: Montserrat, serif;
    font-weight: 500;
    font-size: clamp(1.5rem, 1.0294rem + 2.3529vw, 2.5rem);
    margin: 0;
}

h2 {
    font-family: Montserrat, serif;
    font-weight: 700;
    font-size: clamp(1.75rem, 1.1618rem + 2.9412vw, 3rem);
    text-align: center;
}

h3 {
    font-family: Montserrat, serif;
    font-weight: 600;
    font-size: clamp(1.25rem, 0.8971rem + 1.7647vw, 2rem);
    text-align: center;
    margin: 0;
}

p {
    text-align: center;
}

/* || Utilities */

.container {
    margin: 0 auto;
    max-width: 1700px;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

button.cta {
    background-color: var(--color-blue);
    width: fit-content;
    min-width: 150px;
    border: none;
    color: white;
    padding: 25px;
    border-radius: 50px;
    cursor: pointer;
}

button.cta:hover {
    background-color: #0769B0;
}

.two-col > *  {
    margin: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2vw;
} 

.brown-circle {
    background-color: var(--color-brown);
    opacity: 10%;
}

@media screen and (max-width: 1000px) {
    .two-col {
        grid-template-columns: 1fr;
        margin: 0;
    }

    .two-col > * {
        margin: 0 1vw;
    }

    h2 {
        margin: 0;
        padding-bottom: 0.5rem;
        padding-top: 1.5rem;
    }
}

/* || Header */

header {
    padding: 1rem 0;
}

header > .container {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

#logo {
    display: flex;
    align-items: center;
    gap: 5vw;
}

#logo > img {
    width: min(108px, 10vw);
}

#header-socials .icon, #footer-socials .icon {
    width: 90px;
}

#header-socials .icon:hover {
    filter: contrast(50%);
}

#header-socials, #footer-socials {
    display: flex;
    flex-direction: row;
    gap: 3rem;
}

@media screen and (max-width: 1000px) {
    header > .container {
        flex-direction: column;
        gap: 1rem;
        position: relative;
    }

    #header-socials {
        position: absolute;
        top: 10vw;
        right: 5vw;
        gap: 1rem;
        justify-content: end;
    }

    #header-socials .icon, #footer-socials .icon {
        width: 10vw;
    }

    header {
        margin-bottom: 1rem;
    }
}

/* || Homepage */

#hero img {
    width: min(650px, 90vw);
}

#biography img {
    width: min(500px, 90vw);
}

#ensembles .icon {
    width: 64px;
}
#fmq-image {
    width: min(90vw, 500px);
}
#fmq-socials {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
}

#fmq-socials .icon:hover {
    filter: contrast(50%);
}

#teaching img {
    width: min(480px, 90vw)
}

@media screen and (max-width: 1000px) {
    #ensembles .icon {
        width: 7vw;
    }
}

/* || Footer */

footer {
    background: linear-gradient(to bottom, #ffffff 0%, #054c7f 100%);
}

#contact .icon {
    width: 95px;
}

#contact .icon:hover {
    filter: contrast(50%);
}

#contact-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 1rem;
}

#contact-grid > a {
    width: min(500px, 90vw);
    display: grid;
    grid-template-columns: 1fr 3fr;
    text-decoration: none;
    place-items: center;
}

#contact-grid p {
    text-align: center;
    line-height: 100%;
    color: black;
    height: min-content;
}

#footer {
    margin-top: 5vw;
}

#footer > div {
    display: flex;
    justify-content: center;
    gap: 20vw;
}

#footer-links {
    list-style: none;
    align-items: flex-start;
    padding-left: 0;
    gap: 1rem;
}

#footer-links a {
    color: white;
    text-decoration: none;  
}

#footer-socials .icon {
    filter: invert(100%);
}

#footer-socials .icon:hover {
    filter: invert(80%);
}

#footer > p {
    margin: 0;
    padding: 1rem 0;
    color: white;
}

@media screen and (max-width: 1000px) { 
    #contact .icon {
        width: min(15vw, 95px);
    }
}