body{
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #f5fafa;
    font-family: "Inter", sans-serif;
}

html {
  scroll-behavior:smooth;
}

/*-----------------------------------Image background - Slider--------------------------------------------*/
.Background_Container{
    height: 35rem;
    width: 100%;
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out;
    z-index: -2;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
}

.backgroundImage{
    background-size: cover;
    background-position: center;
}

.overlay {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); 
  z-index: -1; 
}

.nav_bar{
    z-index: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    
    
}

.logo{
    width: 7rem;
    height: 7rem;
    margin: 10px;
    border-radius: 100%;
    z-index: 1;
}

.lenguages_buttons{
    display: flex;
    flex-direction: row;
    justify-content: end;
}

.lenguage_button{
    width: 30px;
    height: 20px;
    margin: 5px;
    margin-top: 10px;
    border-style: none;
    text-align: center;
    transition: all 300ms;
}

.lenguage_button:hover{
    width: 40px;
    height: 30px;
}

.es{
    background-image: url(./media/es.jpg);
    background-size: cover;
}

.eng{
    background-image: url(./media/eng.jpg);
    background-size: cover;
}

.pt{
    background-image: url(./media/pt.jpg);
    background-size: cover;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    color: white;
}

.main_text{
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

h1{
    font-size: 4rem;
    text-align: center;
}

h3{
    width: 90%;
    font-size: 40px;
    text-align: center;
}

.act_Button{
    background-color: #3366CC;
    color: white;
    width: 200px;
    height: 50px;
    border-radius: 20px;
    font-size: 20px;
    border-style: none;
    transition: all 500ms;
}

.act_Button:hover{
    background-color: #5d8dee;
    box-shadow: 0 0 10px #39d4df, 0 0 20px #39d4df, 0 0 20px #39d4df;
    color: rgb(207, 207, 207);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}
/*-----------------------------------MAIN INFO--------------------------------------------*/
.info_container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 10px;
}

.text_container{
    background-color: #afd2ff;
    border-radius: 1rem;
}

.text_container, .img_text{
    flex: 1 1 45%;
    max-width: 45%; 
    min-width: 300px; 
    box-shadow: 0px 2px 8px rgba(0,0,0,0.5); 
}

.img_text{
    border-radius: 20px;
    width: 100%;
}

.info_text{
    font-size: 20px;
    padding: 15px;
}

.list li::before {
    content: "✔";
    color: #00cc99; 
    padding-top: 5px;
}

.list {
  list-style: none; 
}

h4{
    font-size: 1.3rem;
    padding: 15px;
}

/*-----------------------------------FORM SECTION--------------------------------------------*/
.contact_Container{
    background-color: #244b99;
    padding: 20px;
    margin-top: 20px;
    background: linear-gradient(to bottom, #5c91fc, #244b99);
}

.contact_title{
    font-size: 45px;
    font-weight: bold;
    font-style: italic;
    text-align: center;
    color: #f5fafa;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

.content_form {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    color: white;  
}

.form_container{
    width: 70%;
    margin: auto;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.data_input_container{
    width: 70%;
    display: flex;
    flex-direction: row;
    height: 20rem;
    padding: 10px;
}

.inputs{
    margin-right: 10px;
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.form_input{
    width: 80%;
    margin-top: 50px;
    height: 2.3rem;
    border-style: none;
    background-color:  #f5fafa;;
    box-shadow: 0px 2px 8px rgba(0,0,0,0.5);
    font-size: 20px;
    font-family: "Inter", sans-serif;
    transition: all 300ms;
}

.form_input:focus{
    box-shadow: 0 0 10px #2c939b, 0 0 20px #39d4df, 0 0 20px #39d4df;
}

.mesagge_text{
    height: 70%;
    text-align: start;
    width: 80%;
}

.button_Form{
    background-color: #5df0cb;
    border-style: none;
    margin-top: 20px;
    width: 12rem;
    height: 4rem;
    border-radius: 5px;
    font-size: 20px;
    font-family: "Inter", sans-serif;
    transition: all 500ms;
}

.button_Form:hover{
    background-color: #5df0cb;
    box-shadow: 0 0 10px #2c939b, 0 0 20px #39d4df, 0 0 20px #39d4df;
}

/*-----------------------------------PHONE SECTION--------------------------------------------*/
@media (width <= 900px) {

    .Background_Container {
        height: 45rem;
    }
    .text_container, .img_text {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .img_text{
        display: none;
    }

    .data_input_container{
        width: 100%;
        flex-direction: column;
        height: 20rem;
        padding: 10px;
        
    }

    .inputs{
        margin-right: 0px;
        width: 100%;
        
    }

    .form_input{
        width: 100%;
        margin-top: 20px;
        height: 2rem;
        font-size: 15px;
    }
    .mesagge_text{
        height: 80%;
        text-align: start;
        width: 100%;
    }

    .form_container{
        padding: 10px;
    }

    .button_Form{
        width: 10rem;
        height: 2rem;
        font-size: 15px;
    }

    .contact_title{
        font-size: 30px;
    }

    .logo{
        width: 4rem;
        height: 4rem;
        margin: 5px;
    }

    .lenguage_button{
        width: 25px;
        height: 15px;
    }

    .lenguage_button:hover{
        width: 40px;
        height: 30px;
    }
}

/*-----------------------------------PC SCREEN SECTION---------------------------------------------*/
@media (min-width: 1650px) {
    h4 {
        font-size: 1.5rem;
        padding: 15px;
    }
    .info_text {
        font-size: 25px;
    }
}

@media (min-width: 1850px) {
    h4 {
        font-size: 2rem;
        padding: 15px;
    }
    .info_text {
        font-size: 30px;
    }
}
