@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500&display=swap');

:root {
    --color1: #DD5353;
    --color2: #B73E3E;
    --color3: #DBC8AC;
    --color4: #EDDBC0;
    --color-text1: #333;
    --color-text2: #fff;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

#myLandbot {
    position: absolute;
    width: 60%;
    height: 80%;
    margin-left: 20%;
    margin-top: 5%;
}

#close {
    cursor: pointer;
}

#close:hover {
    text-decoration: underline;
}

.modal-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    visibility: hidden;
    z-index: 1;
}

.modal-container2 {
    position: absolute;
    text-align: center;
    top: 0;
    left: 0;
    width: 100vw;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    visibility: hidden;
    z-index: 1;
}

section {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: start;
    padding: 20px 10px;
    position: relative;

}

section .contenedor-texto {
    width: 45%;
    height: calc(100vh - 110px);
}

section .img {
    height: 120px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

section .img img {
    width: auto;
    height: 100%;
}

section h1 {
    font-size: 10vw;
    font-weight: 800;
    margin-bottom: 5px;
    width: 100%;
    color: #fff;
    text-decoration: underline;
    text-align: center;
}

section h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 0px;
    padding-bottom: 0;
    color: #fff;
    width: 100%;
    text-align: center;
}

.container {
    max-width: 850px;
    width: 100%;
    background-color: var(--color-text2);
    padding: 40px 30px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}


.container form {
    height: 100%;
    width: 100%;
    background-color: var(--color-text2);
}

.body-section3 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.container .form-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-content .login-form {
    width: calc(100% / 2 - 25px);
}

.form-content .img-logo {
    width: calc(100% / 2 - 25px);
    height: 400px;
    background-image: url(logo.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

form .form-content .title {
    font-size: 24px;
    font-weight: 500;
    color: #333;
    text-decoration: underline var(--color1);
}

form .form-content .title:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 40px;
    background-color: var(--color1);
}

form .login-form .form-content .title:before {
    margin-top: 30px;
}

form .form-content .input-boxes {
    margin-top: 30px;
}

form .form-content .input-box {
    height: 50px;
    width: 100%;
    align-items: center;
    margin: 10px 0;
    position: relative;
}

form .form-content .input-box input {
    height: 100%;
    width: 100%;
    outline: none;
    border: none;
    padding: 0 30px;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 2px solid var(--color1);
    transition: all 0.3s ease;

}

form .form-content .input-box input:focus,
form .form-content .input-box input:valid {
    border-color: var(--color1);
}

form .form-content .input-box i {
    position: absolute;
    color: var(--color1);
    font-size: 20px;
    top: 15px;
}

form .form-content .text a {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text1);
    text-decoration: none;

}

form .form-content .text a:hover {
    text-decoration: underline;
}

form .form-content .button {
    color: var(--color-text2);
    margin-top: 40px;
}

form .form-content .button input {
    color: var(--color-text2);
    background: var(--color1);
    border-radius: 6px;
    padding: 0;
    cursor: pointer;
    transition: all 0.4s ease;
}

form .form-content .button input:hover {
    background: var(--color4);
    color: var(--color-text1)
}

.btn-float {
    background-color: var(--color-text2);
    border: 1px solid var(--color2);
    position: fixed;
    z-index: 999;
    border-radius: 50%;
    bottom: 20px;
    right: 25px;
    padding: 25px;
    transition: ease 0.3s;
}

.btn-float:hover {
    transform: scale(1.5);
    transition: 0.3s;
}

section p {
    font-weight: 300;
    color: #fff;
    font-size: 28px;
    width: 100%;
    text-align: center;
}

section .links {
    width: 50%;
    height: calc(100vh - 600px);
    display: flex;
    flex-direction: column;
    padding: 10px;
    margin-left: 26%;
}

section .links a.btn {
    background-color: #fff;
    color: var(--color-text1);
    border-radius: 25px;
    padding: 10px 20px;
    border: 1px solid var(--color2);
    box-shadow: 10px #333;
    transition: 0.5s;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    text-decoration: none;
    font-size: 18px;
}

section .links a.btn:hover {
    background-color: hsla(37, 39%, 77%, 0.565);
    color: #fff;
}

section .links a.txt:hover {
    text-decoration: underline #fff;
}

section:nth-child(2) {
    background-image: url(./bg-home1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right;
}


/*FOOTER PAGE*/
#footer {
    position: fixed;
    padding: 20px;
    bottom: 0px;
    height: 70px;
    width: 100%;
    background: var(--color3);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    font-size: 24px;
}

#footer span {
    text-decoration: underline #333;
}

@media screen and (max-width: 1600px) {
    section .contenedor-texto {
        width: 90%;
        align-items: center;
        text-align: center;
        justify-content: center;
    }

    section#myLandbot {
        align-items: center;
        text-align: center;
        justify-content: center;
    }

    section .contenedor-texto {
        background: inherit;
        position: relative;
        z-index: 0;
        overflow: hidden;
        margin: 0 auto;
        box-sizing: border-box;
        box-shadow: 0 .5em 1em rgba(0, 0, 0, .3);
    }

    section .contenedor-texto::before {
        content: "";
        position: absolute;
        z-index: -1;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: #dd53536d;
        box-shadow: inset 0 0 3000px rgba(255, 255, 255, .5);
        filter: blur(10px);
        margin: -20px;
    }

}

@media screen and (max-width: 1230px) {
    #footer {
        font-size: 18px;
    }
}

@media screen and (max-width: 750px) {
    section .links {
        width: 100%;
        margin-left: 0;
    }

    #footer {
        font-size: 14px;
    }

    .container .img-logo {
        display: none;
    }

    form .form-content .input-box input {
        font-size: 12px;
    }

    .form-content .login-form {
        width: 100%;
    }

    section#sec2 h2 {
        margin-left: 0px;
    }

    section#sec2 p {
        margin-bottom: 0;
        font-size: 16px;
    }

    form .form-content .input-box input .placeholder {
        font-size: 10px;
    }
}

@media screen and (max-width: 420px) {
    section .links a.btn {
        margin: 4px;
    }

    #footer {
        font-size: 12px;
    }
}

@media screen and (max-width: 360px) {
    section .links a.btn {
        margin: 4px;
    }

    #footer {
        font-size: 10px;
    }
}

@media screen and (max-height: 853px) {

    section h1,
    section h2 {
        font-size: 50px;
    }

    section p {
        font-size: 32px;
    }

    section .links {
        height: 300px;
    }

    section .links a.btn {
        font-size: 18px;
        padding: 5px 10px;

    }

}

@media screen and (max-height: 667px) {

    section h1,
    section h2,
    section p {
        font-size: 18px;
    }
}

@media screen and (max-height: 409px) {
    section .img{
        height: 90px;
    }
    section .links {
        height: 100px;
    }
    section .links a.btn {
        font-size: 9px;
        margin: 2px;

    }
}