@font-face {
    font-family:'basic';
    src:url(/!asset/basiic.ttf);
}

@font-face {
    font-family:'yoster';
    src:url(/!asset/yoster.ttf);
}

html, body {
    height: fit-content;
}

html {
    display: table;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

body{
    padding: 10px;
    padding-bottom: 1px;
    display: table-cell;
    vertical-align: middle;
    background-image: url(/!asset/wallpaper3.png);
    background-size: 500px;
    border-style: solid;
    border-image: url(/!asset/whitelace.png) 8 fill round;
    border-width: 8px;
    border-radius: 40px;
    margin: 10px;
    width: 700px;
    
}

footer{
    font-family: basic;
    text-align: center;
}

footer p{
    color: black;
    text-shadow: -1px -1px 0 #ffffff, 1px -1px 0 #ffffff, -1px 1px 0 #ffffff, 1px 1px 0 #ffffff;
    
}

h4{
    margin: 7px;
    color: white;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    
}

h3{
    margin: 10px;
    margin-top: 2px;
    padding: 5px;
    text-align: center;
    border-style: solid;
    border-image: url(/!asset/whitelace.png) 8 fill round;
    border-width: 8px;
    background: hidden;
    
}

h2{
    margin: 30px;
    text-align: left;
    
}

p{
    margin: 7px;
    color: white;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    
}

mark{
    color: black;
    text-shadow: -1px -1px 0 #ffffff, 1px -1px 0 #ffffff, -1px 1px 0 #ffffff, 1px 1px 0 #ffffff;
    background-color: white;
    padding-left: 5px;
    padding-right: 5px;
}

ul{
    margin: 2px;
    padding: 1px;
    list-style: none;
    list-style-type: none;
    
}

li{
    display: inline;
    
}

a{
    text-decoration: none;
    color: black;
    
}

img:not(.star){
    filter: grayscale(50%);
    
}

img:not(.star):hover{
    filter: grayscale(0%);
    transform: scale(107%);
    
}

.container{
    font-family: 'basic';
    font-size: 17px;
    flex-flow: column;
    padding: 20px;
    border: 1px solid;
    background: url(/!asset/wallpaper4.png);
    background-size: 10px;
    padding-left: 20px;
    padding-right: 20px;
    margin: 10px;
    width: 638px;
}

#container1{
    display: flex;
    border-radius: 40px 40px 10px 10px;
    
}

#container2{
    display: grid;
    grid-template-columns: 432px 206px;
    border-radius: 10px;
    
}

#container3{
    display: flex;
    border-radius: 10px;
    
}

.box{
    display: flex;
    flex-flow: column;
    padding: 10px;
    margin: 10px;
    border: 1px solid;
    border-radius: 5px;
    background-image: url(/!asset/wallpaper3.png);
    background-size: 350px;
}

.item{
    background-image: url(/!asset/wallpaper2.png);
    background-size: 10px;
    border: solid 1px;
    border-radius: 5px;
    padding: 5px;
}

.articon{
    margin: 5px;
    
}

.star{
    display: inline-block;
    transform: translateY(3px);
    margin-left: 10px;
    margin-right: 10px;
    height: 20px;
    
}

#title{
    font-family: 'yoster';
    letter-spacing: 3px;
    border-radius: 20px 20px 5px 5px;
    
}

#menu{
    justify-self: center;
    text-align: center;
}

#menu button{
    font-family: 'basic';
    font-size: 17px;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 5px;
    border: 1px solid;
    border-radius: 5px;
    background-color: #909090;
    height: 25px;
    
}

#menu button:hover{
    transform: scale(105%)
    
}

#maintext{
    text-align: center; 
    
}

#announcment{
    height: 200px;
    scrollbar-width: none;
    overflow-x: hidden;
    overflow: scroll;
    
}

#announcment img{
    border: 1px solid black;
    border-radius: 5px;
    width: 267px;
    margin: 10px;
    
}

#art{
    grid-area:1/1/1/3;
    height: fit-content;
    
}

#art .item{
    display: flex;
    justify-self: center;
    align-self: center;
    border: 1px black solid;
    padding: 5px;
    width: 585px;
    
}

.articon img{
    width: 105px;
    border: 1px solid;
    border-radius: 5px;

}

#update{
    grid-area:3/1/3/2;
    max-height: 219px;
    
}

#updatescroll{
    scrollbar-width: none;
    overflow-x: hidden;
    overflow: scroll;
}

#current{
    grid-area: 2/2/4/3;
    max-height: fit-content;
    
}

#clique .item{
    display: flex;
    flex-flow: row;
    overflow-x: scroll;
    overflow-y: hidden;
    scrollbar-width: thin;
    
}

.clique img{
    padding: 5px;
    width: 50px;
    display: flex;
    justify-self: center;
    align-self: center;
    
}

.carousel {
    grid-area: 2/1/2/2;
    height: 55px;
    margin: 10px;
    border: 1px solid;
    border-radius: 5px;
    background-image: url(/!asset/wallpaper3.png);
    background-size: 350px;
    max-width: 490px;
    overflow: hidden;
    display: flex;
    
    &:hover .group {
      animation-play-state: paused;
    }
}

.card {
    padding: 5px;
    justify-content: center;
    align-items: center;
}

.group {
    display: flex;
    padding-right: 20px;
    will-change: transform;
    animation: scrolling 25s linear infinite;
}

#banner2 {
    animation-delay: 40s;
}

@keyframes scrolling {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%);
    }
}
