/* Sugesão de melhoria de código:
   1- Utilizar variáveis para cores, fontes, tamanhos, etc.
   2- Utilizar classes para estilizar elementos que se repetem
   3- Utilizar o conceito de responsividade para adaptar o site a diferentes tamanhos de tela
*/



* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;    
    background-color: transparent;   
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    flex-direction: row;
    background-color: #000;
    font-family: "Merriweather Sans", serif;
}

.box-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    margin-left: 1rem;
}

.logo {
    width: 15rem;
    height: 5rem;
    margin-top: 0.5rem;    
}

.text-logo{
    font-size: 2.5rem;
    color: #ffffff;
    font-family: "Great Vibes", serif;
    letter-spacing: 0.1rem;
    text-shadow: 3px 3px 4px #000000;    

    font-size: 4rem;
    color: #fff;
    text-shadow: 0 0 5px #ff005e, 0 0 10px #ff005e, 0 0 20px #ff005e, 0 0 40px #ff005e, 0 0 80px #ff005e;
    animation: glow 1.5s infinite alternate;
}

@keyframes glow {
    0% {
        text-shadow: 0 0 5px #ff005e, 0 0 10px #ff005e, 0 0 20px #ff005e, 0 0 40px #ff005e, 0 0 80px #ff005e;
    }
    100% {
        text-shadow: 0 0 10px #00d4ff, 0 0 20px #00d4ff, 0 0 40px #00d4ff, 0 0 80px #00d4ff, 0 0 160px #00d4ff;
    }
}

.classes {
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 50%;
    margin: 1rem;
    cursor: pointer;    
}

ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    list-style: none;
    background-color: #000;
}

button {
    color: #ffffff;
    border: transparent;
    padding: 0.5rem 1rem;
    margin: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    background-color: #000;
    font-family: "Urbanist", serif;
    letter-spacing: 0.3rem;
    
}

.btn {    
    color: #ffffff;
    position: relative;
    display: inline-block;
  }
  
  .btn::after,
  .btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, #a1a1a1, #ec8e00);
    bottom: -5px;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease-out;
  }
  
  .btn::before {
    top: -5px;
    transform-origin: left;
  }
  
  .btn:hover::after,
  .btn:hover::before {
   transform: scaleX(1);
  }

  /* -------------------HOME--------------------- */

  .page-content{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    background-image: 
     linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(118,118,118,0) 15%),
     url("lostarkWP.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;    
    color: #ffffff;
    font-family: "Merriweather Sans", serif;
    letter-spacing: 0.3rem;   
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.5;
    text-shadow: 3px 3px 4px #777777;
    height: 45rem;
    width: 100%;    
  }

  .home-content{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;    
    width: 100%;
    height: 50rem;
  }


  .text-banner{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;    
    font-size: 6rem;
    text-shadow: 3px 3px 4px #000000;  
    width: 100%;
    font-family: "Oswald", serif
    
  }

  .text-banner-2, .text1, .text2, .text3{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;    
    margin-top: 4rem;
    text-shadow: 3px 3px 4px #000000;   
    width: 100%;
    font-family: "Oswald", serif
  }

  .home-content-2{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;    
    width: 50%;
    
  }

  @keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -------------  Links --------------*/

.content-links{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    background-image: 
     linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(118,118,118,0) 15%),
     url("lostark5.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;    
    color: #ffffff;
    font-family: "Merriweather Sans", serif;
    letter-spacing: 0.3rem;   
    text-align: center;
    font-size: 1rem;
    line-height: 1.5;
    text-shadow: 3px 3px 4px #777777;
    height: 60rem;
    width: 100%;     
    
}

.link-box{
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    padding: 1.5rem;
    margin: 0.5rem;
    /* From https://css.glass */
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
}
.lista{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    margin: 0.5rem;
}

.links{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    margin: 2rem;
}

.link-lista{
    list-style: none;
    text-decoration: none;
    color: #ffffff;
    font-size: 1.5rem;
}
li{
    list-style: none;
}

.text-link{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem;    
    text-shadow: 3px 3px 4px #000000;   
    width: 100%;
    font-size: 3.5rem;
    font-family: "Oswald", serif
}

.text-link-2{
    display: flex;
    align-items: center;
    justify-content: center;           
    text-shadow: 3px 3px 4px #000000;   
    width: 100%;
    font-size: 2rem;
    font-family: "Oswald", serif;
    margin-bottom: 2rem;
}

.text-lista-2{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;        
    text-shadow: 3px 3px 4px #000000;   
    width: 100%;
    font-family: "Oswald", serif
    
}

.text-link-3{
    display: flex;
    align-items: center;
    justify-content: center;           
    text-shadow: 3px 3px 4px #000000;   
    width: 100%;
    font-size: 2rem;
    font-family: "Oswald", serif;
    margin-bottom: 2rem;
}

/* ----------------- Notícias --------------- */

