*{
    margin: 0;
    padding: 0;
}
@font-face {
    font-family:CaesarDressing;
    src: url(../font/CaesarDressing-Regular.ttf);
}

@font-face {
    font-family:Anton;
    src: url(../font/Anton-Regular.ttf);
}
html {
  scroll-behavior: smooth;
}
body{
    background-color: #202020;

}
body h1{
    font-family: CaesarDressing;
    font-size: 4rem;
    color: #AD997E;
}
body p{
    font-family: Anton;
    color: #AD997E;
    font-size: 1.5rem;
    text-align: center;
}
body h2{
    font-family: CaesarDressing ;
}
body a{
    text-decoration: none;
}
/*Nav Menu*/
nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #AD997E;
    padding: 0.7rem;
    

}
#navTeras{
    display: flex;
    align-items: center;
    justify-content: center;
}
#navElement{
    display: flex;
    align-items: end;
    justify-content: center;
}
nav img{
    width: 4rem ;
    margin-right: 0.7rem;
}
nav a{
    font-family: CaesarDressing;
    font-size: 2rem;
    color:#202020
}
nav a:hover{
    color: #fff;
    transform: scale(1.05);
    transition: ease-in-out .2s;
}
.navDiv{
    background-color: #202020;
    width: 5px ;
    height: 50px;
    margin: 0 1rem 0 1rem;
}
/*Page0*/
#page0{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
}
#page0 img{
    width: 13rem;
}

/*Page1*/
.carousel{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:20px;
}
.carousel-container{
    display:flex;
    align-items:center;
    gap:20px;
}
.item{
    transition: transform 0.25s ease;
}
.item img{
    display:block;
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.item:hover{
    transform: scale(1.04);
}
.esquerda img,.direita img{
    width:14rem;
    opacity:0.6;
    transform:scale(0.8);
}
.centro img{
    width:18rem;
    transform:scale(1);
    
}
.esquerda img,
.direita img{
    transform:scale(0.85);
}
/* fade */
.fade{
    opacity:0;
}

.esquerda img:hover,
.direita img:hover,
.centro img:hover{
    transform: scale(1.04);
}
/* animação quando vai para a direita */
.move-direita{
    animation: moverDireita 0.35s ease;
}

/* animação quando vai para a esquerda */
.move-esquerda{
    animation: moverEsquerda 0.35s ease;
}


.seta{
    background:none;
    border:none;
    cursor:pointer;
    padding:0;
}
.seta img{
    width:2rem;   /* controle o tamanho aqui */
}
/* quando está saindo */
.fade-esquerda{
    opacity:0;
    transform: translateX(-40px);
}

.fade-direita{
    opacity:0;
    transform: translateX(40px);
}


/*Page2*/
#divisao{
    background-color: #AD997E;
    height: 5rem;
    margin: 2rem 0 0rem 0;
}

#page2{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
#page2 h1{
    font-size: 1.5rem;
}
#page2 p{
    font-size: 1.3rem;
}
.container{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50vw;
    margin: 2rem;
    gap: 1rem;
}
.gameCard img{
    width: 24vw;
}
.gameCardBig img{
    width: 50vw;
}
.gameCard,
.gameCardBig{
    transition: transform 0.25s ease;
}

.gameCard:hover,
.gameCardBig:hover{
    transform: scale(1.04);
}

/*Footer*/
footer {
    background-color: #AD997E;
    margin-top: 2rem;
    background-image: url('img/Home/TerasLogoBagroundFooter.png'); 
    background-size: contain;
    background-position: center; 
    background-repeat: no-repeat; 

}
#infosContainer {
    display: flex;
    padding: 2rem 6rem;
    justify-content: space-between;
}
#infosContainer h2 {
    font-family: CaesarDressing;
    font-size: 3rem;
    margin-bottom: 10px;
}
#infosContainer p {
    font-size: 1.3rem;
    font-family: Anton;
    color: #fff;
}
#infosContainer img{
    width: 35px;
}
.socialMedia {
    display: flex;
    gap: 12px;
    font-size: 1.3rem;
    font-family: Anton;
    color: #fff;
    width: fit-content;
    text-decoration: none;
}
.socialMedia:hover {
    transform: scale(1.03);
    transition: ease-in-out .2s;
}
#teamContainer {
    text-align: center;
}
#teamContainer span{
    color:#5A4933 ;
}
#projectsContainer {
    text-align: left;
}
#projectsContainer a{
    display: flex;
    gap: 12px;
    font-size: 1.3rem;
    font-family: Anton;
    color: #fff;
    width: fit-content;
    text-decoration: none;
}
#projectsContainer a:hover{
    transform: scale(1.03);
    transition: ease-in-out .2s;
}
#contacts {
    display: flex;
    flex-direction: column;
    padding: 2rem 6rem;
    justify-content: space-between;
}
#contacts p {
    font-size: 1rem;
    font-family: Anton;
    color: #fff
}
#contacts span {
    font-size: 1.3rem;
    font-family: Anton;
    color: #5A4933
}
#contacts h2 {
    font-family: CaesarDressing;
    font-size: 3rem;
    margin-bottom: 10px;
}
.contactsElement{
    display: flex;
    gap: 2rem;
}


@keyframes moverDireita{

    0%{
        transform:translateX(2rem);
    }

    100%{
        transform:translateX(-3rem);
    }



}

@keyframes moverEsquerda{

    0%{
        transform:translateX(-3rem);
    }

    100%{
        transform:translateX(2rem);
    }

}