/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */
   
   
   .page{
    position:relative;
    display:grid;
    filter: drop-shadow(0 0 25px rgba(180,240,255,.25));
    grid-template-rows:auto auto 1fr auto;

    grid-template-areas:
        "header"
        "nav"
        "main"
        "footer";

    min-height:100vh;
    
    width:1100px;
    margin:40px auto;
    
    }



header {
    grid-area: header;
    text-align: center;
    margin-bottom: 30px;
}

nav {
    grid-area: nav;
    margin-bottom: 40px;
}

nav ul{
    display:grid;
    grid-template-columns:repeat(3,120px);
    justify-content:center;
    gap:35px;

    list-style:none;
    margin:0;
    padding:0;
}



nav a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 110px;
    height: 110px;

    border-radius: 50%;

    color: white;
    text-decoration: none;
    font-weight: bold;

    background: radial-gradient(
    circle at 35% 25%,
    rgba(255,255,255,.55) 0%,
    rgba(140,235,255,.45) 30%,
    rgba(50,170,210,.55) 70%,
    rgba(0,90,120,.65) 100%
);

    border: 1px solid rgba(255,255,255,.8);

    box-shadow:
        0 0 18px rgba(170,240,255,.5),
        inset 0 3px 4px rgba(255,255,255,.7),
        inset 0 -6px 10px rgba(0,0,0,.15),
        0 8px 18px rgba(0,0,0,.25);

    position: relative;
    overflow: hidden;   
    
}

@keyframes float {

  0%,100%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-8px);

    }
}

nav a::before {
    content: "";

    position: absolute;

    top: 12px;
    left: 50%;
    transform: translateX(-50%);

    width: 75%;
    height: 25%;

    border-radius: 999px;

    background: linear-gradient(
        to top,
        rgba(255,255,255,0),
        rgba(255,255,255,.2),
        rgba(255,255,255,.7)
    );

    pointer-events: none;
}




nav li a {
    will-change: transform;
}



/* final arch placement */

.gallery-bubble {
         grid-column:1;
}

.home-bubble {
        grid-column:2;
}

.playlist-bubble {
    grid-column:3;
}

.gallery-bubble a{
    width:100px;
    height:100px;
}

.home-bubble a{
    width:120px;
    height:120px;
    margin-top:-10px;
}

.playlist-bubble a{
    width:105px;
    height:105px;
}

/* animation starting state */

nav li {
    opacity:0;
    animation:
        bubbleEntrance 2s cubic-bezier(.34,1.56,.64,1) forwards;
    animation-delay:var(--delay);

}


.gallery-bubble {
    --delay:.2s;
}

.home-bubble {
    --delay:.45s;
}

.playlist-bubble {
    --delay:.7s;
}



@keyframes bubbleEntrance {

     0% {
        opacity:0;
        transform:
            translate(-900px,-600px)
            scale(5)
            rotate(-35deg);
    }


    25% {
        opacity:1;
        transform:
            translate(-600px,-450px)
            scale(3.5)
            rotate(-20deg);
    }


    50% {
        transform:
            translate(-250px,-300px)
            scale(2)
            rotate(10deg);
    }


    75%{
    transform:
        translate(-35px,-35px)
        scale(1.08)
        rotate(-3deg);
}


    100% {
        opacity:1;
        transform:
            translate(0,0)
            scale(1)
            rotate(0deg)
    }
}







main {
    grid-area: main;
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 30px;
}

footer {
    grid-area: footer;
}

body {
  background-color: white;
  color: black;
  font-family: Verdana;
  
}



.scene{
    position:relative;

    width:600px;
    height:700px;

    background-image:url("images/Home_BG.jpg");
    background-size:cover;
    background-position:center;
}

.planet-button{

    position:absolute;

    left:720px;
    top:360px;

    width:70px;
    height:70px;

    border-radius:50%;

    background:rgba(255,255,255,.15);
}

.planet-button:hover{

    background:rgba(255,255,255,.35);
    box-shadow:0 0 20px cyan;

}



.content{
    position: relative;
    z-index: 1;
    overflow: hidden;

    padding:20px;
    text-align:left;

    background: radial-gradient(
        ellipse at center top,
        rgba(180, 245, 255, 0.8) 0%,
        rgba(0,150,180,0.6) 45%,
        rgba(0,95,117,0.7) 100%
    );

    border:1px solid rgba(255,255,255,.7);
    border-radius:20px;
}

.content::before
{
 border-radius: 999px;
  width: 100%;
  height: 30%;
  left: 50%;
  bottom: 45%;
}

.content,
.sidebar {
   box-shadow:
    0 0 20px rgba(170,240,255,.6),
    0 8px 18px rgba(0,0,0,.25),

    inset 0 0 2px rgba(255,255,255,.95),
    inset 0 0 12px rgba(255,255,255,.2),

    inset 0 2px 3px rgba(255,255,255,.75),
    inset 0 -2px 8px rgba(0,0,0,.15);
}

.sidebar {
    z-index: 1;
    position: relative;
    overflow: hidden;

    padding: 20px;

    background: linear-gradient(
        to bottom,
        rgba(140, 235, 255, 0.75) 0%,
        rgba(60, 170, 210, 0.55) 40%,
        rgba(0, 95, 117, 0.55) 100%
    );

   border:1px solid rgba(255,255,255,.7);
    border-radius: 20px;
}

.sidebar::before
{
   width: 95%;
   height: 40%;
   left: 49%;
   border-radius: 30px;
   bottom:13%;
}


.content::before,
.sidebar::before {
    z-index: 0;
    content: "";
    position: absolute;

    transform: translateX(-50%);

    background: linear-gradient(
        to top,
        rgba(255,255,255,.40),
        rgba(255,255,255,.10),
        rgba(255,255,255,0)
    );


    pointer-events: none;
}




#home-page {
    background-image: url("images/Home_BG.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
}

#home-page .sidebar {
    height: 150px;
}

