body {
    margin: 0;
    padding: 0;
    background-color: rgb(24, 25, 75);
    font-family: Arial, Helvetica, sans-serif;
}

.navbar {
    top: 0;
    position: sticky;
    display: flex;
    background-color: rgb(24, 25, 75);
    height: 60px;
    width: 100%;
    justify-content: center;
    justify-items: center;
    align-items: center;
    z-index: 999;
    overflow: hidden;
}
.navbar-container {
    align-items: center;
    display: flex;
    height: 50px;
    width: 100%;
    border: 5px solid rgb(24, 25, 75);
    border-radius: 25px;
    background-color: rgb(49, 50, 132);
    justify-items: center;
    justify-content: space-between;
    overflow: hidden;

    
}
 .navbar-menu {
    display: flex;
    justify-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-right: 20px;
    list-style-type: none;
 }
 .navbar-menu a {
    text-decoration: none;
    color: white;
 }

 .navbar-item {
    text-decoration: none;
    color: white;
    background-color: rgb(24, 25, 75);
    padding: 10px;
    padding-right: 12px;
    border-radius: 28px;
    display: flex;
    align-content: center;
    justify-items: center;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    transition: all 0.2s ease-out;
 }
 .navbar-item:hover{
    cursor: pointer;
    border: 1px solid #00b3fffc;
 }
 
 .navbar-item img {
    width: 20px;
    padding-right: 5px;
    filter: invert();
 }
 .logo1 {
    background-image: url("2.png");
    background-size: 40px;
    height: 40px;
    display: inline-block;
    position: relative;
    text-indent: -9999px;
    width: 40px;
    margin-left: -10px;
    background-repeat: no-repeat;

 }
.left-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.text1 {
    font-weight: 800 ;
    font-size: 25px;
    color: #18194b;
    user-select: none;
    transition: all 0.2s ease-out;
}
.base {
    background-color: rgb(24, 25, 75);
    position:sticky;
    margin: 0 0.5dvi 0.5dvi 0.5dvi;
    border-radius: 28px;
    align-items: center;
    justify-items: center;
    justify-content:baseline;
    height: calc(100dvh - 116px - 40px);
    min-height: fit-content;
    padding-bottom: 40px;
    max-height: calc(100dvh - 116px - 40px);
    display: flex;
    flex-direction: column;
    border: 5px solid rgb(49, 50, 132);
    overflow: hidden;

}
.section1 {
    display: flex;
    height: 200px;
    margin: 20px auto;
    width: 60%;
    justify-content: center;
    justify-items: center;
    align-items: center;
    align-content: center;
    user-select: none;
    z-index: -1;
    translate: 30%;
}
#home .sec1d {
    min-width: 200px;
    max-width: 300px;
    margin: 20px;
    height: 180px;
    width: 45%;
    position: relative;
    
    
}
#home .sec1d h1 {
    margin: 50px auto auto 20px;
    color: #00b3fffc;
}
#home .sec1d h2 {
    margin: 10px auto auto 20px;
    color:beige ;
}
#home .section1 img {
    width: 50px;
    position: absolute;
    transform: translate(190%, 145%);
    border-radius: 50%;
    -webkit-user-drag: none;
}
.gradient {
    background-color: #00b3fffc;
    border-radius: 50%;
    position: absolute;
    filter: blur(150px);
    opacity: 50%;
    display: flex;
    width: 500px;
    height: 500px;
}
#home .section2 {

    display: flex;
    margin: 20px auto;
    height: 200px;
    width: 60%;
    justify-content: center;
    justify-items: center;
    align-content: center;
    align-items: center;
    
}
#home .link1 {
    background-color: rgb(49, 50, 132);
    width: 45%;
    border-radius: 28px;
    margin: 20px;
    height: 180px;
    min-width: 200px;
    max-width: 300px;
    text-decoration: none;
    color: beige;
    border: 1px solid transparent;
    transition: all 0.2s ease-out;
    display: flex;
    flex-direction: column;
    align-content: space-between;
    
}
#home .link1:hover {
    border: 1px solid #00b3fffc;
}
.icon {
    background-color: rgb(24, 25, 75);
    width: 50px;
    height: 50px;   
    margin: 30px auto 10px 20px;
    border-radius: 10px;
    justify-content: center;
    align-items: center;
    display: flex;
}
.icon img {
    width: 25px;
    height: 25px;
    filter: invert();
}
#home .title {
    margin: 0 auto 10px 20px;
}
#home .details {
    margin: 0 0 20px 20px;
    color: rgb(194, 194, 174);
}

.fff {
    font-size: 1000px;
}
footer {
    background-color: rgb(36, 37, 60);
    height: 40px;
    justify-content: center;
    align-content: center;
    padding-left: 20px;
    overflow: hidden;
    
}
@media screen and (max-width: 648px) {
    .text1 {
        font-size: 0;
    }
}
@media screen and (max-width: 414px){

    .navbar-menu a{
        font-size: 0;
    }
    .navbar-item img {
        padding-right: 0px;
     }
    .navbar-item {
        padding: 10px;
    }
    
}
@media screen and (max-width: 480px) {
    #home .section1, #home .section2 {
        flex-direction: column;
        width: 100%;
        height: 330px;
        
    }
    #home .section1 {
        margin-top: -20px;
        transform: translate(-100%, 100%);
    }
    #home .section2 {
        height: 316px;
        margin-top: -120px;
    }
    #home .section1 img {
        transform: translate(400%, -120%);
    }
    #home .gradient {
        transform: translate(62%, -55%);
    }    
}

