@import url('/src/styles/global.css');


body {
    min-height: 100vh;
    background-color: white;
    font-family: Arial, Helvetica, sans-serif;

    

}


#sec01 {
    min-height: 50vh;
    background: rgb(50,173,210);
    background: linear-gradient(45deg, rgba(50,173,210,1) 0%, rgb(9, 22, 121) 100%);
    color: var(--terciary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    
}

#sec01 h1{
    font-size: 1rem;
    text-align: center;
    padding: 20px 0;
}


.swiper {
    width: 60%;
    height: 400px;
    margin: 20px 0 ;

  }

  




.swiper-slide {
    text-align: center;
    background: rgba(9, 27, 59, 0.781);
    box-shadow: 0 0 200px rgba(0, 0, 0, 0.9) inset;
    width: 100%;
    position: relative;
}

.pictures {
    width:85%;
}

.swiper-button-next:hover {
    color: rgb(255, 255, 255);
}

.swiper-button-prev:hover {
    color: rgb(255, 255, 255);
}


.swiper-text {
    position: absolute;
    bottom: 0;
    width: 100%;
    min-height: 50px;
    color: #fff;
    background-color: rgba(9, 27, 59, 0.781);
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    padding: 1rem 0;
}


/*----------------------------------------------------------------*/



#sec02 {
    .acessar-mais{

        width: 95%;
        text-align: end;
    }
    a{ 
        
        text-decoration: none;
        color: var(--primary-color);
        font-weight: bold;
        margin: 20px 0;
        transition: 0.5s;
    }
    a:hover {
        color: rgb(103, 126, 228);

    }
}

.topic {
    background-color: var(--primary-color);
    max-width: 89%;
    height: 20px;
    color: white;
    padding: 15px;
    font-weight: bold;
    margin: 0 auto ;
    margin-top: 20px;
}   


.noticias {
    display: grid;
    gap:10px;
    max-width: 90%;
    margin: 20px auto;
    grid-template-columns: 1fr 1fr 1fr;
    
    .noticia-item {
        width: 100%;
        height: 300px;
        background-color: gray;
        margin-top: 10px;
        overflow: hidden;
        position: relative;



        .date {
            position: absolute;
            top: 0;
            right: 0;
            color: white;
            font-weight: bold;
            background-color: #4b80e2;
            padding: 10px;
        }


        img {
            width: 100%;
        }
    } 

    .description{
        width: 100%;
        background-color: #3f6cc0d8;
        padding: 10px 0 ;
        position: absolute;
        bottom: 0;
        display: flex;
        flex-direction: column;

        
        h1 {
            color: white;
            font-weight: bold;
        }

        p {
            color: white;
            bottom: 0;

        }
    }


}



/*--------------------------------------*/



.wrapper-tournaments-info{
    margin: 20px auto;
    width: 80%;
    /*background-color:  rgba(72, 101, 155, 0.822);*/
    background-color: #f1f1f1;
    padding: 20px 10px;
    display: grid;
    grid-template-columns: auto auto auto;
    row-gap: 20px;
    justify-items: center;
}

.tournaments-info{
    display: flex;
    flex-direction: column;
    align-items: first baseline;
    background-color:   rgb(31, 51, 87);
    padding: 20px;
    width: 300px;
    color:white;
    transition: 0.5s ease-in-out;
    a {
        text-decoration: none;
        color:white;
        margin: 10px auto;
        transition: 0.5s ease-in-out;
    }   

    h3 {
        font-size: 1.3rem;
        font-weight: bold; 
    }


    img {
        width: 300px;
        margin: 0 auto;
    }
}

.tournaments-info:hover {
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.719);
    a {
        color: rgb(153, 172, 212);
     
    }
}




/*-----------------------------------*/

#sec04 {
    display: flex;
    
    .topic {
        margin: 20px;
    }
}

.multi-topics{
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    table, th, td {
        border: 1px solid white;
      }

}

