* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Fredoka', sans-serif;
    background-color: white;
    color: black;
    height: 100vh;
    position: relative;
}


@media (max-width: 600px) {
    html {
        font-size: 25px;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 18px;
    }
}

@media (min-width: 601px) {
    html {
        font-size: 30px;
    }
}

@media (min-width: 1024px) {
    html {
        font-size: 36px;
    }
}

@media (min-width: 1400px) {
    html {
        font-size: 45px;
    }
}

.psd {
    position: fixed;
    right: 0;
    top: 0;
}

.pii {
    position: fixed;
    left: 0;
    bottom: 0;
}

.psd, .pii{
    height: auto;
    width: min(600px, 90%);
    z-index: 9999999;
}

.logo {
    position: absolute;
    top: 5%;
    left: 10%;
    transform: translate(-10%, -5%);
    width: min(480px, 40vw);
    height: auto;
    aspect-ratio: 5.7/1;
}

.logo img {
    object-fit: contain;
    width: 100%;
    height: auto;
}

.cuerpo {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 75%;
}

.segunda-fila {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    align-items: center;
    gap: 10vw;
}

.fotos {
    aspect-ratio: 0.95/1;
    width: 300px;
    height: auto;
}

.slogan {
    font-size: min(3vw, 35px);
    text-align: center;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    font-family: "Open Sans", sans-serif;
    line-height: 1.2;
    margin-top: -0.5rem;
    user-select: none;
}	

@media (max-width: 800px) {
    .segunda-fila {
        flex-direction: column;
        gap: 10px;
        justify-content: flex-start;
    }

    .fotos {
        width: 35vw;
    }

    .logo {
        width: 60vw;
    }

    .slogan {
        font-size: 4.2vw;
    }	
}

@media (max-width: 500px) {
    .fotos {
        width: 50vw;
    }
}

.iconos-redes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 2.5rem;
}

.iconos-redes img {
    width: 100%;
    height: auto;
}

.redes {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: end;
}

.title {
    font-size: 1rem;
    text-align: center;
    background-color: #FF914D;
    margin: 0 5vw;
    padding: 5px 5vw;
    border-radius: 16px;
    max-width: 18rem;
}

.subtitle {
    font-size: 0.8rem;
    text-align: right;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
}

