* {
    margin: 0;
    text-decoration: none;
    font-family: "Rubik", sans-serif;
    box-sizing: border-box;
    position: relative;
    border: none;
}

body {
    min-height: 100vh;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: rotate-bg-color 20s infinite;
    color: rgb(230, 230, 230);
}

/* Estilo das imagens decorativas */
.decoration {
    position: absolute;
    pointer-events: none;
    z-index: 9999;
    filter: brightness(0.7);
}

.decoration1 {
    top: 20%;
    left: 10%;
    transform: rotate(-10deg);
}

.decoration2 {
    top: 75%;
    right: 5%;
    transform: rotate(5deg);
}

/* Estilo para as imagens dentro das divs decorativas */
.decoration img {
    max-width: 200px;
    opacity: 0.6;
}

.pag {
    width: 90vw;
    max-width: 1700px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    background-color: #121212;
    box-shadow: 9px 5px 17px 2px rgba(0, 0, 0, 0.92);
    border-radius: 11px;
    overflow: auto;
    border: 1px solid #333;
}


/* Header */
.header {
    background: linear-gradient(90deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 0.5rem 0rem 0rem 0rem;
    padding: 0.1rem 1rem;
    color: rgb(230, 230, 230);
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    padding: 0.5rem 1rem ;
    align-items: center;
}
.vitto{
    display: flex;
  justify-content: center;
  align-items: center;

}

.vitto a{
    font-family: "Bitcount Single", system-ui;
    font-size: xx-large;
    color: white;
}


.more{
    text-decoration: none;
    color: white;
    display: none;
    gap: 1rem;

}
@media (min-width: 1080px) {
    .more {
        display: flex; /* Ou flex, grid, etc., dependendo do layout */
    }
}
.more a {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease-out;
    display: inline-flex; /* evita estourar largura */
    
    text-decoration: none;
    padding: 1rem 3rem;
    border-radius: 0.5rem;
    align-items: center;
    justify-content: center;
    color: #e0e0e0;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
    border: 1px solid #444444;
    width: auto;
    max-width: 100%;

}
.more a:hover{

background-color: #2e2e2e;
color: white;
}

.icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.icon {
    padding: 5px;
    color: #bbb;
}

.icon:hover {
    color: #fff;
}

.h1 {
    font-size: 0.7rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    color: #e0e0e0;
}

/* Main Layout */
main {
    display: flex;
    flex: 1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    gap: 1rem;
    background-color: #1a1a1a;
}

main img {
    max-width: 270px;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border: 1px solid #333;
}

/* About Section */
.about {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
    gap: 1rem;
    
}
.head1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #2d2d2d;
    border-radius: 0.5rem;
    font-weight: bold;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
    color: #e0e0e0;
    border: 1px solid #3a3a3a;
}
.head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #2d2d2d;
    border-radius: 0.5rem;
    font-weight: bold;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
    color: #e0e0e0;
    border: 1px solid #3a3a3a;
}

.mainpage {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background-color: #2d2d2d;
    border-radius: 0.5rem;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
    display: flex;
    gap: 0.5rem;
    flex-direction: column;
    justify-content: space-around;
    color: #ccc;
    border: 1px solid #3a3a3a;
}

/* Responsive: Mobile */
@media (max-width: 768px) {
    main {
        flex-direction: column;
        background-color: #1a1a1a;
    }

    main img {
        width: 100%;
        height: auto;
        border: 0.5px solid #333;
    }

    .about {
        width: 100%;
        max-width: 100%;
    }
    
    .nut1,
    .nut2 {
        width: 100%;
        padding: 1rem;
        justify-content: center;
        text-align: center;
        box-sizing: border-box;
    }

    .nut1:hover,
    .nut2:hover {
        padding: 1.1rem;
    }
}

.redes {
    display: flex;
    height: 25px;
    gap: 1rem;
    
}
.redes img{
    width: 25px;
    filter: brightness(0) invert(1);
    background-color: transparent;
    border: none;
}
.overlay {
  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.603);
  
backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;

  justify-content: center;
  align-items: center;

  z-index: 9999;
}

.popup-box {
    border: 1px solid rgba(255,255,255,0.2);
background-color: rgba(0, 0, 0, 0.842);
  border-radius: 16px;
 padding: 1rem;

  color: white;
  position: relative;
  display: flex;
  flex-direction: column;
    gap: 1rem;
    

    margin: 1rem;

}
.close-btn {
  position: absolute;

  top: 20px;
  right: 20px;

  background: transparent;
  border: none;
    color: rgb(255, 255, 255);
    z-index: 10000;
  font-size: 22px;
  cursor: pointer;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}
