* {
    margin: 0px 0px;
    padding: 0px 0px;
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
}

body {
    background-color: #1a1c1f;
    background: linear-gradient(90deg, #103778, #1a1c1f, #151F30);
    background-size: 400% 400%;
    animation: slide-in 5s infinite alternate;
    padding: 0px 10vw;
    height: 100vh;
}

.header {
    padding: 15px 5px;
    display: flex;
    flex-direction: row;
}

.logoText {
    color: #F2F2F2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 5px;
    border: solid, 2px, #2b2e33;
    border-radius: 10px;
    transition: 120ms;
}

.profile:hover .logout {
    opacity: 1;
    transition: 150ms;
}

.profile:hover {
    background-color: #2b2e33;
    transition: 150ms;
}

.profile h3{
    color: #F2F2F2;
    font-size: 15px;
    margin-right: 10px;
}

.userInfo a {
    background-color: transparent;
    color: rgba(242, 242, 242, 0.8);
    display: flex;
    flex-direction: row;
    gap: 5px;
    border: none;
    align-items: center;
    text-decoration: none;
}

.logout {
    margin-left: auto;
    margin-right: 10px;
    opacity: 0;
    transition: 150ms;
    height: 24px;
    width: 24px;
}

.logout:hover {
    filter: drop-shadow(1px 1px 5px #fd1818);
}

.avatar {
    margin-left: 5px;
    margin-block: 3px;
    height: 42px;
    width: 42px;
    border-radius: 50px;
}

.main {
    background-color: #f2f2f200;
    width: auto;
    padding: 30px;
    display: flex;
    gap: 25px;
}

.content {
    padding-block: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

.catalog {
    display: flex;
    gap: 10px;
    padding-inline: 30px;
    padding-block: 10px;
    border-radius: 10px;
    background-color: #2b2e33;
    overflow: auto;

}

.items {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    gap: 20px;
    width: 90%;
    margin: 0 auto;  
    padding: 20px 5%;
    background-color: rgb(43, 46, 51);
    border-radius: 20px;
    box-shadow: 1px 1px 5px #2b2e33;
}

.item, .item-all {
    cursor: pointer;
    height: 180px;
    width: 180px;
    background-color: rgba(21, 31, 48, 0.7);
    border-radius: 20px;
    box-shadow: 1px 1px 5px #151F30;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    color: #F2F2F2;
    position: relative;
    overflow: hidden; 
}

.item p, .item-all p{
    text-align: center;
}

.item:hover .options, .item-all:hover .options, .item:active .options, .item-all:active .options {
    backdrop-filter: blur(10px);
    opacity: 1;
    transition: 0.3s;
}

.item:hover {
    background-color: #305569bd;
    background-color: rgba(48, 85, 105, 0.7);
}

.item img, .item-all img {
    height: 91px;
    width: 121px;
}

.options {
    opacity: 0;
    transition: 0.5s;
    height: 180px;
    width: 180px;
    position: absolute;
    background-color: #f2f2f218;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wep, .now {
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.now svg{
    fill: #40718B;
}

.wep svg:hover{
    fill: #73cbfa86;
}

.status {
    position: fixed;
    bottom: 20px;
    right: 50%;
    padding: 10px 15px;
    transform: translateX(50%);
    border-radius: 10px;
    color: #F2F2F2;
}

#error {
    display: block;
    background-color: #FF2E27;
}

#success {
    display: block;
    background-color: #25AF33;
}

#none {
    display: none;
}

.check {
    background-color: #25af331a;
    height: 25px;
    width: 60px;
    border-radius: 5px;
}

.gamemode {
  display: flex;
  margin-left: auto;
  align-items: center;
  width: 50px;
  padding: 5px;
  background-color: #103778;
  border-radius: 10px;
  cursor: pointer;

  transition: background-color 0.3s ease;
}

.mode {
  height: 18px;
  width: 18px;
  margin-left: 100%;
  transform: translateX(-100%);

  transition: all 0.3s ease;
}

.gamemode.active {
  background-color: #806611; 
}

.gamemode.active .mode {
  margin-left: 0;
  transform: translateX(0);
}


@media screen and (max-width: 600px) {
    body {
        padding: 0px 3vw;
    }
    .avatar {
        height: 32px;
        width: 32px;
    }
    .profile h3 {
        font-size: 3vw;
    }
    .profile a {
        font-size: 3vw;
    }
    .logout {
        height: 16px;
        width: 16px;
    }
    .item, .item-all {
        height: 140px;
        width: 140px;
    }

    .item p, .item-all p{
        text-align: center;
        font-size: 14px;
    }

    .item img, .item-all img {
        height: 72px;
        width: 96px;
    }
    .logoText {
        font-size: 4vw;
    }
}

@keyframes slide-in {
  from {
    background-position: 50% 50%;
  }
  to {
    background-position: 100% 50%;
  }
  
}