/* google fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* variables */
:root {
    --clr-white: #FFFFFF;
    --clr-black: #000000;
    --clr-gray: #202020;
    --clr-gray-darker: #1F1C1C;
    --clr-gold: #EBAF34;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--clr-black);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 118px;
}

ul {
    list-style-type: none;
}

a {
    text-decoration: none;
}

img:not(.nav-logo, .footer-logo) {
    width: 100%;
    display: block;
}

.container {
    width: 100%;
    margin: 0 auto;
    max-width: 1170px;
}

.section-title {
    text-transform: uppercase;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3.125rem;
}

@media screen and (min-width:744px) {
    .section-title {
        font-size: 2.25rem;
    }
}

@media screen and (min-width:992px) {
    .section-title {
        font-size: 3rem;
    }
}

/* navigation */
.line {
    width: 40px;
    height: 4px;
    display: block;
    margin: 8px auto;
    background-color: var(--clr-black);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-toggle {
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
}

.nav-toggle:hover .line {
    background-color: var(--clr-gold);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--clr-white);
    z-index: 2;
}

.shadow-nav {
    width: 100%;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.2),
        0 4px 6px -4px rgb(0 0 0 / 0.2);
}

.nav-center {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
}

.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.125rem 1rem;
}

.nav-link {
    display: block;
    padding: 1rem 1rem;
    text-transform: capitalize;
    transition: all 0.3s ease;
    color: var(--clr-black);
    font-weight: 500;
}

.nav-links {
    background-color: var(--clr-white);
    transition: all 0.3s ease;
    height: 0;
    overflow: hidden;
}

.nav-link:hover {
    color: var(--clr-gold);
}

.nav-logo {
    width: 8rem;
}

.nav-toggle.is-active .line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.nav-toggle.is-active .line:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
}

.nav-toggle.nav-toggle.is-active .line:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
}

.show-links {
    height: 208px;
    border-top: 1px solid #505f6b;
}

/* navigation for larger screens */
@media screen and (min-width: 992px) {
    .nav-toggle {
        display: none;
    }

    .nav-center {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-links {
        height: auto;
        display: flex;
        background-color: transparent;
    }

    /* .nav-logo {
        width: 100%;
    } */

    .nav-header {
        padding: 0 1rem;
    }

    .nav-link {
        padding: 0 0rem;
        margin-left: 2rem;
    }

    .navbar {
        padding: 1.125rem 1rem;
    }
}

/* hero */
.hero {
    display: flex;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    background-color: var(--clr-black);
    color: var(--clr-white);
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url(../assets/images/dylan-mcleod-VRdZBLqnoMU-unsplash.jpg);
    background-size: cover;
    background-position: center;
}

.hero-banner {
    text-align: center;
}

.hero-banner h1 {
    text-transform: uppercase;
    font-size: 2rem;
    margin-bottom: 0.625rem;
}

.hero-banner p {
    font-size: 1.25rem;
    line-height: 1.5;
    max-width: 22rem;
    margin: 0 auto;
    text-transform: capitalize;
}

/* hero styling for tablet screens */
@media screen and (min-width: 744px) {
    .hero-banner h1 {
        font-size: 2.25rem;
    }

    .hero-banner p {
        max-width: 35rem;
    }
}

/* hero styling for desktop screens */
@media screen and (min-width: 992px) {
    .hero-banner h1 {
        font-size: 3rem;
    }

    .hero-banner p {
        max-width: 42.5rem;
    }
}

/* about section */
.about-section {
    padding: 3.125rem 1rem;
    background-color: var(--clr-white);
}

.about-photo {
    border-radius: 0.3125rem;
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.25);
    margin-bottom: 1.875rem;
}

.about-info {
    text-align: center;
    line-height: 1.5;
}

.about-info span {
    font-weight: 700;
}

.about-info p {
    margin-bottom: 1.5rem;
}

.about-info p:last-of-type {
    margin-bottom: 0;
}

/* about section styling desktop */
@media screen and (min-width:992px) {
    .about-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .about-img {
        flex: 0 0 calc(50% - 2rem);
        order: 2;
    }

    .about-info {
        flex: 0 0 calc(50% - 2rem);
        text-align: left;
        order: 1;
    }

    .about-photo {
        margin-bottom: 0;
        height: 100%;
        object-fit: cover;
    }
}

