html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
#item_1{
        justify-content: center;
    align-content: center;
}
#item_1>#img_container>img{
    height: 560px;
    width: 820px;
    @media (max-width: 768px) {
        height: 100%;
        width: 100%;
        
    }
    box-shadow: 0 0 40px 10px #010a2480;
}
#img_container{
    justify-content: center;
    align-content: center;
    position: relative;
 width: 900px;
 height: fit-content;
 @media (max-width: 768px) {
    height: 50vh;
    width: 100%;
 }
}
.img_btn{
    position: absolute;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

#item_1>#img_container>button{
    position: absolute;
       background-color: transparent;
    @media (max-width: 768px) {
    width: 50%;
    height: 100%;
    top: 0;
    
    }
 
 
}
#learn{
    left:0;
    @media (min-width: 768px) {
    top: 310px;
    left:130px;
    width: 139px;
    height: 60px;
    }

}
#play{
    left:50%;
      @media (min-width: 768px) {
    top: 395px;
    rotate: 11deg;
    left: 530px;
    width: 160px;
    height: 60px;
    transform: skew(10deg);
    }
}
#item_2 {
    background-image: url("../images/item2.jpg");
    background-size: 100% 100%;
}

#item_3 {
    background-image: url("../images/item3.png") ;background-size:cover;
}


 .navbar-modification ,
    footer {
        background-color: #010a24;
    }
 footer{
        position: absolute;
        bottom: 0;
        z-index: 3;
        text-align: center;
        color: #fff;
        width: 100%;

        align-content: center;
 }
@media(max-width:768px) {
    .logo {
        width: 50px;
        height: auto;
        margin: auto;
        border-radius: 50%;
    }

    #carousel {
        width: 100%;
        margin-top: 50px;
    }

  
    .carousel-item {
        color: #fff;
        height: 50vh;
        align-content: center;
        margin-top: 0;
    }

    .carousel-item>div {
        color: #fff;
        font-size: 3rem;
        font-weight: bold;
        width: 50vw;
        margin: auto;
        border-radius: 10px;
    }
    #item_3>div{
        background-color: #0a0a2375;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        padding: 12px;
    }

    #spacer {
        display: none;
    }

    #section_1 {
        position: relative;
        background-color: #fff;
        width: 100%;
        height:fit-content;
        padding-bottom:50px ;
        padding-top: 40px;
    }

    #section_1 h2 {
        color: #0A0A23;
        font-weight: bold;
    }

    footer {
        height: 50px;
      
    }

    .cp {
        display: block;
    }

    .pc {
        display: none;
    }
}

@media(min-width:768px) {
    .cp {
        display: none;
    }

    .pc {
        display: block;
    }

    #carousel {
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1;
        height: 70vh;
    }

    .logo {
        width: auto;
        height: 70px;
        margin: auto;
        border-radius: 50%;
    }

 

    .nav-link {
        margin-left: 6px;
        margin-right: 6px;
        color: #0ff;
    }

    body {
        scroll-snap-type: y mandatory;
        background: #0A0A23;
    }

    .carousel-item {
        color: #fff;
        height: 90vh;
        align-content: end;
        margin-top: 10vh;
        border-radius: 0;
    }

    .carousel-item>div {
        font-size: 3rem;
        font-weight: bold;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        background: #0a0a2375;
        width: 100%;
        padding: 25px 0;
        margin: auto;
        border-radius: 10px;
    }

    #section_1 {
        position: relative;
        background: #fff;
        padding-top: 50px;
        width: 100%;
        height: 1000px;
        z-index: 2;
    }

    #section_1 h2 {
        color: #0A0A23;
        font-weight: bold;
        margin-top: 50px;
    }

    footer {
        height: 50px;
  
    }
 .navbar-modification {
    padding: 0;
 }
    #spacer {
        height: 100vh;
        background: rgba(255, 0, 0, 0);
    }
    #spacer>button,span{
        z-index: 100;
    }
}

.portal{
    border-radius: 50%;
    width: 80%;
}
.portal-holder{
position: relative;

}
.portal-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #000000;
    color: #fff;
    border: none;
    padding: 20px 10px;
    border-radius: 50%;
    cursor: pointer;
}


#realm_1:hover > .portal-holder > .portal {
  animation: circular .1s linear infinite;
  cursor:pointer
}
#realm_2:hover > .portal-holder > .portal {
  animation: circular .1s linear infinite;
  cursor:pointer
}
#realm_3:hover > .portal-holder > .portal {
  animation: circular .1s linear infinite;
  cursor:pointer
}
@keyframes circular {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.carousel-control-prev,.carousel-control-next{
    z-index: 10;
}
.nav-link.active{
background-color: #0018dd;
color: white;
border-radius: 10px;
}
.nav-link:hover{
background-color: #001add2c;
color: white;
border-radius: 10px;
}
.nav-link.active:hover{
background-color: #0018dd;
color: white;
border-radius: 10px;
}
.dropdown-item.active{
  background-color: #0018dd;
color: white;  
}

.dropdown-menu.show{
    padding: 0;
    overflow: hidden;
}