html{
    box-sizing: border-box;
    font-size: 62%;
    scroll-behavior: smooth;
}
body{
    font-family: 'Titillium Web', sans-serif;
    margin: 0;
}
.navbar{
    display: flex;
    flex-direction: column;
    background-color: gold;
    height: 5rem;
    width: 6rem;
    position: fixed;
    justify-content: space-between;
    align-content: center;
    z-index: 2000;
    border-radius: 50px;
    padding-top: 1rem;
    left: 190vh;
    top: 85vh;
    cursor: pointer;
    border: 0.4rem solid black;
    transition: .5s;
}
.icon-lines{  
    position: relative; 
    background-color: black;
    width: 2.5rem;
    height: .3rem;
    margin-bottom: .5rem;
    border-radius: 10px;
    left: 1.6rem;
    top: 0.9rem;
    transition: .5s;
}
.line1,.line3{
    width: 2.1rem;
}
.navbar:hover{
    transform: scale(1.2);
}
.head{
    background-color: gold;
    text-align: center;
    height: 10rem;
}
.title{
    margin: 0;
    font-size: 5rem;
    padding-top: 2rem;
}
.parts{
    text-align: center;
    height: 50rem;
}
.subtitle{
    font-size: 2.5rem;
    font-weight: bold;
    margin-top: 5rem;
}
.navigation{
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100%;
    width: 35rem;
    background-color: #b6c134;
    text-align: center;
    left: -35rem;
    transition: .5s ease-in-out;
    z-index: 1000;
}
.nav-title{
    font-size: 3rem;
}
.nav-list{
    height: 40rem;
    padding-left: 0;
    padding-bottom: 10rem;
    display: flex;
    flex-direction: column;
    list-style: none;
    font-size: 2.5rem;
}
.nav-links{
    text-decoration: none;
    color: black;
    transition: .5s;
}
.nav-links:hover{
    color: white;
}

/*******/
.tgg{
    transform: translate(35rem);
}
/*******/

.stage{
    display: flex;
    min-height: 50vh;
    min-width: 50vw;
    background-color: gray;
}

.ball{
    margin: auto;
    width: 4rem;
    height: 4rem;
    border-radius: 50px;
    background-color: gold;
}
.countdown{
    font-size: 3rem;
}
.scroll-top{
    position: fixed;
    z-index: 200;
    bottom: 5vh;
    left: 117rem;
    width: 6rem;
    height: 6rem;
    font-size: 4rem;
    background-color: gold;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s ease-out;
}
.scroll-top:hover{
    background-color: black;
    color: gold;
}
.hidden{
    visibility: hidden;
    opacity: 0;
}
.dark{
    position: fixed;
    z-index: 200;
    bottom: 5vh;
    left: 2rem;
    width: 6rem;
    height: 6rem;
    font-size: 3rem;
    background-color: gold;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.2s ease-out;
    
}
.dark:hover{
    background-color: black;
}
.dark-mode{
    background-color: black;
    color: gold;
}
.part1{
    margin-top: 10rem;
}
.part5{
    margin-top: 40rem;
}
.part8{
    margin-top: 20rem;
}
.part10{
    margin-top: 30rem;
}
.online,
.offline{
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    background-color: #1b5e20;
    color: white;
}
.offline{
    background-color: red;
}
.nav-items{
    margin-bottom: 1rem;
}
.cards{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
}
.card{
    background-color: darkslategray ;
    color: gold;
    transition: .3s ease-out;
}
.card img{
    width: 100%;
    height: auto;
}
.card figcaption{
    padding: 1rem;
}
.filter{
    /*display: none;*/
    visibility: hidden;
    opacity: 0;
    /*order will make the pictures to move forward everytime this class is applied*/
    order: 1;
}
.players{
    font-size: 2rem;
    list-style: none;
}
#slider{
    position: relative;
    width: 80%;
    margin: 1rem auto;
    text-align: center;
}
.slider-slides{
    position: relative;
    height: 400px;
}
.slider-slide{
    height: 100%;
    width: 100%;
    /*by puting them in absolute they all will be positioned after the first relative object they find, thats why all of them are in one same position inside 'slider-slides' */
    position: absolute; 
    top: 0;
    left: 0;
    transition: .5s ease;
    opacity: 0;
    visibility: hidden;
}
.slider-slide.active{
    opacity: 1;
    visibility: visible; /*this makes only the first image to be shown */
}
.slider-slide img{
    height: inherit;
    width: inherit;
    object-fit: cover; /*cover adapts the pic to the width of the page and contains does it to height*/
   /* object-position: 50% 0%;/*x angle and y angle*/
}
.slider-btns a{
    display: block;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    border: thin solid #000;
    background-color: white;
    color: black;
    transition: .3s ease;
    cursor: pointer;
    text-decoration: none;
}
.slider-btns a:hover{
    color: gray;
}
.slider-btns{
    /*this makes the buttons to appear over the images*/
    /*ABSOLUTE WILL ALWAYS BE ARRANGED ACCORDING THE CLOSER REALTIVE POSITIONED OBJECT*/
    position: absolute;
    width: 100%;
    top: 50%;
    display: flex;
    justify-content: space-between;
    font-size: 3em;
    font-weight: bold;
}
/*********SPY OBSERVER**********/
.active{
    color: blue;
}
/*********SPY OBSERVER**********/
/*************** SCROLLSPY*******************/
/*@media screen and (min-width: 1024px){
    body{
        display: grid;
        grid-template-columns: 80% 20%;
        grid-template-rows: 4rem auto;
        
    }
}*/

/*************** FORMS*******************/
.contact-form{
    margin-left: auto;
    margin-right: auto;
    width: 80%;
}
/*> * means all the direct children from contact-form*/
.contact-form > *{
    padding: 0.5rem;
    margin: 1rem auto;
    display: block;
    width: 100%;
}

.contact-form textarea{
    resize: none;/*with this you cant reize the textarea on the web page*/
}
.contact-form legend,
.contact-form-response{
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
}
.contact-form input,
.contact-form textarea{
    font-family: sans-serif;
    font-size: 1rem;
}
/*every input with the type submit...*/
.contact-form input[type="submit"]{
    width: 50%;
    font-weight: bold;
    cursor: pointer;
}
.contact-form ::placeholder{
    color:#b6c134;
}
/*if required returns valid...*/
.contact-form [required]:valid{
    border:thin solid #b6c134;
}
.contact-form [required]:invalid{
    border:thin solid red;
}
.contact-form-error{
    margin-top: -1rem;
    font-size: 80%;
    background-color: red;
    transition: 800ms ease;
    color: white;
    font-weight: bold;
}
.contact-form-error.is-active{
    display: block;
    /*name - duration- times of execution - type of display - delay - animation effect*/
    animation: show-message 1s 1 normal 0s ease-out;
}
.none{
    display: none;
}
@keyframes show-message{
    0%{
        visibility: hidden;
        opacity: 0;
    }
    100%{
        visibility: visible;
        opacity: 1;
    }
}