@font-face {
    font-family: CALIST;
    src: url(../fonts/CALIST.TTF);
}

*{
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    font-size: 100%;
    font-family: CALIST;
}

.nav-bar{
    background-color: #59c2be;
    height: 80px;
    position: fixed;
    width: 100%;
}

.image-navbar{
    float: left;
    margin-top: 5px;
    margin-left: 15px;
}

.logo-name-navbar{
    color: #e0f0ef;
    font-size: 35px;
    line-height: 70px;
}

.logo-name-navbar sup{
    font-size: 25px;
}

.object-list-navbar{
    float: right;
    margin-right: 5%;
}

.object-list-navbar li{
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
}

.object-list-navbar li a{
    color: #e0f0ef;
    font-size: 27px;
    padding: 7px 13px;
    border-radius: 3px;
    text-align: uppercase;
    transition: color 0.5s;
}

.object-list-navbar li a:hover{
    color: #e7b988;
}

.object-list-navbar li a#onlink{
    color: #e7b988;
    font-size: 32px;
}

.space-top{
    height: 80px;
}

.line-text{
    margin-top: 40px;
    text-align: center;
    font-size: 30px;
    padding-bottom: 25px;
    color: #686464;
    background:
      radial-gradient(farthest-side, #59c2be 90%,transparent ) bottom/ 10px 10px,
      linear-gradient(#59c2be 0 0) bottom 4px left  calc(50% - 25%)/ 30% 2px,
      linear-gradient(#59c2be 0 0) bottom 4px right calc(50% - 25%)/ 30% 2px;
    background-repeat:no-repeat;
}

.line{
    text-align: center;
    font-size: 30px;
    padding-bottom: 25px;
    color: #686464;
    background:
      radial-gradient(farthest-side, #59c2be 90%,transparent ) bottom/ 10px 10px,
      linear-gradient(#59c2be 0 0) bottom 4px left  calc(50% - 25%)/ 30% 2px,
      linear-gradient(#59c2be 0 0) bottom 4px right calc(50% - 25%)/ 30% 2px;
    background-repeat:no-repeat;
}

.Title{
    text-align: center;
    color: #686464;
    padding: 20px 20px;
    font-size: 30px;
}

.objects{
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    text-align: center;
    margin: auto;
    width: 70%;
}

.contact-item{
    flex: 1;
}

.sliding-background{
    background: url("../images/banner.jpg") repeat-x;
    width: 100%;
    height: 300px;
}

.text-quienes-somos{
    padding: 40px 20px;
    text-align: left;
    color: #686464;
    width: 60%;
    font-size: 20px;
    margin: 0px auto;
    text-align: justify;
    text-justify: inter-word;
}

.text-quienes-somos sup{
    font-size: 14px;
}

.text{
    padding: 40px 20px;
    text-align: left;
    color: #686464;
    width: 60%;
    font-size: 16px;
    margin: 0px auto;
}

.centered-text{
    text-align: center;
    color: #686464;
    font-size: 16px;
    margin: 0px auto;
}

.bold-yellow{
    font-size: 22px;
    color:#59c2be;
    font-weight: bold;
    text-align: center;
}

.contact-form{
    margin-top: 50px;
    margin-left: -10px;
    width: 100%;
    height: 360px;
    background-color: #e2e2e2;
    text-align: center;
}

.input-field{
    width: 15%;
    height: 50px;
    margin-top: 40px;
    padding-left: 10px;
    padding-right: 10px;
    display: inline-block;
    margin-left: 20px;
    border: 1px solid #59c2be;
}

.text-area{
    width: calc(45% + 50px);
    height: 150px;
    margin-top: 20px;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    display: inline-block;
    border: 1px solid #59c2be;
}

.input-field:focus{
    border-color: #59c2be;
    box-shadow: 0 4px 4px rgba(229, 103, 23, 0.075) inset, 0 0 8px#59c2be;
    outline: 0 none;
}

.form-button{
    background-color: #59c2be;
    border: none;
    color: white;
    margin-top: 20px;
    padding: 15px 32px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.5s;
}

.form-button:hover{
    color: #e7b988;
}

.checkbtn{
    cursor: pointer;
    float: left;
    margin-top: 13px;
    margin-left: 10px;
    margin-right: 10px;
    display: none;
}

#check{
    display: none;
}

.alert{
    position: fixed;
    top: 80px;
    padding: 20px;
    width: 100%;
    color: white;
    font-size: 25px;
    opacity: 1;
    line-height: 25px;
    transition: opacity 0.6s;
    margin-bottom: 15px;
}
  
.alert.success{
    background-color: #04AA6D;
}
.alert.info{
    background-color: #2196F3;
}
.alert.warning{
    background-color: #ff9800;
}
.alert.error{
    background-color: #f44336;
}

.closebtn{
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 25px;
    line-height: 25px;
    cursor: pointer;
    transition: 0.3s;
}

.closebtn:hover{
    color: black;
}

@media (max-width: 1100px){
    .input-field{
        margin-left: auto;
        margin-right: auto;
        width: calc(100% - 80px);
        margin-top: 10px;
    }
    .contact-form{
        height: 480px;
        background: #e2e2e2;
    }
    .text-area{
        padding-top: 10px;
    }
    .form-button{
        margin-top: 50px;
    }
}


@media (max-width: 800px){
    .checkbtn{
        display: block;
    }
    .image-navbar{
        display: none;
    }
    .object-list-navbar{
        position: fixed;
        background: #59c2be;
        width: calc(40% + 50px);
        height: 100%;
        left: -100%;
        text-align: left;
        transition: .5s
    }
    .object-list-navbar li{
        display: block;
    }
    #check:checked ~ ul{
        left: 0px;
    }
    .text-quienes-somos{
        width: 70%;
    }
    .text{
        width: 70%;
    }
    .line{
        background:
            radial-gradient(farthest-side, #59c2be 90%,transparent ) bottom/ 10px 10px,
            linear-gradient(#59c2be 0 0) bottom 4px left  calc(50% - 35%)/ 35% 2px,
            linear-gradient(#59c2be 0 0) bottom 4px right calc(50% - 35%)/ 35% 2px;
        background-repeat:no-repeat;
    }
    .line-text{
        background:
            radial-gradient(farthest-side, #59c2be 90%,transparent ) bottom/ 10px 10px, 
            linear-gradient(#59c2be 0 0) bottom 4px left  calc(50% - 35%)/ 35% 2px,
            linear-gradient(#59c2be 0 0) bottom 4px right calc(50% - 35%)/ 35% 2px;
        background-repeat:no-repeat;
    }    
}

@media (max-width: 550px){
    .text-quienes-somos{
        width: 80%;
    }
    .text{
        width: 80%;
    }
    .line{
        background:
            radial-gradient(farthest-side, #59c2be 90%,transparent ) bottom/ 10px 10px,
            linear-gradient(#59c2be 0 0) bottom 4px left  calc(50% - 35%)/ 33% 2px,
            linear-gradient(#59c2be 0 0) bottom 4px right calc(50% - 35%)/ 33% 2px;
        background-repeat:no-repeat;
    }
    .line-text{
        background:
            radial-gradient(farthest-side, #59c2be 90%,transparent ) bottom/ 10px 10px, 
            linear-gradient(#59c2be 0 0) bottom 4px left  calc(50% - 35%)/ 33% 2px,
            linear-gradient(#59c2be 0 0) bottom 4px right calc(50% - 35%)/ 33% 2px;
        background-repeat:no-repeat;
    }
}

@media (max-width: 400px){
    .text-quienes-somos{
        text-align: left;
        text-justify: none;
    }
    .text{
        text-align: left;
        text-justify: none;
    }
}