:root {
    --background: #42D2F6;
    --darkTeal: #257082;
    --lighterTeal: #29A6C4;
}

body {
    background-color: var(--darkTeal);
    font-family: "font";
}
.topTitles {
    display: flex;
    align-items: center;
    flex-direction: column;

    p {
        font-size: 1.5em;
    }
}
h1 {
    margin-bottom: 0;
    font-size: 2.7em;
}
p {
    font-size: 1.3em;
    line-height: 1.6;
}
.everything {
    z-index: 10;
    position: relative;
    background-color: var(--background);
    padding: 5vw;
    padding-bottom: 8vw;
    padding-top: 0;
}
.Jay {
    display: flex;
    align-items: center;
    flex-direction: column;
    
    img {
        width: 55%;
    }
}

/* --- Parallax --- */
#ocean {
    position: relative;
    height: 1200px;
}
.layer{
    position: fixed;
    background-position: bottom center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 1190px;
}
#layer-0 {
    background-image: url(images/layer-0.png);
    background-color: var(--background);
}
#layer-1 {
    background-image: url(images/layer-1.png);
}
#layer-2 {
    background-image: url(images/layer-2.png);
}
#layer-3 {
    background-image: url(images/layer-3.png);
}
#layer-4 {
    background-image: url(images/layer-4.png);
}

/* --- Accordions --- */
.accordion.open {
    .info {
        height: auto;
    }
    .title::before {
        rotate: 90deg;
    }
}
.info {
    max-width: 80%;
    overflow: hidden;
    transition: all 300ms;
    padding: 0;
    height: 0;
}
.title {
    border-bottom: solid 4px var(--darkTeal);
    max-width: 80%;
    margin-bottom: 0;
    font-size: 1.7em;
}
.title::before {
    content: "\2799";
    display: inline-block;
    font-size: 1.2em;
    margin-right: 0.5em;
}
.title:hover {
    scale: 1.01;
    transition: all 300ms;
}
.images {
    display: flex;
    justify-content: space-around;
    align-items: center;
    img{
       width: 17vw; 
       border-radius: 10px;
    } 
}

.info img:hover {
    transform: translateY(-3px);
    transition: all 300ms;
}

/* --- Playlist --- */
.music {
    width: 20vw;
    
}
.music-info {
    display: flex;
    align-items: center;
    flex-direction: column;
    background-color: var(--lighterTeal);
    z-index: 10;
    position: relative;
    padding: 3vw;

    p {
        font-size: 1.5em;
        padding-top: 3vw;
        padding-bottom: 3vw;
        margin: 0;
    }
}

/* --- Mobile Title --- */
.mobile-title {
    display: none;
}
.fade {
    opacity: 0;
    transform: translateY(30px);
    transition: all 300ms;
}
.fade.visable{
    opacity: 1;
    transform: translateY(0px);
}



@media screen and (max-width:753px) {
    .mobile-title {
        font-size: 2rem;
        display: block;
        position: fixed;
        top: 30px;
        z-index: 99;
        width: 100vw;
        text-align: center;
        &.stopped {
            position: absolute;

        }
    }
    .topTitles {
    p {
        font-size: 1.3em;
    }
    h1 {
        display: none;
    }
}
    .info {
        max-width: 100%;
}
    .title {
        max-width: 100%;
}
    .music {
        width: 58%;
}
    .Jay {
        img {
            width: 100%;
        }
}
    .images {
        display: flex;
        align-items: center;
        justify-content: space-around;
        img{
        width: 38vw; 
        border-radius: 10px;
        } 
}

}

/* --- font --- */ 
@font-face {
    font-family: "font";
    src: url(Winky_Sans/WinkySans-VariableFont_wght.ttf);
}