#calendar {
    width: 90%;
    height: 70%;
    margin: 0 auto;
}

table {
    width: 90%;
    height: 64%;
    margin: 0 auto;
    color: white;
}

th{
    font-weight: bold;
    background-color: #2e5294;
    text-transform: uppercase;
    
}

td {
    background-color: #4b80e2;
    padding: 1px;
        
}

td:hover {
    background-color: #558df7
}


td,th {
    text-align: center;    
    vertical-align: middle; 
    border-radius: 5px;

 }

.fc-header-toolbar{
    background-color: #2e5294;
    padding: 5px;
    h2 {
        color: white;
        padding:10px;
        text-transform: uppercase;
        font-weight: bold;
    }
}


 
.fc-event{
    color: white;
    text-decoration: none;
    font-weight: bold;


}



#btn-classroom{
    height: 5%;
    width: 90%;
    padding: 10px;
    background-color: var(--primary-color);
    color: white;           
    border: none;
    border-radius:5px ;
    margin: 10px auto 0 auto;
    font-weight: bold;

    a {
        width: 100%;
        height: 100%;
        text-decoration: none;
        color: white;
    }
 }


 #btn-classroom:hover {
    background-color: rgb(102, 140, 189);
    cursor: pointer;
 }

 /* ----------------------------------------------------------------*/

 #sec05 {
    background-image: url("/src/assets/img/bg/bg-sec05.jpg");
    position: relative;
    background-size: cover;
    background-position: 60%;
    height: 50vh;
    width: 100%;
    color: white;
    font-size: 1.3rem;
    text-align: center;
    h2{
        font-size: 2rem;
    }

    h2,article{
        padding: 10px;
    }


    button{
        border-radius: 0 15px 15px 0;   
        width: 10%;
        background-color: var(--primary-color);
        img {
            width: 15px;
        }
    }

    button:hover {
        background-color: #4b80e2;
        cursor: pointer;
    }

    input {
        border-radius: 15px 0 0 15px;
        width: 60%;          
    }

    button,input {
        padding: 15px;
        border: none;
    

    }

 }

 #sec05-bg {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: #2e5294;
    
    opacity: 90%;
    z-index: 0;


 }


 #sec05-elements {
    position: absolute;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 100%;
    
 }
 

 .swiper#swiper-sec05 {
    background-color: transparent;
    width: 100%;
    height: 100%;



 }

 #slide-1-sec05,#slide-2-sec05,#slide-3-sec05{
    box-shadow: none;
    background: #090d2725;
 }

.relato {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;

    h1 {
        font-size: 2rem;
    }
}

.relato-foto {
    margin-right: 20px;
}

.img-relato {
    width: 200px;
    border-radius: 50%;
}

 


 @media screen and  (min-device-width: 300px) and (max-device-width: 834px) {
    .swiper{
        width: 80%;
        grid-template-columns: 1fr 1fr;
    }

    .noticias{
        grid-template-columns: 1fr;
    }

    .wrapper-tournaments-info {
        grid-template-columns: auto;
    }

    #sec04{
        flex-direction: column;
    }

    #calendar {
        width: 90%;
        height: 100%;
    }

    table {
        width: 40%;
        height: 100%;
        margin: 0 auto;
        color: white;


    }

    td,th {
        padding: 20px;
    
     }

     #btn-classroom{
        margin: 10px auto 20px auto;
     }
    

     .swiper-slide {
        text-align: center;
        background: rgba(9, 27, 59, 0.781);
        box-shadow: 0 0 200px rgba(0, 0, 0, 0.9) inset;
        width: 100%;
        height: 100%;
        position: relative;
    }
    /* Phone - Celular */
    @media  screen and (max-device-width:640px) {
        .swiper{
            width: 90%;
            height: 350px;
        }

        td,th {
            padding: 5px;
        
         }


         .img-relato {
            width: 100px;
            border-radius: 50%;
        }
        
    }
 }
