@font-face {
    font-family: 'dmtf-font';
    src: url('../fonts/DtMF\ Font\ -\ nereangs.ttf');
}

@keyframes rotarImagen {
    0% {
        -webkit-transform: rotate(-5deg);
        transform: rotate(-5deg);
        -webkit-transform-origin: bottom left;
        transform-origin: bottom left;
    }

    50% {
        -webkit-transform: rotate(5deg);
        transform: rotate(5deg);
        -webkit-transform-origin: bottom right;
        transform-origin: bottom right;
    }

    100% {
        -webkit-transform: rotate(-5deg);
        transform: rotate(-5deg);
        -webkit-transform-origin: bottom left;
        transform-origin: bottom left;
    }
}


@keyframes rotarImagen2 {
    0% {
        -webkit-transform: rotate(5deg);
        transform: rotate(5deg);
        -webkit-transform-origin: bottom right;
        transform-origin: bottom right;
    }

    50% {
        -webkit-transform: rotate(-5deg);
        transform: rotate(-5deg);
        -webkit-transform-origin: bottom left;
        transform-origin: bottom left;
    }

    100% {
        -webkit-transform: rotate(5deg);
        transform: rotate(5deg);
        -webkit-transform-origin: bottom right;
        transform-origin: bottom right;
    }
}

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

body {
    font-family: Arial, sans-serif;
    background-color: #f3f3f3;
}

.container {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    overflow: hidden;
}

.left {
    flex: 1;
    background-color: #fed009;
    display: flex;
    flex-direction: column;
    padding-top: 30px;
}


.logo{
    margin-top: auto;
    align-self: center;
}

.logo img{
    width: 250px;
}

.title-container{
    margin-top: auto;
    align-self: center;
}


.image-container {
    position: relative;
    line-height: 0;
    margin-top: auto;
    align-self: center;
}

.characters-container {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
    display: flex;
    justify-content: center;
}

.character-1 {
    /* width: 300px; */
    max-width: 100%;
    margin-right: 15px;
    animation: rotarImagen 4s infinite ease-in-out;
}

.character-2 {
    margin-left: 15px;
    /* width: 300px; */
    max-width: 100%;
    animation: rotarImagen2 4s infinite ease-in-out;
}

.image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: cover;
}

.countdown {
    margin-top: auto;
    color: #3388c0;
    text-align: center;
    font-size: 2.4rem;
    font-family: 'dmtf-font';
}

.right {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #3388c0;
    color: #fff;
}

.h2-font {
    font-size: 4rem;
    margin-bottom: 20px;
    font-family: 'dmtf-font';
    letter-spacing: 3px;
    inline-size: min-content;
}


input,
button {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    font-size: 1rem;
    border: 1px solid #fffbd2;
    border-radius: 30px;
}

input {
    outline: none;
    background: #fffbd2;
    color: #3388c0;
}

button {
    padding: 1rem;
    background: #ef353f;
    font-family: 'dmtf-font';
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.3rem;
    cursor: pointer;
    transition: 0.3s ease;
}

button:hover {
    background: #e60023;
}


.input-group {
    position: relative;
    margin: 1.8rem 0
  }

  .input-group label {
    position: absolute;
    top: -10px;
    left: 20px;
    background-color: #fffbd2;
    color: #3388c0;
    padding: 7px 10px;
    font-size: 15px;
    font-family: 'dmtf-font';
    border-radius: 15px 15px 0 0;
    z-index: 1;
    width: max-content;
  }



.tc{
    color: white;
    font-size: 17px;
    text-decoration: none;
    text-align: center;
}

.swal2-title{
    font-family: 'dmtf-font';
    color: #3388c0;
    font-weight: 100;
}

@media screen and (max-width: 1349px) {
    .character-1 {
        width: 200px;
    }

    .character-2 {
        width: 200px;
    }
}


@media screen and (max-width: 1100px) {
    .character-1 {
        width: 160px;
    }

    .character-2 {
        width: 160px;
    }
}

@media screen and (max-width: 800px) {
    .container {
        flex-direction: column;
    }

    .left {
        order: 1;
        padding: 20px 20px 0 20px;
    }

    .right {
        order: 2;
        padding: 20px;
    }
}

@media screen and (max-width: 500px) {
    .character-1 {
        margin-right: 5px;
        width: 150px;
    }

    .character-2 {
        margin-right: 5px;
        width: 150px;
    }

    .countdown {
        font-size: 2rem;
    }

    .h2-font {
        font-size: 3rem;
        align-self: center;
    }

    .input-group label {
        left: 50%;
        transform: translate(-50%, 0);
        width: max-content;
    }

    .logo img{
        width: 200px;
    }
}


@media screen and (max-width: 400px) {
    .character-1 {
        width: 120px;

    }

    .character-2 {
        width: 120px;
    }
}

@media screen and (max-width: 320px) {
    .character-1 {
        width: 100px;

    }

    .character-2 {
        width: 100px;
    }
}