.content-noticias{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    background-image: 
     linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(118,118,118,0) 15%),
     url("lostark3.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;    
    color: #ffffff;
    font-family: "Merriweather Sans", serif;
    letter-spacing: 0.3rem;   
    text-align: center;
    font-size: 1rem;
    line-height: 1.5;
    text-shadow: 3px 3px 4px #777777;
    height: 60rem;
    width: 100%;     
}

.notes-box{
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    padding: 1.5rem;
    margin: 0.5rem;        
}

.notes-box-1{
    display: flex;
    align-items: flex-start;    
    justify-content: center;
    flex-direction: column;
    padding: 0.5rem;
    margin: 0.5rem;
    /* From https://css.glass */
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);    
}

/* -------------------------Carrousel------------------------------ */

/* styles.css */
.carousel {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 35rem;
    height: 30rem;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  .carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  
  .carousel-item {
    min-width: 100%;
    box-sizing: border-box;    
  }
  
  .carousel-item img {
    width: 30rem;
    height: 17rem;
  }
  

  .text-lista-2 {
    text-align: center;
    margin-top: 10px;
    font-size: 16px;
    color: #ffffff;
  }
  
  .nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    transition: background-color 0.3s ease;
  }
  
  .nav:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  .prev {
    left: 10px;
  }
  
  .next {
    right: 10px;
  } 
  
/* ----------------------------------------------------------------- */

.text1 {
    opacity: 0; /* Garante que o texto não apareça antes da animação */
    animation: fadeIn 1s ease-out forwards;
    font-weight: bold;    
}

.text2 {
    opacity: 0; /* Garante que o texto não apareça antes da animação */
    animation: fadeIn 3s ease-out forwards;
    font-weight: bold;
}

.text3 {
    opacity: 0; /* Garante que o texto não apareça antes da animação */
    animation: fadeIn 6s ease-out forwards;
    font-weight: bold;
}

  /* ---------------EFEITO ON MOUSE ENTER----------------- */



.icon-container {
    position: relative;
    display: inline-block;
}

.icon-container img {
    transition: transform 0.3s ease-in-out;
}

.icon-container:hover img {
    transform: rotateY(180deg);
}

.icon-container::after {
    content: attr(data-name); /* Exibe o nome da classe */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    font-size: 16px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.7);
    color: rgb(252, 130, 30);
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
    pointer-events: none;
}

.icon-container:hover::after {
    opacity: 1;
}



  /* ------------------------------------------- */


/* Estiliza a tag <main> */
main {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;    
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);    
    overflow: hidden;
    background-color: black; /* Fundo padrão antes da imagem carregar */    
    transition: background 0.5s ease-in-out;    
}

.subTitulo{
    font-size: 2rem;
    padding: 1rem;
    font-family: "Merriweather Sans", serif;
    color: #cfcfcf;
    letter-spacing: 0.5rem;
    text-shadow: 3px 3px 4px rgba(0, 0, 0, 1);
}

/* Estiliza a div dentro do main */
.conteudo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;    
    position: relative;
    z-index: 2;    
    border-radius: 10px;    
    text-align: center;      
}

hr{    
    border: 0;
    height: 1px;
    background: #767676;
    background: radial-gradient(circle, #76767600 21%, #767676 60%);
}

.line{
    border: 0;
    height: 1px;
    background: rgb(0,0,0);
    background: radial-gradient(circle, rgba(0,0,0,0) 21%, rgba(0,0,0,1) 60%);
}

/* Estilo do título */
.titulo {
    font-size: 3rem;
    font-weight: bold;
    margin: 1rem;
    font-family: "Urbanist", serif;
    text-shadow: 3px 3px 4px rgba(179, 179, 179, 1);
    letter-spacing: 0.2rem;
    color: #ffffff;
}

/* Estilo da frase */
.frase {
    font-size: 18px;
    font-style: italic;
    padding: 2rem;
    font-family: "Merriweather Sans", serif;    
}

.info{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    margin-right: 30rem;       
}

.texto {
 display: flex;
 align-items: center;
 justify-content: center;
 flex-direction: column;
 margin: 1rem; 
}

/* Estilo dos parágrafos */
.descricao {
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 1.2rem;    
    line-height: 1.3;
    padding: 2rem;
    width: 40rem;        
    margin-bottom: 10rem;  
    font-family: "Merienda", serif;
    letter-spacing: 3px;
    /* From https://css.glass */
    background: rgba(255, 255, 255, 0.103);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5.2px);
    -webkit-backdrop-filter: blur(5.2px);    
}

.identidade{
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 1.2rem;  
    line-height: 1.7;
    padding: 1rem;
    width: 40rem;
    height: 25rem;       
    font-family: "Merienda", serif;
    letter-spacing: 3px;
    /* From https://css.glass */
    text-shadow: 3px 3px 4px rgba(179, 179, 179, 1);   
   
}

