/* ======================================= GOOGLE FONTS ======================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

/* ======================================= VARIABLES CSS ======================================= */
:root {
    --header-height: 3rem;

    /* ======================================= COLORS ======================================= */
    /*Purple 250 - Green 142 - Blue 230 - Pink 340*/
    --hue-color: 142;

    --first-color: hsl(var(--hue-color), 69%, 61%);
    --first-color-second: hsl(var(--hue-color), 69%, 61%);
    --first-color-alt: hsl(var(--hue-color), 57%, 53%);
    --first-color-lighter: hsl(var(--hue-color), 92%, 85%);
    --first-color-lighter-dark: hsl(var(--hue-color), 8%, 15%);
    --title-color: hsl(var(--hue-color), 8%, 15%);
    --text-color: hsl(var(--hue-color), 8%, 45%);
    --text-color-light: hsl(var(--hue-color), 8%, 65%);
    --input-color: hsl(var(--hue-color), 70%, 96%);
    --body-color: hsl(var(--hue-color), 60%, 99%);
    --container-color: white;
    --white-color: var(--container-color);
    --black-color: black;
    --scroll-bar-color: hsl(var(--hue-color), 12%, 90%);
    --scroll-bar-thumb-color: hsl(var(--hue-color), 42%, 40%);
    --container-color: white;
    --white-color: var(--container-color);
    --black-color: black;

    /* ======================================= FONT & TYPORGRAPHY ======================================= */
    --body-font: 'Poppins', sans-serif;

    --biggest-font-size: 4rem;
    --bigger-font-size: 3rem;
    --big-font-size: 2rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1.125rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;

    /* ======================================= Z INDEX ======================================= */
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;
}

/* ======================================= FONT SIZE FOR LARGER SCREENS ======================================= */
@media screen and (min-width: 968px) {
    :root {
        --biggest-font-size: 5rem;
        --bigger-font-size: 4rem;
        --big-font-size: 3rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
        --smaller-font-size: .813rem;
    }
}

/* ======================================= BASE ======================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: var(--header-height) 0 0 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
    -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4 {
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

button,
input,
textarea {
    all: unset;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--white-color);
    transition: background-color 5000s ease-in-out 0s;
}

/* ======================================= REUSABLE CSS CLASSES ======================================= */
.section {
    padding: 2rem 0 4rem;
}

.section__title {
    font-size: var(--h1-font-size);
    font-weight: 600;
}

.section__subtitle {
    display: block;
    font-size: var(--small-font-size);
    margin-bottom: 3rem;
}

.section__title, .section__subtitle {
    text-align: center;
}

.container {
    max-width: 1024px;
    width: calc(100% - 3rem);
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.grid {
    display: -ms-grid;
    display: grid;
    gap: 1.5rem;
}

main {
    margin-top: calc(var(--header-height) * -1);
}

/* ======================================= NAV ======================================= */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    background-color: transparent;
}

.nav {
    height: var(--header-height);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.nav__logo, .nav__toggle {
    color: var(--white-color);
}

.nav__logo {
    font-weight: var(--font-semi-bold);
}

.nav__toggle {
    font-size: 1.35rem;
    cursor: pointer;
}

.nav__menu {
    position: relative;
}

@media screen and (max-width: 767px) {
    .nav__menu {
        position: fixed;
        background-color: var(--body-color);
        top: 0;
        right: -100%;
        max-width: 350px;
        width: 70%;
        height: 100%;
        -webkit-box-shadow: -1px 0 4px rgba(14, 55, 63, 0.15);
        box-shadow: -1px 0 4px rgba(14, 55, 63, 0.15);
        padding: 3rem;
        -webkit-transition: .4s;
        -o-transition: .4s;
        transition: .4s;
    }
}

.nav__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    row-gap: 2.5rem;
}

.nav__link {
    color: var(--text-color-light);
    font-weight: var(--font-semi-bold);
    text-transform: uppercase;
}

.nav__link:hover {
    color: var(--text-color);
}

