/* root vairables */

:root {
    --primary-color: #1A0B2E;
    --secondary-color: #FFFFFF;
    --third-color: #00FF88;
    --fourth-color: #533C72;
    --fifth-color: #250D44;
    --sixth-color: #230E3D;

    --fs-big: 3.75rem;
    --fs-semi-medium: 2.25rem;
    --fs-medium: 3rem;
    --fs-small: 1.5rem;
    --fs-primary: 1rem;

    --fw-extra-bold: 800;
    --fw-semi-bold: 600;
    --fw-bold: 700;
    --fw-medium: 500;
}

.hidden {
    display: none !important;
}

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

/* custom designs */

.inter-font {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
}

/* shared design */

.display-flex {
    display: flex;
}

.flex-center {
    justify-content: center;
    align-items: center;
}

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

.wave {
    background: linear-gradient(15deg, #F7E93F 0%, #FB09B4 51%, #9100F8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mx-auto {
    margin: 0 auto;
}

.btn {
    gap: 6px;
    font-size: var(--fs-primary);
    font-weight: var(--fw-semi-bold);
    border: none;
    padding: 0.8125rem 1rem;
    border-radius: 10000px;
    color: var(--secondary-color);
    background: linear-gradient(30deg, #F7E93F 20%, #FB09B4 51%, #9100F8 100%);
    cursor: pointer;
}

.btn-group {
    margin: 0 auto;
}

.btn-subscribe {
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    font-size: var(--fs-primary);
    font-weight: normal;
    border: 1px solid var(--third-color);
    color: var(--third-color);
    padding: 12px 20px;
}

.message-btn-img {
    width: 20px;
}

img {
    width: 100%;
}

.section-title {
    color: var(--secondary-color);
    font-size: var(--fs-medium);
    font-weight: var(--fw-bold);
    /* border: 1px solid red; */
    width: 75%;
    max-width: 1200px;
    text-align: center;
    margin: 0 auto 2.5rem;
}

.section-subtitle {
    color: var(--secondary-color);
    font-size: var(--fs-primary);
    opacity: 80%;
    line-height: 40px;
    margin-bottom: 5rem;
}



/* main design */

.header {
    background-color: var(--primary-color);
    padding: 1.875rem 0;
}

.ham-burger {
    display: none;
}

.navbar {
    width: 75%;
    max-width: 1200px;
    gap: 19rem;
}

.brand {
    font-size: var(--fs-semi-medium);
    font-weight: var(--fw-bold);
}

.tech {
    color: var(--secondary-color);
}

.nav-links {
    list-style-type: none;
    gap: 2rem;
}

.nav-items a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: var(--fw-medium);
}

/* hero section */

.hero-container {
    background-image: url("./assets/hero-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    /* min-height: 90vh; */
    padding: 6.25rem 32rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 40rem;
    margin: 0 auto;
    /* border: 1px solid red; */
}

.mic-icon {
    width: 22rem;
    text-align: center;
    margin: auto;
    position: relative;
    /* top: 0.4rem; */
    /* border: 1px solid red; */
}

.badge-new {
    color: var(--primary-color);
    font-size: var(--fs-primary);
    font-weight: var(--fw-semi-bold);
    background-color: var(--third-color);
    padding: 0.5rem 1rem;
    border-radius: 1000px;
    box-shadow: 0 3px 27px 0 rgba(0, 255, 136, 0.5);
    z-index: 1;
    position: absolute;
    left: 75%;
    top: 5%;
}

.microphone {
    max-width: 7.1875rem;
    position: absolute;
    left: 34%;
    top: 27%;
    z-index: 1;
}

.hero-description {
    /* border: 1px solid red; */
    text-align: center;
}

.hero-title {
    font-size: var(--fs-big);
    color: var(--secondary-color);
    font-weight: var(--fw-bold);
    margin-top: 40px;
    margin-bottom: 8px;
}

.hero-subtitle {
    color: var(--secondary-color);
    font-size: var(--fs-primary);
    margin-bottom: 1.5rem;
    opacity: 80%;
}

.btn-group {
    gap: 0.5rem;
}

/* about section */

.about {
    background-color: var(--primary-color);
    padding: 3.125rem 12.5rem;
}

.about-container {
    width: 75%;
    max-width: 1200px;
    /* border: 1px solid red; */
    margin: 0 auto;
}

.section-heading {
    text-align: center;
    /* border: 1px solid red; */
}

.about-section-title {
    margin-bottom: 1rem;
}


.cards-container {
    width: 100%;
    max-width: 1600px;
    /* border: 1px solid red; */
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5rem;
    border-top: 1px solid hsla(0, 0%, 35%, 0.63);
    padding: 5rem 7.5rem;
}

.cards {
    text-align: center;
}

.cards h2 {
    color: var(--third-color);
    font-size: var(--fs-medium);
    margin-bottom: 1rem;
}

.cards p {
    color: var(--secondary-color);
    font-size: var(--fs-primary);
    line-height: 1.25rem;
    opacity: 80%;
}

/* why choose section */

.why {
    background-color: var(--sixth-color);
    padding: 7.5rem 0;
}

.why-cards img {
    max-width: 3.125rem;
    margin-top: 3.5rem;
}

.why-cards-container {
    width: 75%;
    max-width: 1200px;
    /* border: 1px solid red; */
    margin: 0 auto;
    display: grid;
    grid-template-areas:
        "headphone  mobile  mobile"
        "headphone  globe  globe"
        "zap        zap    book";

    gap: 1.875rem;
}

#headphone {
    padding-top: 5rem;
    grid-area: headphone;
}

#mobile {
    grid-area: mobile;
    padding-bottom: 3rem;
}

