/*-------------------------
    Fuentes Tipografía 
-------------------------*/

/* Poppins Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

/* Fuente Plastimold */
/* @font-face {
    font-family: "plastimold";
    src: url("../assets/fonts/moon_get-Heavy.otf") format("opentype"),
        url("../assets/fonts/moon_get-Heavy.ttf") format("truetype");
} */

/*-------------------------
    Generales
-------------------------*/

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
}

body,
h2,
p {
    font-family: "Poppins", sans-serif;
    color: #fff;
}

body {
    height: 100vh;
    overflow: hidden;
}

h1 {
    display: none;
}

.tickcounter {
    position: relative;
    z-index: 1100;
}

/*-------------------------
    Background
-------------------------*/

.box-bg-container {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 1;
    display: flex;
}

.box {
    flex: 1 1 auto;
    object-position: center;
    object-fit: cover;
    width: 25%;
}

.filtro {
    background-color: rgb(0, 0, 0);
    position: absolute;
    height: 100vh;
    width: 100%;
    z-index: 5;
    opacity: 0.7;
}

/*-------------------------
    Header
-------------------------*/

.header {
    height: 5%;
    width: 100%;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: end;
    align-items: center;
    /* border: 2px solid blue; */
}

/*-------------------------
    Botones de Idoma
-------------------------*/

.header .lang-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 40px;
}

.lang-container .lang-btn {
    background-color: transparent;
    border: none;
    color: #fff;
    transition: all 150ms;
    font-size: 16px;
    font-weight: 300;
}
.lang-container .lang-btn:hover {
    cursor: pointer;
    color: #ffff00;
}
.lang-container .lang-btn:active {
    transform: scale(1.1);
    box-shadow: none;
}

.lang-separator {
    margin: 0 15px;
}

/*-------------------------
    Estilos
-------------------------*/

/* Background */
.container {
    height: 100vh;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    z-index: 5;
}

.content {
    /* border: 2px solid red; */
    height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    position: relative;
    z-index: 10;
}

.logo-container {
    display: flex;
    flex-direction: column;
}

.logo {
    background-image: url("../assets/img/logo-plastimold.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    height: 100px;
}

.logo-subtitle,
.logo-leyend {
    margin: 0 auto;
    font-weight: 300;
}

.logo-subtitle {
    margin-top: 5px;
    font-size: 14px;
}

.logo-leyend {
    font-style: italic;
    font-size: 12px;
}

.text {
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text h2 {
    font-size: 60px;
    font-weight: 600;
}

.text p {
    font-size: 16px;
    font-weight: 400;
    max-width: 600px;
}

.container .time-content {
    display: flex;
    justify-content: center;
    column-gap: 30px;
    align-items: center;
}

.time-content .time {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time .number,
.time .text {
    font-weight: 500;
}

.time .number {
    font-size: 40px;
}

.time .text {
    text-transform: capitalize;
    font-size: 12px;
}

/*-------------------------
    Social Media
-------------------------*/

.section-social-media {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.social-media-title h4 {
    font-weight: 300;
    font-size: 16px;
}

.social-media-container {
    display: flex;
    gap: 25px;
}

.logo-social-media {
    height: 35px;
    width: 35px;
    object-fit: contain;
    object-position: center;
}

/*-------------------------
    Contacto
-------------------------*/

.section-contacto {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.contactos-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

.section-contacto p {
    font-size: 14px;
}

.section-contacto p:hover {
    color: #ffff00;
}

/*-------------------------
    Footer
-------------------------*/

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 10;
    width: 100%;
    height: 5%;
    /* border: 2px solid blue; */
}

.footer small {
    font-size: 12px;
    text-align: center;
}

/*-------------------------
    Responsive
-------------------------*/

@media (max-width: 600px) {
    .header {
        justify-content: center;
    }
    .header .lang-container {
        margin: 0 auto;
    }
    .content {
        height: 73%;
    }
    .text h2 {
        font-size: 30px;
    }

    .text p {
        font-size: 12px;
        max-width: 300px;
    }
    .social-media-title h4 {
        font-size: 12px;
    }
    .section-contacto p {
        font-size: 12px;
    }
    .contact-separator {
        display: none;
    }
    .footer {
        flex-direction: column;
        height: 15%;
    }
    .footer-separator {
        display: none;
    }
    .footer small {
        font-size: 10px;
    }
    .filtro {
        opacity: 0.8;
    }
}

@media (max-width: 300px) {
    .text p {
        font-size: 12px;
    }
    .time .number {
        font-size: 25px;
    }

    .time .text {
        font-size: 10px;
    }
    .container .time-content {
        column-gap: 15px;
    }
}

@media (max-width: 250px) {
    .text p {
        max-width: 200px;
    }
}
