/*----------VARIABLES GENERALES----------*/

:root {
    --color-black: #000000;
    --color-black-trans: #0000007b;
    --color-white: #ffffff;
    --color-orange: #e9b03d;
    --box-shadow: 2px 2px 10px #3d3d3d;
}

/*----------ESTILOS INICIALES----------*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: initial;
    display: block;
}

p a {
    display: inline;
}

body {
    font-family: Poppins;
    font-size: 1.6rem;
    font-weight: 400;
    background-color: var(--color-white);
    max-width: 100dvw;
    height: 100dvh;
    position: relative;

    display: grid;
    grid-template-rows: auto 1fr auto;
}

/*----------ESTILOS HEADER----------*/

.header{
    width: 100%;
    height: 80px;

    display: flex;
    justify-content: center;
    align-items: center;

    position: fixed;
    top: 0;
    left: 0;
    right: 100%;
    transition: background .2s ease-in-out;
    z-index: 999;
}

.header--black{
    background-color: var(--color-black);
    transition: background .2s ease-in-out;
}

.header--black-trans{
    background-color: var(--color-black-trans);
    transition: background .4s ease-in-out;
}

.header__container{
    width: 80%;

    display: flex;
    justify-content: space-between;
    align-items: center;

}

.header__brand{
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--color-white);
    font-size: 1.8rem;
    margin-right: 100px;
    text-wrap: nowrap;
}

.header__brand:hover .header__brand-logo{
    transform:rotate(180deg);
}

.header__brand:hover .header__brand-text{
    letter-spacing: 0.5px;
}

.header__brand-logo{
    transition: transform .3s ease-in-out;
}

.header__brand-text{
    margin-top: 2px;
    transition: letter-spacing .3s ease-in-out;
}

.header__nav{
    display: flex;
    align-items: center;
}

.nav__list{
    display: flex;
    align-items: center;
    gap: 25px;
    height: 80px;
}

.nav__item{
    height: 100%;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.nav__link{
    color: var(--color-white);
    font-size: 1.6rem;
    
    font-weight: 300;
    text-wrap: nowrap;
    cursor: pointer;
    position: relative;

    transition: transform .1s ease-in-out;
}

.nav__item:hover > .nav__link{
    transform: scale(1.1);
}

.nav__toggle{
    display: none;
}

/*----------ESTILOS MAIN----------*/

.main{
    min-height: calc(100dvh);
    min-width: 100dvw;
    max-width: 100dvw;
    overflow: hidden;
}

/* SLIDER STYLES */

/* Contenedor principal del slider */
.slider-container {
    width: 100%;
    height: 100dvh;
    position: relative;
    overflow: hidden;
}

/* Slider (contenedor de los slides) */
.slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

/* Cada slide */
.slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    text-align: center;
    padding: 20px;
    padding-top: 40px;
    z-index: 0;

    display: flex;
    flex-direction: column;
}

/*Contenedir interior de cada slide*/
.slide__content{
    /* max-width: 80%; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    width: 90%;
}

.slide__title{
    padding: 10px 20px;
    font-size: 3rem;
    animation: sliderTitle .5s ease-in-out both;
    text-shadow: 0 0 10px var(--color-black);
}

.slide__button{
    font-size: 1.4rem;
    margin-top: 20px;
    background-color: var(--color-white);
    color: var(--color-black);
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--box-shadow);
}

/* Estilos SLIDE 1 | PRESENTATION */

.presentation__content{
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     /* gap: 10px; */
}

.presentation__subtitle{
    font-size: 2rem;
}

.presentation__img{
    padding: 5px 15px 15px 15px;
    /* background-color: var(--color-white); */
    width: 230px;
}

.presentation__buttons{
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}



/* Estilos SLIDE 2 | PUBLICATIONS */

.publications__content{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.publication{
    flex-basis: 40%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    
}

.publication__type{
    font-size: 2rem;
}

.publication__info-container{
    background-color: var(--color-black-trans);
    border-radius: 20px;
    color: var(--color-black);

    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;

    padding: 20px 15px;

    box-shadow: 2px 2px 10px #3d3d3d;
}

.publication__img{
    width: 150px;
}

.publication__data-container{
    color: var(--color-white);
    text-align: start;
    display: flex;
    flex-direction: column;
    gap: 10px;
}




/* Botones de navegación */
.arrow {
    font-size: 4rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    background-color: transparent;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
}

.arrow.left {
    left: 25px;
}

.arrow.right {
    right: 25px;
}

/*----------ESTILOS FOOTER----------*/

.footer{
    background-color: var(--color-black);
    color: var(--color-white);
}

.footer__container{
    margin: 40px 0;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.footeer__address{
    font-size: 1.6rem;
}

.footerLinks__icons{
    display: flex;
    gap: 20px;
}

.footerLinks__icon{
    width: 40px;
    cursor: pointer;
    transition: transform .3s ease-in-out;
}

.footerLinks__icon:hover{
    transform:scale(1.1)
}

.footerLinks__links a{
    color: var(--color-white);
}

