/* FONTS IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Amarante&family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');


/*  */
/* ROOT VARIABLES */
/*  */

:root {
    /* COLORS */
    --clr-primary: #DB94AB;
    --clr-secondary: #5FAFD0;
    --clr-tertiary: #ECBA74;
    --clr-bg: #333333;
    --clr-dark: #1D1D1D;
    --clr-light: #f6f6f6;
    --text-color: #000000;

    /* TEXT */
    --font-title: "Amarante";
    --font-aux: "Noto Sans";

    /* MISC */
    --border-size: .2rem;
}

/*  */
/* RESET CSS */
/*  */

* {
    column-gap: 2rem;
}

html,
body {
    padding: 0;
    margin: 0;
    height: 100%;
    box-sizing: border-box;
    border: none;
    scroll-behavior: smooth;
    /* overflow-x: hidden; */
}

/*  */
/* MAIN CSS */
/*  */

body {
    background-color: var(--clr-bg);
    color: var(--clr-dark);
    font-family: var(--font-aux);
    font-size: 16px;
}

footer {
    position: relative;
    background-color: var(--clr-primary);
    color: var(--clr-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 10vh;
    text-align: center;
    z-index: 9;
}

footer > .container {
    max-width: 300px;
    grid-template-columns: 1fr;
    /* display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; */
}

footer p {
    font-size: .7rem;
    line-height: 130%;
}

footer .h-line {
    background-color: var(--clr-dark);
    margin-bottom: 1rem;
}

section {
    position: relative;
    z-index: 9;
}

img {
    max-width: 100%;
}

button {
    border: var(--border-size) solid var(--clr-light);
    background-color: inherit;
    color: var(--clr-light);
    padding: .5rem .8rem;
    font-weight: bold;
    margin: .5rem .5rem 2rem 0;
    font-size: .8rem;
    cursor: pointer;
    transition: color .3s, border .3s;
}

button:hover {
    color: var(--clr-dark);
    border: var(--border-size) solid var(--clr-dark);
    /* border: var(--border-size) solid; */
}

/*  */

.fetchSVG {
    border: none;
    padding: .1rem;
}

.fetchSVG:hover {
    border: none;
}

button svg {
    fill: var(--clr-light);
    transition: fill .3s;
}

button svg:hover {
    fill: var(--clr-dark);
}

/*  */

iframe {
    height: 60vh;
    max-width: 960px;
}

a {
    text-decoration: none;
    color: inherit;
}

canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hide {
    display: none;
}

::-webkit-scrollbar {
    background: var(--clr-bg);
    /* width: .8rem; */
    /* height: .5rem; */
  }
  
  ::-webkit-scrollbar-thumb {
    background: #000;
    /* height: 1rem; */
  }
  
  ::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
  }


/* SHADER LIQUID */

.shader-liquid {
    display: flex;
    justify-content: center;
    background-color: var(--clr-primary);
    height: 100vh;
}

.shader-hero-container {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    /* text-align: center; */
    padding: 1rem;
    /* width: 100%; */
}

.shader-hero {
    font-family: var(--font-title);
    font-size: 4rem;
    line-height: 100%;
    text-align: center;
}



/*  */
/* MAIN CSS: HEADINGS AND PARAGRAPHS */
/*  */

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-title);
    font-weight: bold;
    margin: 0 0 2rem 0;
    color: var(--clr-dark);
}

h1,
h2 {
    text-transform: uppercase;
}

h1 {
    font-size: 3rem;
    line-height: 100%;
}

h2 {
    font-size: 3rem;
    line-height: 110%;
}

h3 {
    font-family: var(--font-aux);
    font-size: 1.2rem;
    line-height: 120%;
    margin-bottom: 1rem;
}

p {
    font-size: 1rem;
    line-height: 1.3rem;
    margin-bottom: 1rem;
    margin-top: 0;
}

small {
    font-size: 0.8rem;
    line-height: 0.8rem;
}

/*  */
/* BASIC CLASSES */
/*  */

.h-line {
    height: 2px;
    background-color: var(--clr-dark);
}

.img-fullwidth {
    min-width: 100%;
}

/* .div-fullheight {
    min-height: 100%;
} */

.sticky-block {
    position: sticky;
    top: 0;
}

.duotone {
    mix-blend-mode: screen;
    filter: saturate(0);
}

.multiply {
    mix-blend-mode: multiply;
}


/*  */
/* SECTIONS CSS */
/*  */

section .container {
    padding: 2rem 1rem;
    max-width: 960px;
    margin: 0 auto;
}

section .album {
    text-align: center;
}

/*  */
/* ID SELECTOR ELEMENTS */
/*  */

/* PRELOADER */
#preloader {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: var(--clr-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 2s ease-out;
}

.noopacity {
    opacity: 0;
}

/* COVER */

#cover {
    background-image: url('./imgs/cc-cover.jpg');
    background-position: center;
    height: 100%;
    /* background-attachment: fixed; */
}

/* BUTTON ARROW DOWN */

