@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Jersey+15&display=swap');

:root{
    --cor1: rgb(31, 138, 205);
    --cor2:rgba(111, 188, 235, 0.6);
    --cor3:rgba(40, 40, 251, 0.2);
    --cor4: rgb(75, 43, 106);
}

main{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: var(--cor2);
    padding: 5px 30px;
    border-left: 3px solid var(--cor4);
    border-right: 3px solid var(--cor4);
}

section{
    display: flex;
    flex-direction: column;
    place-items: center;
    gap: 10px;
    width: 74%;
}

aside{
    display: flex;
    flex-direction: column;
    gap: 10px;
    place-items: center;
    width: 25%;
}

.games{
    display: none;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 450px;
    background-color: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--cor4);
    border-radius: 10px;
}

.games > p{
    color: white;
    font-size: 35px;
    font-family: "Jersey 15", serif;
    font-weight: 400;
    font-style: normal;
    border-bottom: 1px solid white;
}

.games > iframe{
    margin: 5px;
    max-height: 350px;
    max-width: 350px;
    width:100%;
    height: 100%;
}

.gamebuttons{
    display: flex;
    justify-content: center;
    border-top: 1px solid white;
    width: 96%
}

.gamebuttons> button{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: red;
    color: white;
    margin: 3px;
    width: 100px;
    padding: 3px;
    border: 1px solid white;
    border-radius: 1000px;
    box-shadow: inset -2px -2px 4px rgba(0, 0, 0, 0.43);
}

.gamebuttons> button:hover{
    background-color: rgb(225, 0, 0);
    cursor: pointer;
}

.matérias{
    display:flex;
    flex-direction:column;
    place-items: center ;
    gap: 10px;
    justify-content: center;
    width: 100%;
    margin-bottom: 50px;
}

.matérias h2{
    font-size: 2em;
    text-align: center;
}

.matérias h3{
    font-size: 1.5em;
    text-align: center;
}

.matérias p{
    font-family: Arial, Helvetica, sans-serif;
    text-align: justify;
    text-indent: 30px;
    line-height: 1.3;
}

picture img{
    width: 100%;
    max-width: 100%;
    height: auto;
}

.imagem{
    position: relative;
    width: 100%;
    height: 300px;
}

.blur{
    position: relative;
    background-color: black;
    width: 100%;
    height: 100%;
    filter: blur(10px);
    
}

.imagem_blur{
    top: 2%;
    left: 0.5%;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius:10px;
    width: 99%;
    height: 98%;
}

.imagem_blur > P{
    font-size: 20px;
    color: white;
    text-align: center;
}

.imagem_blur > img{
    max-width: 250px;
    width: 62vw;

}

.animated_border{
    position: relative;
    display: flex;
    flex-direction: column;
    place-items: center;
    justify-content: center;
    width:72vw;
    height: 72vw;
    max-width: 300px;
    max-height: 300px;
    background-color:red;
    overflow: hidden;
    margin-bottom: 50px;
}

.animated_border:hover{
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.508);
}

.animated_border:hover::before{
    content: "";
    position: absolute;
    width: 150px;
    height: 500px;
    background-color: yellow;
    animation: animação 6s linear infinite;
}

@keyframes animação{
    100%{
        transform: rotate(360deg);
    }
}

.propaganda{
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width:71.3vw;
    height:71.3vw;
    max-width: 295px;
    max-height: 295px;
    background-color: red;

}

.propaganda_text{
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
    transform: rotate(-42deg);
    font-size: 2.5em;
    font-weight: bold;
    color: yellow;
    text-shadow: 2px 2px 3px white;
    text-decoration: underline;
}

.propaganda .hidden{
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
    font-size: 1,5em;
}

.hidden a{
    color: white;
}

.banner{
    position: sticky;
    top: 10vh;
    width: 100%;
    margin: 0px 0px;
}

.banner iframe{
    display:block;
    width: 100%;;
    max-height:600px;
    height: 85vh;
    border-radius: 20px;
}

@media(max-width:360px){
    .propaganda_text{
        font-size: 1.6em;
    }

    .propaganda .hidden{
        font-size: 1em;
    }

    .artigos{
        font-size: 100%;
    }
}

.propaganda:hover .propaganda_text{
    transform: rotate(0deg);
    transition: 0.3s;
}

.propaganda:hover .hidden{
    visibility: visible;
    opacity: 1;
}

.barra_noticias{
    height: 700px;
    width: 100%;
    margin-right: -2px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.barra_noticias::-webkit-scrollbar{
    width: 3px; /* Largura da barra de rolagem vertical */
}

.barra_noticias::-webkit-scrollbar-track {
    background: transparent; /* Cor do trilho */
    border-radius: 10px; /* Bordas arredondadas do trilho */
}

.barra_noticias::-webkit-scrollbar-thumb {
    background: var(--cor1); /* Cor do polegar */
    border-radius: 10px; /* Bordas arredondadas do polegar */
}

.noticias{
    display: flex;
    flex-direction: column-reverse;
    place-items: center;
    margin: 10px 0px;
    height: 200px;
    width: 100%;
    border: 1px solid black;
    border-radius: 10px;
    background-color: aquamarine;
    background-image: url(imagens/skullheatm.jpg);
    background-position: center;
    background-size: cover;
}

.noticias:hover{
    border: 2px solid white;
}

.barra_noticias p{
    font-size: 1.3em;
    text-align: center;
    color: white;
    width: 70%;
    border-radius: 1000px;
    text-decoration: underline;
}

@media(max-width:820px){
    main{
        padding: 5px 5px;
    }

    .barra_noticias{
        height: 630px;
    }

    .noticias{
        justify-content: center;
        height:100px;
        background-image: url(imagens/skullheatp.jpg);
        opacity: 0.7;
    }

    .noticias p{
        font-size: 1em;
        color: white;
    }

    .banner{
        top:20vh
    }
    
    .banner iframe{
        width: 100%;
        max-height: 500px;
    }
}

@media(max-width:450px){
    .banner iframe{
        max-height:300px ;
    }
}

@media(max-height:450px){
    .banner{
        top:12vh
    }
}

@media(max-width:320px){
    .artigos{
        font-size: 6vw;
    }
    .matérias h2{
        font-size: 10vw;
    }

    .matérias h3{
        font-size:8vw;
    }

    .matérias p{
        font-size: 6vw;
    }

    .noticias p{
        font-size: 6vw;
    }
}