.popup-box img {
  border-radius: 10px;
  max-width: 100%;
  max-height: 80vh;
  height: auto;
  width: auto;
  display: block;
  object-fit: contain;
}
.popup-box h3{
     color: rgb(194, 194, 194);
}

hr {
    border: 0.1px solid #696767;
}

@keyframes rotate-bg-color {
    0% {
        background-color: #0a1929;
    }
    10% {
        background-color: #1a0a1a;
    }
    20% {
        background-color: #0a0a14;
    }
    30% {
        background-color: #15152a;
    }
    40% {
        background-color: #0f0e1a;
    }
    50% {
        background-color: #0a0a29;
    }
    60% {
        background-color: #0f0a14;
    }
    70% {
        background-color: #1a0a1a;
    }
    80% {
        background-color: #1a0a14;
    }
    90% {
        background-color: #0a1a1f;
    }
    100% {
        background-color: #0a1929;
    }
}

.subpag {
    display: flex;
    justify-content: space-between;
}

.imagetwo {
    border-radius: 0.5rem;
    border: 1px solid #333;
}

.buttons {
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    gap: 1rem;
}

.nut1 {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease-out;
    display: inline-flex; /* evita estourar largura */
    background-color: #0a0a29;
    text-decoration: none;
    color: white;
    padding: 1rem 3rem;
    border-radius: 0.5rem;
    align-items: center;
    justify-content: center;
    background: #2D2D2D;
background: #2D2D2D;
background: linear-gradient(90deg,rgba(45, 45, 45, 1) 17%, rgb(97, 97, 97) 50%, rgba(45, 45, 45, 1) 86%);
    border: 1px solid #444444;
}

.nut1:hover {
    padding: 1.1rem 3rem;
    background-color: #434343;
color: white;
}

.nut2 {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease-out;
    display: flex;
    background-color: #3a3a2a;
    text-decoration: none;
    padding: 1rem 3rem;
    border-radius: 0.5rem;
    align-items: center;
    color: #e0e0e0;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
    border: 1px solid #4a4a3a;
}

.nut2:hover {
    padding: 1.1rem 3rem;
    background-color: #4a4a3a;
}

.albuns {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.games {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    justify-content: space-around;
}

.games img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 0.5rem;
    border: 1px solid #333;
    background-color: #1a1a1a;
}

.galeria {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

@media (max-width: 768px) {
    .galeria {
        grid-template-columns: repeat(2, 1fr);
    }
}
.galeria a {
    display: flex;
    justify-content: center;
}

.galeria img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0.5rem;
    border: 1px solid #464646;
    background-color: #1a1a1a;
    box-shadow: 2px 9px 15px -1px rgba(0,0,0,0.75);
-webkit-box-shadow: 2px 9px 15px -1px rgba(0,0,0,0.75);
-moz-box-shadow: 2px 9px 15px -1px rgba(0,0,0,0.75);
transition: ease-in-out 0.1s;
}
.galeria img:hover{
    box-shadow: 2px 11px 21px -1px rgba(0,0,0,0.75);
-webkit-box-shadow: 2px 11px 21px -1px rgba(0,0,0,0.75);
-moz-box-shadow: 2px 11px 21px -1px rgba(0,0,0,0.75);
transform: scale(1.03);
z-index: 999;
}
.buttongalery {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease-out;
    display: inline-flex; /* evita estourar largura */
    
    text-decoration: none;
    padding: 1rem 3rem;
    border-radius: 0.5rem;
    align-items: center;
    justify-content: center;
    color: #e0e0e0;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
    border: 1px solid #444444;
    width: auto;
    max-width: 100%;
}

.buttongalery:hover {
    background-color: #2e2e2e;
    color: white;
}

.imagecomms2d {
    border-radius: 0.5rem;
    flex-shrink: 0;
    min-width: 100%;
    min-height: 100%;
    border: 1px solid #333;
    background-color: #1a1a1a;
}

.imagecomms {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.cu {
    color: rgb(200, 200, 200);
}

.personagens {
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #bbb;
}

.personagens:hover {
    color: rgb(255, 255, 255);
    filter: brightness(120%);
}

/* Adicionando cores para textos e links */
a {
    color: #8ab4f8;
}

a:hover {
    color: #bbbbff;
}

/* Adicionando sombras mais escuras para contraste */
h1, h2, h3, h4, h5, h6 {
    color: #e0e0e0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Scrollbar personalizada (opcional) */
::-webkit-scrollbar {
    width: 10px;
    border-radius: 1rem;
}

::-webkit-scrollbar-track {
    background: #ffffff00;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 0px 10px 10px 0px;
}

::-webkit-scrollbar-thumb:hover {
    background: #444;
}