.btn-arrowdown {
    position: fixed;
    border-radius: 100%;
    border: 4px solid var(--clr-tertiary);
    width: 3rem;
    height: 3rem;
    padding: .5rem;
    bottom: 2rem;
    left: 0;
    right: 0;
    background-color: var(--clr-tertiary);
    margin: 0 auto;
    z-index: 0;
}

.btn-arrowdown > img {
    height: 100%;
}

.btn-arrowdown:hover {
    border: 4px solid var(--clr-tertiary);
}

/* INTRO */

#intro {
    background-color: var(--clr-secondary);
    /* min-height: 100vh; */
}

#intro .container {
    /* padding-bottom: 1rem; */
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: 
    'intro-title'
    'intro-img'
    'intro-info'
    ;
    gap: 1rem;
}

#intro p {
    font-size: 1rem;
    line-height: 130%;
    margin-top: 0;
}

.intro-img {
    grid-area: intro-img;
    margin: 0 auto;
}

.intro-title {
}

.intro-info {
    grid-area: intro-info;
    /* display: flex; */
    /* flex-direction: column; */
}

/* BUTTONS */

grid-area: intro-title;
/* .intro button {
    display: flex;
    justify-content: left;
} */

.intro-btns {
    text-align: center;
    margin: 0 auto;
    /* display: flex; */
    /* gap: 1rem; */
    /* justify-content: space-around; */
    /* align-content: end; */
}

/* LISTEN */

#listen {
    background-color: var(--clr-secondary);
    overflow-x: hidden;
}


.spotify {
    margin: -2rem -1rem 1rem -1rem;
    padding: -1rem;
}


.listen-audio-platforms {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0rem;
    justify-content: space-evenly;
    column-gap: 0rem;
}

.listen-audio-platforms > img {
    max-width: 30%;
    height: 3rem;
    /* flex-basis: 25%; */
    /* max-width: 6rem;
    max-height: 2rem; */
    /* margin-bottom: 1rem; */
    padding-bottom: 0rem;
    /* border: 1px solid red; */
    /* flex: 0 3 20px; */
    /* padding: 0 1rem 1.2rem 0; */
}

/* SONGS */

#songs {
    background-color: var(--clr-tertiary);
    display: flex;
    flex-direction: column;
}

#songs .container {
    margin: 0;
}

/* SLIDESHOW */

.slideshow {
    margin-top: -1rem;
    background-color: var(--clr-tertiary);
    min-height: 100vw;
    margin-bottom: -1rem;
}

.slide {
    position: absolute;
    transition: opacity 3s ease-in;
    min-width: 100%;
    height: auto;
    padding-top: 100%;
    background-size: cover;
}

.slide01 {
    background-image: url('./imgs/ilustracoes/cc-slide-sm-01.jpg');
}

.slide02 {
    background-image: url('./imgs/ilustracoes/cc-slide-sm-02.jpg');
}

.slide03 {
    background-image: url('./imgs/ilustracoes/cc-slide-sm-03.jpg');
}

.slide04 {
    background-image: url('./imgs/ilustracoes/cc-slide-sm-04.jpg');
}


.creditos {
    padding: 1rem 0 2rem 0;
    /* display: none; */
    text-align: center;
}

/* ABOUT */

#about {
    background-color: var(--clr-primary);
}

#about .about-cover {
    min-height: 70vh;
    background-image: url('./imgs/img-about.jpg');
    background-position: top;
    /* background-attachment: fixed; */
}

#about > .container {
    display: flex;
    flex-direction: column;
    /* min-height: 50vh; */
}

.about-artist {
    grid-area: artist;
}

.about-links {
    grid-area: links;

}

#about .social-networks {
    /* display: flex; */
}

/*  */
/* SPECIFIC CSS */
/*  */

/* TÍTULO */

.separator {
    display: block;
    height: .2rem;
    max-width: 360px;
    background-color: var(--clr-dark);
    margin: .5rem auto 0.5rem auto;
}

.title {
    display: block;
    background-color: #5FAFD0;
    font-family: var(--font-title);
    font-size: 3rem;
    text-transform: uppercase;
    line-height: 90%;
    text-align: center;
    /* padding: 1rem; */
}

.img-album-cover {
    display: block;
    max-width: 180px;
    margin: 2rem auto;
    padding: .2rem;
    border: var(--border-size) solid var(--clr-light);
}

.social-networks div {
    display: flex;
    align-items: center;
    margin-bottom: .6rem;
    column-gap: 1rem;
}

.social-networks img {
    height: 1.8rem;
    /* margin-right: .5em; */
}

.songlist {
    padding-bottom: 1rem;
}

.songlist > p {
    padding: .5rem 1rem;
    margin: 0;
    font-size: 1.8rem;
    line-height: 120%;
}

.songlist small {
    font-weight: 600;
}

.project-logos {
    margin-top: 3rem;
}

.logos-block {
    display: flex;
    flex-direction: column;
    font-size: .5rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: .2rem 0;
}

.logos-line img {
    max-height: 4rem;
    padding: .5rem .5rem;
}

.logos-line {
    margin-top: .5rem;
    column-gap: .5rem;
    display: flex;
    justify-content: center;
    align-items: center;

} 

