
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Fira Sans', sans-serif;
    scroll-behavior: smooth;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: linear-gradient(45deg, #070707d3, #070707d3), url('../img/JOIfondo.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

/* ========== IMAGEN LOGO ========== */
.site {
    display: flex;
    justify-content: center;
    align-items: end;
    width: 50%;
    height: 40vh;
}

.site img {
    width: 20%;
    filter: drop-shadow(4px 4px 4px #f7a52957);
}

/* ============== WHATSAPP FLOTANTE ============== */
.social-media {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 40px;
    right: 40px;
    z-index: 999;
    border-radius: 50%;
    font-size: 35px;
    background: #239137;
    animation: efecto 1.2s infinite;
}

.social-media a {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: .5s ease;
    color: #fff;
    width: 50px;
    height: 50px;
    text-decoration: none;
    background: #239137;
    transition: transform 0.3s ease-in-out;
}

.social-media a:hover {
    border-radius: 50%;
    border: none;
    width: 50px;
    height: 50px;
    color: #fff;
    background: #239137;
    transform: scale(1.2);
}

.social-media a i {
    font-size: 30px;
    background: transparent;
}

@keyframes efecto {

    0% {
        box-shadow: 0 0 0 0 #2391375b;
    }

    100% {
        box-shadow: 0 0 0 15px #2391375b;
    }
}

/* ========== CONTENIDO ========== */
.siteweb {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 25vh;
}

.siteweb .container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.siteweb .container .content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 25%;
    height: 100%;
    border-radius: 10px;
}

.siteweb .container img {
    width: 120px;
    height: 120px;
    animation: girar 10s linear infinite;
    will-change: transform;
}

@keyframes girar {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.siteweb .container .content h1 {
    font-size: 4.5rem;
    color: #f7a429;
    filter: drop-shadow(2px 5px 5px #f7a52958);
}

.siteweb .container .content h2 {
    font-size: 2rem;
    color: #ffffff;
    filter: drop-shadow(2px 5px 6px #91919194);
}

/* ========== LOADING ========== */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 10vh;
    gap: 35px;
}

.loading article {
    width: 15px;
    height: 15px;
    background: #f7a429;
    border-radius: 25px;
    animation: cycle 1s alternate infinite;
}

.loading article:nth-child(1) {
    animation-delay: 0.20s;
}

.loading article:nth-child(2) {
    animation-delay: 0.40s;
}

.loading article:nth-child(3) {
    animation-delay: 0.60s;
}

.loading article:nth-child(4) {
    animation-delay: 0.80s;
}

.loading article:nth-child(5) {
    animation-delay: 0.90s;
}

@keyframes cycle {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* ========== FOOTER ========== */
.redes {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 40%;
    height: 20vh;
}

.redes h2 {
    text-align: center;
    width: 100%;
    height: 6vh;
    font-size: 24px;
    color: #fff;
    filter: drop-shadow(2px 5px 6px #91919194);
}

.redes .sci {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 70%;
    height: 60%;
    list-style: none;
}

.redes .sci li a {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    color: #fff;
    transition: .5s ease;
    text-decoration: none;
}

.redes .sci li a:hover {
    background: #fff;
    color: #4f391c;
    scale: 1.2;
}

/* ========== BREAKPOINTS ========== */
@media (max-width: 1200px) {
     /* ========== IMAGEN LOGO ========== */
    .site {
        width: 100%;
        height: 30vh;
    }

    .site img {
        width: 130px;
    }

    /* ============== WHATSAPP FLOTANTE ============== */
    .social-media {
        bottom: 30px;
        right: 20px;
    }

    /* ============== CONTENIDO ============== */

    .siteweb .container {
        display: flex;
        justify-content: stretch;
        width: 40%;
        height: 100%;
    }

    .siteweb .container .content {
        width: 80%;
    }

    .siteweb .container .content h1 {
        text-align: center;
        width: 100%;
        font-size: 3rem;
    }

    .siteweb .container .content h2 {
        font-size: 1.5rem;
    }

    .siteweb .container img {
        width: 120px;
        height: 120px;
    }

    /* ============== REDES ============== */
    .redes {
        width: 80%;
        height: 30vh;
    }

    .redes h2 {
        font-size: 27px;
    }
}

@media (max-width: 1024px) {
    /* ========== IMAGEN LOGO ========== */
    .site {
        width: 100%;
        height: 30vh;
    } 
    
    .site img {
        width: 130px;
    }

    /* ============== WHATSAPP FLOTANTE ============== */
    .social-media {
        bottom: 30px;
        right: 20px;
    }

    /* ============== CONTENIDO ============== */

    .siteweb .container {
        display: flex;
        justify-content: stretch;
        width: 40%;
        height: 100%;
    }

    .siteweb .container .content {
        width: 80%;
    }

    .siteweb .container .content h1 {
        text-align: center;
        width: 100%;
        font-size: 3rem;
    }

    .siteweb .container .content h2 {
        font-size: 1.5rem;
    }

    .siteweb .container img {
        width: 120px;
        height: 120px;
    }

    /* ============== REDES ============== */
    .redes {
        width: 80%;
        height: 30vh;
    }

    .redes h2 {
        font-size: 27px;
    }
}

@media (max-width: 768px) {

    /* ========== IMAGEN LOGO ========== */
    .site {
        width: 100%;
        height: 30vh;
    }

    .site img {
        width: 100px;
    }

    /* ============== WHATSAPP FLOTANTE ============== */
    .social-media {
        bottom: 30px;
        right: 20px;
    }

    /* ============== CONTENIDO ============== */

    .siteweb .container {
        flex-direction: column-reverse;
        width: 100%;
        height: 100%;
    }

    .siteweb .container .content {
        width: 70%;
    }

    .siteweb .container .content h1 {
        text-align: center;
        width: 100%;
        font-size: 2.5rem;
    }

    .siteweb .container .content h2 {
        font-size: 1.3rem;
    }

    .siteweb .container img {
        width: 80px;
        height: 80px;
    }

    /* ============== REDES ============== */
    .redes {
        width: 80%;
        height: 30vh;
    }
}

@media (max-width: 480px) {

    /* ========== IMAGEN LOGO ========== */
    .site {
        width: 100%;
        height: 30vh;
    }

    /* .site img {
        width: 23%;
    } */

    /* ============== WHATSAPP FLOTANTE ============== */
    .social-media {
        bottom: 30px;
        right: 20px;
    }

    /* ============== CONTENIDO ============== */

    .siteweb .container {
        flex-direction: column-reverse;
        width: 100%;
        height: 100%;
    }

    .siteweb .container .content {
        width: 70%;
    }

    .siteweb .container .content h1 {
        text-align: center;
        width: 100%;
        font-size: 2.5rem;
    }

    .siteweb .container .content h2 {
        font-size: 1.3rem;
    }

    .siteweb .container img {
        width: 75px;
        height: 75px;
    }

    /* ============== REDES ============== */
    .redes {
        width: 80%;
        height: 30vh;
    }
}

@media (max-width: 320px) {

    /* ========== IMAGEN LOGO ========== */
    .site {
        width: 100%;
        height: 30vh;
    }

    .site img {
        width: 30%;
    }

    /* ============== WHATSAPP FLOTANTE ============== */
    .social-media {
        bottom: 30px;
        right: 20px;
    }

    /* ============== CONTENIDO ============== */

    .siteweb .container {
        flex-direction: column-reverse;
        width: 100%;
        height: 100%;
    }

    .siteweb .container .content {
        width: 70%;
    }

    .siteweb .container .content h1 {
        width: 70%;
        font-size: 2.3rem;
    }

    .siteweb .container .content h2 {
        font-size: 1.3rem;
    }

    .siteweb .container img {
        width: 70px;
        height: 70px;
    }

    /* ============== REDES ============== */
    .redes {
        width: 80%;
        height: 30vh;
    }
}