#globe {
    padding-bottom: 3rem;
    grid-area: globe;
}

#zap {
    padding-bottom: 3rem;
    grid-area: zap;
}

#book {
    padding-bottom: 3rem;
    grid-area: book;
}

.why-cards {
    background-color: rgba(53, 17, 101, 0.4);
    padding: 0 2.5rem;
    border-radius: 2.5rem;
    text-align: left;
}

.why-cards h3 {
    color: var(--secondary-color);
    font-size: var(--fs-small);
    font-weight: var(--fw-bold);
    margin: 1rem 0;
}

.why-cards p {
    color: var(--secondary-color);
    opacity: 50%;
    line-height: 1.5rem;
    font-size: var(--fs-primary);
    margin: 1rem 0;
}

/* feature designs */

.feature {
    background-color: var(--primary-color);
    padding: 7.5rem 0;
}

.feature-card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.875rem;
    width: 75%;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-cards {
    background-color: var(--fifth-color);
    width: 23.75rem;
    height: 27.5rem;
    border-radius: 1.5rem;
    /* border: 1px solid red; */
}

.feature-description {
    padding: 1.5rem;
    text-align: left;
}

.feature-description h3 {
    color: var(--secondary-color);
    font-size: var(--fs-small);
    font-weight: var(--fw-bold);
    margin-bottom: 0.75rem;
}

.feature-description p {
    color: var(--secondary-color);
    font-size: var(--fs-primary);
    line-height: 1.5rem;
    opacity: 60%;
}

.duration {
    color: var(--third-color);
    font-weight: var(--fw-semi-bold);
    font-size: var(--fs-primary);
    opacity: 100%;
}

.clock {
    margin-top: 0.75rem;
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 0.5rem;
}

/* host section */

.host {
    padding-bottom: 7.5rem;
    background-color: var(--primary-color);
}

.host-container {
    background-color: rgba(53, 17, 101, 0.4);
    width: 75%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem;
    border-radius: 1.5rem;
    gap: 1.5rem;
}

.host-img {
    width: 25rem;
}

.host-info h3 {
    color: var(--secondary-color);
    font-size: 2rem;
    font-weight: var(--fw-bold);
    margin-bottom: 1rem;
}

.host-info p {
    color: var(--secondary-color);
    font-size: var(--fs-primary);
    line-height: 1.5rem;
    opacity: 60%;
    margin-bottom: 1rem;
}

.host-socials {
    align-items: center;
    gap: 0.5rem;
}

.social-icons {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--fourth-color);
    border-radius: 50%;
}

.social-icons a {
    text-decoration: none;
}

/* footer designs */

footer {
    background-image: url("./assets/footer-bg.png");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
    padding: 7.5rem;
}

.footer-container {
    width: 85%;
    max-width: 1360px;
    margin: 0 auto;
    text-align: center;
}

.icon img {
    max-width: 20px;
}

.footer-title {
    font-size: var(--fs-big);
    font-weight: var(--fw-bold);
    margin-bottom: 2rem;
}