/* list_page changes to home */

#list_page .section2 {

    display: flex;
    height: 100px;
    width: 60%;
    justify-content: center;
    justify-items: center;
    align-content: center;
    align-items: center;
    
    
}
#list_page .link1 {
    background-color: rgb(49, 50, 132);
    width: 45%;
    border-radius: 28px;
    margin: 10px;
    height: 90px;
    min-width: 220px;
    max-width: 300px;
    text-decoration: none;
    color: beige;
    border: 1px solid transparent;
    transition: all 0.2s ease-out;
    display:inline-block;
    align-content: space-between;
}
#list_page .link1:hover {
    border: 1px solid #00b3fffc;
}
#list_page .title {
    margin: -60px 20px 0 100px;
}
#list_page .details {
    margin: 5px 0 0 100px;
    color: rgb(194, 194, 174);
}
#list_page .icon {
    background-color: rgb(24, 25, 75);
    width: 50px;
    height: 50px;   
    margin: 20px auto 10px 20px;
    border-radius: 10px;
    justify-content: center;
    align-items: center;
    display: flex;
    
}
#list_page .gradient2 {
    background-color: #00b3fffc;
    border-radius: 50%;
    position: absolute;
    filter: blur(500px);
    transform: translate(60%, 0);
    display: flex;
    width: 500px;
    height: 500px;
    z-index: -1;
}
#list_page .pressed {
    background-color: rgb(112, 114, 188);
    color: beige;
    border: 1px solid beige;
    transition: all 0.2s ease-out;
    cursor: default;
}
#list_page .section1 {
    display: flex;
    margin: 0;
    margin-top: 10px;
    width: 100%;
    height: 40px;
    z-index: 0;
}
#list_page .home-button {
    background-color: rgb(24, 25, 75);
    padding: 10px;
    border-radius: 18px;
    display: flex;
    align-content: center;
    justify-items: center;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    transition: all 0.2s ease-out;
}
#list_page .home-button img {
    width: 20px;
    filter: invert();
}
#list_page .home-button:hover {
    cursor: pointer;
    border: 1px solid #00b3fffc;
}
@media screen and (max-width: 520px) {
    #list_page .section2 {
        flex-direction: column;
        margin-top: 0px;
        width: 100%;
        height: 200px;
    }
    #list_page .icon {
        margin: 15px auto 10px 20px;
} 
}
#list_page .base {
    padding-bottom: 25px;
}
/* list_page */

#list_page .section3 {
    background-color: rgb(24, 25, 75);
    width: 95%;
    margin-top: 20px;
    min-height: fit-content;
    height: calc(100dvh - 116px - 40px - 150px - 20px - 10px);
    border-radius: 28px;
    border: 5px solid rgb(49, 50, 132);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;

}
#list_page .search {
    background-color: rgb(54, 34, 74);
    width: 60%;
    height: 30px;
    margin-top: 20px;
    max-width: 410px;
}
#list_page .cover-container {
    width: 99%;
    /* background-color: rgba(255, 0, 0, 0.157); */
    height: calc(100% - 70px);
    display: grid;
    grid-template-areas: "a a a a";
    align-items: center;
    justify-content: center;
    justify-items: center;
    grid-auto-rows: 200px;
    gap: 10px;
    padding-bottom: 40px;
}
#list_page .cover {
    height: 200px;
    width: 200px;
    margin-top: 50px;
    background-color: rebeccapurple;
    border-radius: 15px;
}

@media screen and (max-width: 520px) {
    #list_page .section3{
        height: calc(100dvh - 100px - 40px - 10px - 50px - 200px - 20px - 0.5dvi - 10px);
    }
}
@media screen and (max-width: 940px) {
    #list_page .cover-container{
        grid-template-areas: "a a a";
    }
}
@media screen and (max-width: 710px) {
    #list_page .cover-container{
        grid-template-areas: "a a";
    }
}
@media screen and (max-width: 520px) {
    #list_page .cover-container{
        grid-auto-rows: 150px;
    }
    #list_page .cover {
        height: 150px;
        width: 150px;
    }
}
@media screen and (max-width: 372px) {
    #list_page .cover-container{
        grid-auto-rows: 200px;
        grid-template-areas: "a";
        gap: 10px;
    }
    #list_page .cover {
        height: 200px;
        width: 200px;
    }
}
::-webkit-scrollbar {
    width: 10px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background-color: rgba(49, 50, 132, 0.4);
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: rgba(49, 50, 132, 0.8); 
    border-radius: 10px;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: rgba(112, 114, 188, 0.8); 
    transition: all 0.2s ease-out;
  }
