@font-face {
    font-family: 'Barlow';
    src: url('./Font/Barlow-Black.ttf') format('truetype');
    /* Ajusta la ruta al archivo */
    font-weight: black;
    /* O también puedes usar 900 */
    font-style: normal;
}

@font-face {
    font-family: 'Barlow';
    src: url('./Font/Barlow-ExtraBoldItalic.ttf') format('truetype');
    /* Ajusta la ruta al archivo */
    font-weight: 500;
    /* O también puedes usar 900 */
    font-style: italic;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('./Font/BarlowCondensed-Regular.ttf') format('truetype');
    /* Ajusta la ruta al archivo */
    font-weight: normal;
    /* Para regular, usa normal o 400 */
    font-style: normal;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('./Font/BarlowCondensed-BoldItalic.ttf') format('truetype');
    /* Ajusta la ruta al archivo */
    font-weight: bold;
    /* Para la versión en negrita */
    font-style: italic;
    /* Para la versión en cursiva */
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('./Font/BarlowCondensed-Medium.ttf') format('truetype');
    /* Ajusta la ruta al archivo */
    font-weight: 500;
    /* Peso para la versión Medium */
    font-style: normal;
    /* Normal (no cursiva) */
}

@font-face {
    font-family: 'Barlow Semi Condensed';
    src: url('./Font/BarlowSemiCondensed-Medium.ttf') format('truetype');
    /* Ajusta la ruta al archivo */
    font-weight: 500;
    /* Peso para la versión Medium */
    font-style: normal;
    /* Normal (no cursiva) */
}

body {
    font-family: 'Barlow Condensed', sans-serif;
    width: 100vw;
    height: 100vh;
}

html {
    height: 100vh;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    width: 100%;
    height: 100vh;
    background-color: #F56500;
    background-image: url('./Media/CorazonMorado.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.contentContainer {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.logoContainer {
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
}

.logoContainer img {
    width: 200px;
}

.titleContainer {
    width: 100vw;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: -2px;
}

.textContainer h1 {
    font-family: 'Barlow';
    font-size: 50px;
    font-weight: 500;
    font-style: italic;
    color: #681319;
    line-height: 50px;
}

.textContainer h1 span {
    font-family: 'Barlow';
    font-weight: 600;
    font-size: 55px;
    margin-top: -10px;
}

.imageContainer {
    width: 18%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.imageContainer img {
    width: 100%;
}

.descriptionContainer {
    width: 35%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.descriptionContainer p {
    font-family: 'Barlow Condensed';
    font-size: 22px;
    color: #681319;
    text-align: center;
}

.buttonContainer {
    display: flex;
    flex-direction: row;
    margin-top: 10px;
}

@keyframes pendulum {
    0% {
        transform: rotate(15deg);
        /* Rotación hacia la derecha */
    }

    50% {
        transform: rotate(-15deg);
        /* Rotación hacia la izquierda */
    }

    100% {
        transform: rotate(15deg);
        /* Regreso a la posición inicial */
    }
}

.buttonContainer:hover {
    transform: scale(1.1);

    & .ghost {
        animation: pendulum 1.5s ease-in-out infinite;
    }
}

.button {
    width: 250px;
    height: 70px;
    background-color: #681319;
    color: #B88ACC;
    font-family: 'Barlow Condensed';
    font-size: 26px;
    font-weight: 500;
    border: none;
    border-radius: 10px;
    margin-top: 20px;
    cursor: pointer;
    line-height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 5px;
    margin-left: 50px;
}

.button span {
    font-family: 'Barlow Condensed';
    font-weight: bold;
    font-style: italic;
    font-size: 28px;
}

.ghost {
    width: 100px;
    margin-left: -50px;
}

.ghost img {
    width: 100%;
}

.footer {
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #681319;
    position: absolute;
    bottom: 10px;
    padding: 10px 0;
}

.footer img {
    height: 50px;
}

@media (min-width: 768px) and (max-width: 1024px) {

    .container {
        background-size: cover;
        background-position: center;
    }

    .logoContainer img {
        width: 300px;
        margin-top: 40px;
    }

    .textContainer h1 {
        font-size: 70px;
        line-height: 60px;
    }

    .textContainer h1 span {
        font-size: 80px;
    }

    .imageContainer {
        width: 45%;
    }

    .descriptionContainer {
        width: 50%;
    }

    .descriptionContainer p {
        font-size: 40px;
    }

    .buttonContainer {
        align-items: center;
        justify-content: center;
    }

    .button {
        width: 350px;
        height: 100px;
        font-size: 35px;
        margin-left: 20px;
        line-height: 34px;
    }

    .button span {
        font-size: 45px;
    }

    .ghost {
        width: 80px;
        margin-left: -20px;
    }

    .buttonContainer:hover {
        transform: scale(1.1);

        & .ghost {
            animation: pendulum 1.5s ease-in-out infinite;
        }
    }
}

@media (max-width: 767px) {

    .logoContainer {
        transform: scaleX(-1);
    }

    .logoContainer img{
        width: 150px;
    }

    .container {
        background-size: cover;
        background-position: center;
        height: 100%;
        transform: scaleX(-1);
    }

    .titleContainer {
        flex-direction: column;
        transform: scaleX(-1);
    }

    .textContainer h1 {
        font-size: 30px;
        line-height: 30px;
    }

    .textContainer h1 span {
        font-size: 32px;
    }

    .imageContainer {
        width: 55%;
    }

    .descriptionContainer {
        width: 70%;
        transform: scaleX(-1);
    } 

    .descriptionContainer p {
        font-size: 18px;
    }

    .buttonContainer {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: scaleX(-1);
    }

    .button {
        width: 260px;
        height: 60px;
        margin-left: 0;
        justify-content: center;
        align-items: center;
        font-size: 20px;
        padding-bottom: 10px;
    }

    .button span {
        font-size: 25px;
    }

    .ghost {
        width: 80px;
        margin-left: 0;
        margin-top: -15px;
        animation: pendulum 1.5s ease-in-out infinite;
    }

    .buttonContainer:hover {
        transform: scaleX(-1);

        & .ghost {
            transform: scaleX(-1);
        }
    }

    .footer {
        bottom: 0;
        transform: scaleX(-1);
    }

    .footer img {
        height: 40px;
    }

    .loading {
        transform: scaleX(-1);
    }
}