@import url('https://fonts.googleapis.com/css2?family=Poppins: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;
    text-decoration: none;
    list-style: none;
}

body {
    background-color: #080202;
    font-family: 'Poppins', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    background-color: #131212;
}

.cabecera {
    display: flex;
    flex-direction: column;
    width: 1150px;
}

.menu {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 100;
}

.nav_bar {
    display: flex;
    justify-content: space-between;
}

.menu_1 {
    display: flex;
    align-items: center;
    margin-right: 100px;
}

.menu_2 {
    margin-left: 100px;
    display: flex;
    align-items: center;
}

.logo_1 {
    width: 0;
}

.logo_2 {
    width: 380px;
    height: 70px;
}

.servicios li img {
    width: 50px;
    float: inline-start;
}

.socials {
    display: flex;
}

.social {
    margin: 0 10px;
    height: 40px;
    width: 40px;
    border: 1px solid #db241b;
    border-radius: 50px;

    transition: all 0.3s ease-in;
}

.social:hover {
    background-color: #db241b;
}

.social img {
    margin: 8px 0 0 10px;
}

.menu .nav_bar ul li {
    position: relative;
    float: left;
}

.menu .nav_bar ul li a {
    font-size: 18px;
    padding: 20px;
    color: #fff;
    display: block;

    transition: all 0.3s ease-in;
    border-radius: 10px;
}

.menu .nav_bar ul li a:hover {
    background-color: #db241b;
}

.menu .nav_bar ul li a.selected {
    color: #db241b;
    font-weight: 600;
}

.menu .nav_bar ul li a.selected:hover {
    color: #fff;
}

#menu {
    display: none;
}

.menu_icono {
    width: 25px;
}

.menu label {
    cursor: pointer;
    display: none;
}

.header_content {
    margin-top: 200px;
    padding-bottom: 50px;
}

.container-form {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.blur {
    visibility: hidden;
}

form {
    width: 450px;
}

.form-box {
    margin-top: 15%;
    margin-bottom: 10%;
    position: relative;
    width: 620px;
    height: 600px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    background-color: #323232;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.842);
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-box h2 {
    color: #fff;
    text-align: center;
    font-size: 30px;
}

.form-box .input-box {
    position: relative;
    margin: 30px 0;
    border-bottom: 2px solid #fff;
}

.form-box .input-box input {
    width: 100%;
    height: 45px;
    background: transparent;
    border: none;
    outline: none;
    padding: 0 30px 0 5px;
    color: #fff;
    font-size: 16px;
}

.form-box .input-box textarea {
    width: 100%;
    height: 65px;
    background: transparent;
    border: none;
    outline: none;
    padding: 0 25px 0 5px;
    font-size: 17px;
    color: #fff;

    resize: none;
}

.form-box .input-box ::placeholder {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    color: #857f7f;
}

.input-box i {
    font-size: 25px;
    position: absolute;
    color: #fff;
    top: 13px;
    right: 0;
}

input::placeholder {
    color: #ffffff;
}

.btn {
    color: #fff;
    background: transparent;
    width: 100%;
    height: 50px;
    border-radius: 5px;
    outline: none;
    border: none;
    font-size: 19px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 3px 0 10px rgba(0, 0, 0, 0.5);
}

.button {
    border-radius: 20px;
    border: 1px solid #ffb900;
}

.button:hover {
    background-color: #ffb900;
    transition: all 0.3s ease-in;
}

#result {
    color: red;
    font-size: 14px;
    position: relative;
    top: 25px;
}

.popup {
    width: 400px;
    background-color: #fff;
    border-radius: 6px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s, top 0.4s;
    visibility: hidden;
    text-align: center;
    padding: 0 30px 30px;
    height: 330px;
    color: #000;
}

.popup ion-icon {
    color: #00ff00;
    font-size: 95px;
    margin-top: 20px;
}

.popup button {
    width: 100%;
    background: rgb(224, 76, 76);
    padding: 10px 0;
    margin-top: 20px;
    border: none;
    outline: none;
    font-size: 18px;
    color: #000;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.4);
}

.popup a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 2px;
}

.popup h2 {
    font-weight: 500;
    font-size: 30px;
    margin: 10px 0 10px;
}

.open-slide {
    top: 50%;
    transform: translate(-50%, -50%) scale(1);
    visibility: visible;
}

.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 80px;
    height: 80px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.whatsapp-button.show {
    opacity: 1;
    transform: translateY(0);
}

.whatsapp-button:hover {
    transform: scale(1.2);
}

.whatsapp-button img {
    width: 100%;
    height: auto;
}

@media (max-width: 1030px) {
    .cabecera {
        width: 90%;
    }

    .menu_1 {
        margin-right: auto;
    }

    .menu_2 {
        margin-left: auto;
    }

    .form-box {
        margin-top: 20%;
        position: relative;
        width: 550px;
        height: 550px;
        border: 2px solid rgba(255, 255, 255, 0.5);
        border-radius: 20px;
        background-color: #323232;
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.842);
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

@media (max-width: 991px) {
    .menu {
        margin-left: 10%;
    }

    .menu_2 {
        display: none;
    }

    .menu label {
        display: initial;
    }

    .menu .nav_bar {
        position: absolute;
        width: 60%;
        top: 100%;
        left: 0;
        right: 0;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
        background-color: #4b4a4a;
        display: none;
    }

    .menu .nav_bar ul li {
        width: 100%;
    }

    #menu:checked ~ .nav_bar {
        display: initial;
    }

    .form-box {
        width: 70%;
    }

    form {
        width: 70%;
    }

    .form-box .input-box input {
        padding: 0 30px 0 5px;
    }

    .form-box .input-box textarea {
        padding: 0 25px 0 5px;
    }
}

@media screen and (max-width: 435px) {
    header {
        width: 95%;
    }

    .logo_2 {
        margin-top: 0;
        width: 225px;
        height: 50px;
    }

    .menu_2 {
        display: none;
    }

    .menu label {
        display: initial;
    }

    .menu .nav_bar {
        position: absolute;
        width: 50%;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
        background-color: #4b4a4a;
        display: none;
    }

    .menu .nav_bar ul li {
        width: 100%;
    }

    #menu:checked ~ .nav_bar {
        display: initial;
    }

    .form-box {
        margin-top: 0;
        width: 80%;
    }

    form {
        width: 80%;
    }

    .form-box h2 {
        font-size: 25px;
    }

    .form-box .input-box input {
        padding: 0 30px 0 5px;
    }

    .form-box .input-box textarea {
        padding: 0 25px 0 5px;
    }

    .btn {
        font-size: 17px;
    }

    .whatsapp-button {
        bottom: 3%;
        right: 3%;
        width: 60px;
        height: 60px;
    }
}