.nav__close {
    position: absolute;
    top: .75rem;
    right: 1rem;
    font-size: 1.5rem;
    color: var(--title-color);
    cursor: pointer;
}

/* ----------------------------------- SHOW MENU ----------------------------------- */
.show-menu {
    right: 0;
}

/* ----------------------------------- ACTIVE MENU LINK ----------------------------------- */
.active-link {
    position: relative;
    color: var(--title-color);
}

.active-link:hover {
    color: var(--title-color);
}

.active-link::before {
    content: '';
    position: absolute;
    background-color: var(--title-color);
    width: 100%;
    height: 2px;
    bottom: -.5rem;
    left: 0;
}

/* ----------------------------------- CHANGE BACKGROUND HEADER ----------------------------------- */
.scroll-header {
    background-color: var(--body-color);
    -webkit-box-shadow: 0 0 4px rgba(14, 55, 63, 0.15);
    box-shadow: 0 0 4px rgba(14, 55, 63, 0.15);
}

.scroll-header .nav__logo,
.scroll-header .nav__toggle {
    color: var(--title-color);
}

.active__header {
    background-color: var(--body-color) !important;
    -webkit-box-shadow: 0 0 4px rgba(14, 55, 63, 0.15) !important;
    box-shadow: 0 0 4px rgba(14, 55, 63, 0.15) !important;
}

.active__header .nav__logo,
.active__header .nav__link,
.active__header .nav__toggle {
    color: var(--title-color) !important;
}

/* ======================================= HOME ======================================= */
.home {
    height: 100vh;
    position: relative;
}

.home__bg {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
}