.footer-icon-container {
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icon a {
    text-decoration: none;
    font-size: var(--fs-primary);
    font-weight: var(--fw-medium);
    line-height: auto;
    color: var(--secondary-color);
    opacity: 60%;
}

.footer-container p {
    color: var(--secondary-color);
    font-size: var(--fs-primary);
    line-height: 1.5rem;
    color: var(--secondary-color);
    opacity: 60%;
}



@media screen and (max-width: 576px) {

    .navbar {
        width: 100%;
        max-width: 36rem;
        margin: 0 auto;
        padding: 0 1.25rem;
        justify-content: space-between;
        gap: 0;
        /* border: 1px solid red; */
    }

    .nav-links,
    .nav-btn {
        display: none;
    }

    .ham-burger {
        display: block;
        color: var(--secondary-color);
    }

    .hero-container {
        padding: 2.5rem 1.25rem;
        margin: 0 auto;
        max-width: 100%;
        text-align: center;
        overflow-x: hidden;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .hero-title {
        margin-top: 4rem;
    }

    .btn-group {
        flex-direction: row;
        gap: 0.5rem;
    }

    .brand {
        font-size: 1.5rem;
        font-weight: var(--fw-extra-bold);
    }

    .mic-icon {
        width: 200px;
        height: 200px;
        margin: auto;
        top: 2.8rem;
    }

    .microphone {
        width: 45px;
        left: 38%;
        top: 32%;
    }

    /* about section */

    .about {
        padding: 2rem;
    }

    .about-container {
        width: 100%;
    }

    .about-section-title {
        font-size: 2rem;
        font-weight: var(--fw-bold);
    }

    .cards-container {
        grid-template-columns: repeat(2, 1fr);
        padding: 4rem 1.25rem 2.5rem;
        gap: 2.5rem;
        border-top: 1px solid hsla(0, 0%, 35%, 0.63);
    }

    .section-subtitle {
        line-height: 20px;
    }

    .why {
        padding: 30px 0;
    }

    .why-cards {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .why-cards-container {
        grid-template-areas:
            "headphone"
            "mobile"
            "globe"
            "zap"
            "book";

        width: 100%;
        gap: 1rem;
    }

    #headphone {
        padding-top: 0;
    }

    .feature {
        padding: 2.5rem 1.25rem;
    }

    .feature-card-container {
        flex-direction: column;
        width: 100%;
    }

    .section-title {
        margin-bottom: 1rem;
    }

    .feature-cards {
        width: 90%;
    }

    /* host section */

    .host-title {
        margin-bottom: 2rem;
    }

    .host-container {
        flex-direction: column;
        text-align: center;
        width: 90%;
    }

    .host-img {
        max-width: 150px;
    }

    .host-socials {
        justify-content: center;
    }

    /* footer section */

    footer {
        background-size: 100% 100%;
        background-position: center;
    }

    .footer-title {
        font-size: 2.5rem;
    }

    .footer-container {
        width: 90%;
    }

    .footer-icon-container {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

}

/* animations */

.mic-icon {
    animation: musicGlow 3s ease-in-out infinite alternate;
}

@keyframes musicGlow {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 25px rgba(247, 233, 63, 0.6))
                drop-shadow(0 0 50px rgba(247, 9, 180, 0.5))
                drop-shadow(0 0 75px rgba(145, 0, 248, 0.4));
    }
    
    50% {
        transform: scale(1.04);
        filter: drop-shadow(0 0 40px rgba(247, 233, 63, 0.8))
                drop-shadow(0 0 70px rgba(247, 9, 180, 0.7))
                drop-shadow(0 0 100px rgba(145, 0, 248, 0.6));
    }
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(247, 233, 63, 0.4),
                0 8px 30px rgba(247, 9, 180, 0.3),
                0 8px 40px rgba(145, 0, 248, 0.2);
}

.btn-subscribe:hover {
    /* box-shadow: 0 0 0 0 #00FFC8; */
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 200, 0.4);
}

.social-icons:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(247, 233, 63, 0.4),
                0 8px 30px rgba(247, 9, 180, 0.3),
                0 8px 40px rgba(145, 0, 248, 0.2);
    cursor: pointer;
}

a:hover {
    color: #00FF88;
    transition: color .4s;
}