/* artist section */
.artist-section {
    padding: 3.125rem 1rem;
    background: #F5F5F5;
}

.artist-photo {
    border-radius: 0.3125rem;
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.25);
    margin-bottom: 1.875rem;
}

.artist-info {
    text-align: center;
}

.artist-info h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.artist-info p {
    line-height: 1.5;
    margin-bottom: 1.5rem
}

.social-link {
    font-size: 3.25rem;
    color: var(--clr-black);
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--clr-gold);
}

.social-links-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

/* artist section styling larger screens */
@media screen and (min-width:744px) {
    .artist-info h2 {
        font-size: 2.25rem;
    }
}

@media screen and (min-width:992px) {
    .artist-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .artist-info {
        flex: 0 0 calc(50% - 2rem);
        text-align: left;
    }

    .artist-img {
        flex: 0 0 calc(50% - 2rem);
    }

    .artist-photo {
        margin-bottom: 0;
    }
}

/* contact section */
.contact-section {
    padding: 3.125rem 1rem;
    background-color: var(--clr-black);
    color: var(--clr-white);
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.69), rgba(0, 0, 0, 0.69)), url(../assets/images/yassine-khalfalli-rpAUDvI47ZY-unsplash.jpg);
    background-size: cover;
    background-position: center;
}

.contact-form {
    background-color: var(--clr-gray);
    border-radius: 0.3125rem;
    padding: 3.125rem 1.25rem;
}

.user-box {
    position: relative;
}

.user-box input {
    width: 100%;
    background-color: var(--clr-gray-darker);
    border: none;
    height: 55px;
    border-radius: 0.3125rem;
    margin-bottom: 1.5625rem;
    outline: none;
    padding: 0 1.5625rem;
    color: var(--clr-white);
    font-size: 1.25rem;
}

.user-box textarea {
    width: 100%;
    resize: none;
    background-color: var(--clr-gray-darker);
    border: none;
    border-radius: 0.3125rem;
    height: 250px;
    margin-bottom: 1.5625rem;
    outline: none;
    padding: 0.8125rem 1.5625rem;
    font-size: 1.25rem;
    color: var(--clr-white);
    font-family: inherit;
}

.user-box label {
    text-transform: capitalize;
    font-size: 1.25rem;
    position: absolute;
    left: 0;
    top: 13px;
    left: 1.5625rem;
}

.contact-btn {
    text-align: center;
    width: 100%;
    font-size: 1.25rem;
    text-transform: capitalize;
    color: var(--clr-white);
    background-color: var(--clr-gold);
    border: none;
    border-radius: 0.3125rem;
    padding: 0.8125rem 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-btn:hover {
    background-color: #d4962a;
}

input:focus~label {
    display: none;
}

textarea:focus~label {
    display: none;
}

.user-input:valid~label {
    display: none;
}

/* contact form styling larger screens */
@media screen and (min-width:744px) {
    .input-container {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
    }

    .user-box {
        flex: 1 1 50%;
    }
}

@media screen and (min-width: 992px) {
    .contact-form {
        padding-left: 2.8125rem;
        padding-right: 2.8125rem;
        max-width: 970px;
        margin: 0 auto;
    }

    .input-container {
        gap: 2rem;
    }
}

/* footer styling */
.footer {
    background-color: var(--clr-white);
    padding: 3.125rem 1rem;
}

.footer-logo {
    width: 8rem;
    margin: 0 auto;
    display: block;
    margin-bottom: 3.125rem;
}

.footer-links {
    text-align: center;
    text-transform: capitalize;
}

.footer-link {
    color: var(--clr-black);
    transition: all 0.3s ease;
}

.footer-links li {
    margin-bottom: 1.875rem;
}

.footer-link:hover {
    color: var(--clr-gold);
}

.divider hr {
    height: 1px;
    border: none;
    background-color: #E1E1E1;
    margin-top: 3.125rem;
    margin-bottom: 3.125rem;
}

.copyright {
    text-align: center;
    text-transform: capitalize;
}

/* footer styling larger screens */
@media screen and (min-width: 992px) {
    .footer-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .footer-logo {
        margin: 0 0;
        width: 131px;
    }

    .footer-links {
        display: flex;
    }

    .footer-link {
        margin-left: 2rem;
    }
}