.home::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgb(0, 0, 0);
    background: -moz-linear-gradient(180deg, hsla(0, 0%, 0%, .7) 0%, #00000000 35%);
    background: -webkit-linear-gradient(180deg, hsla(0, 0%, 0%, .7) 0%, #00000000 35%);
    background: linear-gradient(180deg, hsla(0, 0%, 0%, .7) 0%, #00000000 35%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000", endColorstr="#000000", GradientType=1);
    z-index: var(--z-fixed);
}

.swiper-button-next .swiper-portfolio-icon {
    margin-left: 3.5px;
}

.swiper-button-prev .swiper-portfolio-icon {
    margin-left: -1px;
}

.swiper-button-prev, .swiper-button-next {
    background-color: rgba(255, 255, 255, .5);
    box-shadow: black 0px 0px 30px -15px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.swiper-button-prev::after, .swiper-button-next::after {
    content: '';
}

.swiper-portfolio-icon {
    font-size: 2.4rem;
    color: var(--black-color);
}

.swiper-container-horizontal>.swiper-pagination-bullets {
    bottom: -2.5rem;
}

.swiper-pagination-bullet {
    background-color: var(--first-color-lighter-dark);
}

.swiper-pagination-bullet-active {
    background-color: var(--first-color);
}

.swiper-button-prev, .swiper-button-next, .swiper-pagination-bullet {
    outline: none;
}

/* ======================================= SONGS ======================================= */
.songs__container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    row-gap: 2rem;
    justify-items: center;
    align-items: center;
}

.songs__card {
    position: relative;
    overflow: hidden !important;
    border-radius: .25rem;
    -webkit-border-radius: .25rem;
    -moz-border-radius: .25rem;
    -ms-border-radius: .25rem;
    -o-border-radius: .25rem;
}

.songs__card:hover .songs__img {
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
}

.songs__img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    border-radius: .25rem;
    -webkit-border-radius: .25rem;
    -moz-border-radius: .25rem;
    -ms-border-radius: .25rem;
    -o-border-radius: .25rem;
    transition: .3s;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -ms-transition: .3s;
    -o-transition: .3s;
}

/* ======================================= SPOTIFY ======================================= */
.spotify {
    padding: 5rem 0 !important;
    margin: 5rem 0;
    background: url(../images/spotify_img.jpg);
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

.spotify .section__title,
.spotify .section__subtitle {
    color: var(--white-color) !important;
}

/* ======================================= YOUTUBE ======================================= */
.youtube__container iframe {
    min-height: 300px;
}

/* =======================================  ======================================= */
/* ======================================= FOOTER ======================================= */
.footer__rights {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    row-gap: 1.5rem;
    text-align: center;
}

.footer__terms {
    display: flex;
    column-gap: 1rem;
}

.footer__terms-link {
    color: var(--text-color);
}

.footer__terms-link:hover {
    text-decoration: underline;
}

/* ======================================= SCROLL UP ======================================= */
.scrollup {
    position: fixed;
    right: 1rem;
    bottom: -20%;
    background-color: var(--first-color);
    opacity: .8;
    padding: 0 .3rem;
    border-radius: .4rem;
    z-index: var(--z-tooltip);
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
}

.scrollup:hover {
    background-color: var(--first-color-alt);
}

.scrollup__icon {
    font-size: 1.5rem;
    color: var(--white-color);
}

/* ----------------------------------- SHOW SCROLL ----------------------------------- */
.show-scroll {
    bottom: 5rem;
}

/* ======================================= SCROLL BAR ======================================= */
::-webkit-scrollbar {
    width: .6rem;
}

::-webkit-scrollbar-thumb {
    background: var(--first-color);
    background-repeat: no-repeat;
    border-radius: .5rem;
}

::-webkit-scrollbar-track {
    background: var(--body-color);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--first-color-alt);
}

/* ======================================= MEDIA QUERIES ======================================= */
@media screen and (min-width: 568px) {
    .songs__card {
        height: 260px;
    }
}

@media screen and (min-width: 768px) {
    body {
        margin: 0;
    }

    .section {
        padding: 7rem 0 2rem;
    }

    .nav {
        height: calc(var(--header-height) + 1.5rem);
    }

    .nav__link {
        color: var(--white-color);
        text-transform: initial;
    }

    .nav__link:hover {
        color: var(--white-color);
    }

    .nav__dark {
        position: initial;
    }

    .nav__menu {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-column-gap: 1rem;
        -moz-column-gap: 1rem;
        column-gap: 1rem;
    }

    .nav__list {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-column-gap: 4rem;
        -moz-column-gap: 4rem;
        column-gap: 4rem;
    }

    .nav__toggle, .nav__close {
        display: none;
    }

    .change-theme-name {
        display: none;
    }

    .change-theme {
        color: var(--white-color);
    }

    .active__header .active-link::before {
        background-color: var(--title-color) !important;
    }

    .active-link::before {
        background-color: var(--white-color);
    }

    .scroll-header .nav__link {
        color: var(--text-color);
    }

    .scroll-header .active-link {
        color: var(--title-color);
    }

    .scroll-header .active-link::before {
        background-color: var(--title-color);
    }

    .scroll-header .change-theme {
        color: var(--text-color);
    }

    .swiper-slide-thumb-active {
        width: 55px;
        height: 55px;
    }

    .footer__rights {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
}

@media screen and (min-width: 1024px) {
    .container {
        margin-left: auto;
        margin-right: auto;
    }

    .footer__content {
        justify-items: center;
    }
}

@media screen and (min-width: 1200px) {
    .container {
        max-width: 1024px;
    }
}

/* FOR TALL SCREENS ON MOBILES & DESKTOP */
@media screen and (min-height: 721px) {
    .home {
        /* height: 640px; */
        height: 100vh;
    }
}

/* ----------------------------------- IF(DEVICE.SUPPORTS === HOVER) return ----------------------------------- */
@media screen and (hover) {
    .card__content {
        transform: translateY(70%);
        -webkit-transform: translateY(70%);
        -moz-transform: translateY(70%);
        -ms-transform: translateY(70%);
        -o-transform: translateY(70%);
        transition: transform .5s ease-in-out;
        -webkit-transition: transform .5s ease-in-out;
        -moz-transition: transform .5s ease-in-out;
        -ms-transition: transform .5s ease-in-out;
        -o-transition: transform .5s ease-in-out;
    }
}

@media screen and (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
        transition-delay: 0s !important;
    }
}