.song-title {
    cursor: pointer;
}

/*  */
/* LISTEN AREAS */
/*  */

.spotify {
    grid-area: spotify;
    align-self: start;
}

.album-info {
    grid-area: ainfo;
    text-align: center;
    align-self: start;
}

.album-intro {
    grid-area: aintro;
    align-self: start;
}

.album-title {
    grid-area: atitle;
    text-align: center;
    margin-bottom: 2rem;
    /* padding: 3rem; */
}

/*  */
/* ANIMATIONS */
/*  */

@keyframes growImg-portrait {
    0% {
        opacity: 0;
        background-size: auto 130vh;
    }

    5% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        background-size: auto 100vh;
    }
}

@keyframes growImg-landscape {
    0% {
        opacity: 0;
        background-size: 130vw auto;
    }

    5% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        background-size: 100vw auto;
    }
}

/*  */
/* MEDIA QUERY */
/*  */

/* IPAD */

@media screen and (min-width: 768px) {

    /* * {
        column-gap: 2rem;
    } */

    h2 {
        font-size: 3rem;
        /* text-align: center; */
    }
    
    .container {
        display: grid;
        justify-content: center;
        align-items: center;
        /* padding-top: 2rem; */
    }

    .title {
        font-size: 5rem;
        text-align: left;
    }

    .title .separator {
        max-width: 90%;
        margin: .5rem 0;
    }

    #listen {
        /* padding: 2rem 0; */
        min-height: 100vh;
        display: flex;
        
    }

    #listen > .container {
        grid-template-columns: 2fr 3fr;
        grid-template-areas:
        'atitle atitle'
        'spotify aintro'
        'spotify ainfo'
        '. ainfo'
        ;
        padding: 3rem 3rem 0 3rem;
    }

    iframe {
        max-height: 60vh;
        /* margin-bottom: 2rem; */
    }

    .spotify {
        margin: 0;
        padding: 0;
    }

    /* .img-album-cover {
        margin: 0 auto 2rem auto;
        max-width: none;
        width: 180px;
        height: 180px;
    } */

    .album-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .album-links {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .listen-audio-platforms {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 1rem;
        /* column-gap: 1rem; */
    }

    .listen-audio-platforms > img {
        max-width: 6rem;
        max-height: 2rem;
        padding: 0;
        margin: .5rem .5rem;
        /* margin-bottom: 2rem; */
    }

    #intro {
        /* min-height: 100vh; */
        display: flex;
        /* padding: 3rem 0; */
    }

    #intro .container {
        position: relative;
        display: grid;
        grid-template-columns: 2fr 3fr;
        grid-template-areas:
        'intro-title intro-img'
        'intro-info intro-img'
        ;
        padding: 5rem 3rem;
    }

    .intro-img {
        align-self: start;
        justify-self: end;
    }

    .intro-title {
        padding-bottom: 2rem;
    }

    .intro-info {
        align-self: start;
    }

    #about > .container {
        /* display: flex; */
        flex-direction: row;
        align-items: start;
        /* flex-wrap: wrap; */
        /* justify-content: space-evenly; */
        /* border: 1px solid red; */
    }

    .about-links {
        /* padding: 1rem; */
        /* width: 50%; */
        align-self: start;
        flex: 1 0 auto;
        /* border: 1px solid blue; */
    }

    .about-artist {
        /* width: 100%; */
        /* border: 1px solid yellow; */
    }

    #about .social-networks {
        /* display: flex; */
        flex-wrap: wrap;
        /* justify-content: space-evenly; */
    }

    #about .social-networks p {
        /* justify-content: left; */
    }

    footer > .container {
        max-width: 480px;
    }

}

/* DESKTOP */

@media (orientation: landscape) {
    #cover {
        background-size: 100vw auto;
        animation: growImg-landscape 10s ease-in alternate;
    }

    #about .about-cover {
        background-size: 100vw auto;
    }
}

@media (orientation: portrait) {
    #cover {
        background-size: auto 100vh;
        animation: growImg-portrait 10s ease-in alternate;
    }

    #about .about-cover {
        background-size: auto 100vh;
    }
}

@media screen and (min-width: 840px) {
    #intro > .container {
        grid-template-columns: 2fr 3fr;
        grid-template-areas:
        'intro-title intro-img'
        'intro-info intro-img'
        ;
    }

    #listen > .container {
        grid-template-columns: 3fr 3fr;
        /* grid-template-areas:
        'atitle atitle'
        'spotify ainfo'
        '. .'
        ; */
    }

    .slide01 {
        background-image: url('./imgs/ilustracoes/cc-slide-lg-01.jpg');
    }
    
    .slide02 {
        background-image: url('./imgs/ilustracoes/cc-slide-lg-02.jpg');
    }
    
    .slide03 {
        background-image: url('./imgs/ilustracoes/cc-slide-lg-03.jpg');
    }
    
    .slide04 {
        background-image: url('./imgs/ilustracoes/cc-slide-lg-04.jpg');
    }

    .shader-hero {
        font-family: var(--font-title);
        font-size: 8rem;
        line-height: 100%;
        text-align: center;
    }
}