.main2{
    background: rgb(0,0,0);
    background: linear-gradient(180deg, #000000 71%, rgba(115,115,115,1) 100%);
}

.conteudo2{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    
}

.conteudo3{
 display: flex;
    align-items: center;
    justify-content: center;
    background: #737373;
}


.classe-body{
    width: auto;
    height: auto;
    margin-left: 2rem;
    margin-top: 1.5rem;    
}

.video-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;  
        
}

.iframe{
    width: 40rem;
    height: 20rem;
    border-radius: 10px;
    margin: 1rem;    
}

.video {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 1rem;

    display: inline-block;        
    font-size: 1.5rem;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    
    /* Animação para navegadores modernos */
    animation: reveal linear;
    animation-timeline: view();
    animation-range: entry 0% 30%;
    
}

.video:hover {
    animation: floating 1.5s ease-in-out infinite;
}

/* ----------------- DONATE SECTION --------------*/

.container-donate {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;  
    width: 100%;
    height: 100%;      
    background-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(118,118,118,0) 15%),
    url("mokoko1.jpg");    
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: 2rem;
}

.text-donate{
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;    
    margin-top: 1rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 4px #000000;   
    width: 100%;
    font-family: "Oswald", serif
}

footer {
    background-color: #333;
    color: #fff;
    padding: 1rem;
    text-align: center;
}

.text-footer{      
    margin: 1rem;
    text-shadow: 3px 3px 4px #000000;   
    width: 100%;
    font-family: "Oswald", serif
}

.container-donate-portfolio{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 1rem;
    margin: 1rem;
    margin-bottom: 2rem;
    width: 100%;
    height: 100%;
}

.btn-donate{ 
    padding: 1rem;
    margin: 1rem;    
}

.btn-donate {    
    color: #ffffff;
    position: relative;
    display: inline-block;
  }
  
  .btn-donate::after,
  .btn-donate::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, #ffe600, #2300ec);
    bottom: -5px;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease-out;
  }
  
  .btn-donate::before {
    top: -5px;
    transform-origin: left;
  }
  
  .btn-donate:hover::after,
  .btn-donate:hover::before {
   transform: scaleX(1);
  }

@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floating {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Fallback para navegadores que não suportam animation-timeline */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 2.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}



@media (max-width: 1024px) {
    .header {
        flex-direction: column;
        align-items: center;
        padding: 0.5rem;
    }

    .box-logo {
        margin-left: 0;
        margin-bottom: 1rem;
    }

    .home-content-2 {
        flex-direction: column;
        width: 100%;
    }

    .video-content {
        flex-direction: column;
    }

    .iframe {
        width: 100%;
        height: auto;
        margin: var(--espacamento-pequeno) 0;
    }

    .conteudo2 {
        flex-direction: column;
    }

    .descricao, .identidade {
        width: 100%;
        margin-bottom: var(--espacamento-grande);
    }

    .info {
        margin-right: 0;
        flex-direction: column;
    }

    .texto {
        margin: var(--espacamento-pequeno) 0;
    }

    .carousel {
        max-width: 100%;
        height: auto;
    }

    .carousel-item img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {

  

    .conteudo{
        height: 100%;
    }
    .text1, .text2, .text3 {
        font-size: 0.5rem;
        padding: var(--espacamento-pequeno);
        margin: 1rem;
    }

    .header {
        padding: 1rem;
        flex-direction: column;
    }

    .box-logo {
        margin-left: 0;
        margin-bottom: 1rem;
        flex-direction: column;
    }

    .text-banner {
        font-size: 1rem;
    }

    .text-link {
        font-size: 1.3rem;
        margin-bottom: 1rem;        
    }

    .text-link-3{
        font-size: 0.8rem;
    }


    .link-box, .notes-box-1 {
        width: 100%;
        margin: var(--espacamento-pequeno) 0;
    }
    
    .classe-body{
        width: 30rem;
        height: 30rem;
    }

    .lista {
        flex-direction: column;
        margin: 0;
    }

    .links {
       display: flex;
       flex-direction: column;
    }
    
    .link-lista{
        font-size: 0.8rem;
    }
    
    .titulo {
        font-size: var(--tamanho-fonte-grande);
    }

    .frase {
        font-size: var(--tamanho-fonte-pequeno);
    }

    .descricao, .identidade {
        font-size: var(--tamanho-fonte-pequeno);
    }

    .video {
        font-size: var(--tamanho-fonte-pequeno);
    }

    /* ------ CONTEÚDO -------- */

    .text-lista-2{
        font-size: 0.8rem;
    }

    .link-box{
        padding: 0.5rem;
        display:flex ;
        align-items: center;
        justify-content: center;
        margin: 0.3rem;
    }

    .btn{
        padding: 0.5rem;
        margin: 0.5rem;
        font-size: 0.6rem;
    }

    /* ----- Paches -------- */

    .notes-box{
        display: flex;
        flex-direction: column;
        margin-bottom: 0.3rem;
    }
    .notes-box-1{
        display: flex;
        flex-direction: column;
        margin-bottom: 1rem;
    }
    .subTitulo{
        font-size: 1rem;
    }
}
