*,
*::before,
*::after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


footer,
header,
aside {
  display: block;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  height: 100%;
  -ms-text-size-adjust: 100%;
  background-color: white;
  scroll-behavior: smooth;
  font-family: "Source Sans Pro", sans-serif;
}

input,
button,
textarea {
  font-family: inherit;
}

button {
  cursor: pointer;
}

button::-moz-focus-outer {
  padding: 0;
  border: 0;
}

a,
a:visited {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
ol,
ul {
  padding: 0;
}
ul li {
  list-style: none;
  padding: 0;
}

img {
  vertical-align: middle;
  max-width: 100%;
}

p {
  font-size: 18px;
  margin-bottom: 8px;
  color: #595959;
  line-height: 1.3;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

/* Container */

.container {
  max-width: 1100px;
  margin: 0 auto;
}
.main{
    margin: 30px;
    border: 2px solid rgba(0, 0, 0, 0.441);
    position: relative;
}


@keyframes fade{
  from{
    opacity:0.8;
  }
  to{
    opacity:1;
  }
}


.slides{
  overflow:hidden;
  animation-name:fade;
  animation-duration:1s;
  display:none;
  height: 360px;
}

.slides img{
  height: 100%;
  width:100%;
  object-fit: cover;
}

#dot{
  margin:20px auto 0;
  text-align:center;
}
.dot{
  display:inline-block;
  border-radius:9px;
  width: 70px;
  background:#d3d3d3;
  padding:5px;
  margin:5px;
}

fieldset {
    border: 0;
    margin-bottom: 30px;
}
label{
          color: gray;
    font-size: 16px;
    margin-left: 12px;
    margin-bottom: 4px;
    display: inline-block;
}
form button{
      cursor: pointer;
    background-color: #166dc8;
    border: none;
    padding: 10px 40px;
    cursor: pointer;
    color: white;
    font-size: 16px;
    float: right;
    border-radius: 8px;
}
#slider{
  position: relative;
}
.logo{
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
  width: 120px;
  height: auto;
}
@media (max-width:567px){
  #slider{
    width:100%;
  }
  .slides{
    height: 200px;
  }
  .logo{
  width: 80px;
  }
}
.lang{
    position: absolute;
    z-index: 10;
    right: 0;
    background: white;
    padding: 2px;
    border-radius: 5px;
}
.lang img{
      height: 26px;
      transform: scale(1);
      transition: ease .3s;
}
.lang img:hover{
  transform: scale(1.1);
}
#heading{
  display:block;
  text-align:center;
  font-size:2em;
  margin:10px 0px;

}

.modal-form input {
    margin-top: 6px;
}

.form-wrapper{
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
}
.form-item{
  width: 46%;
}
form input, form select, form textarea {
    background-color: #f7f7f7;
    color: #001837;
    width: 100%;
    font-weight: normal;
    border: 1px solid #d7d7d7;
    height: 40px;
    font-size: 14px;
    padding: 10px;
   border-radius: 8px;
}


/* Estilos para desktop */
.tabs-main{
    padding: 70px 0 40px;
}
.tabs {
    display: flex;
    border-bottom: 1px solid #8080808a;
    padding-bottom: 20px;
  }
  
  .tablinks {
    background-color: #16161696;
    border: none;
    padding: 10px 40px;
    cursor: pointer;
    color: white;
    font-size: 18px;
    margin-right: 25px;
    border-radius: 6px;
    opacity: .7;
    transition: all ease .3s;
  }
  .tablinks:hover{
    opacity: 1;
  }
  .active{
    opacity: 1;
    background-color: #166dc8;
    transition: all ease .3s;
  }
  .active:hover{
    background-color: #074990;
  }
  .tabcontent {
    display: none;
    padding: 40px;
    background: #8080802e;
  }
  
  .tabcontent h3 {
    margin-top: 0;
    color: #166dc8;
    padding-bottom: 30px;
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 900;
  }
  


  li {
    font-size: 18px;
    line-height: 1.3;
    border-bottom: 1px solid #80808075;
    margin-bottom: 30px;
    padding-bottom: 30px;
    width: 90%;
}
.tablinks img {
    height: 20px;
    margin-right: 7px;
}
h2{
  font-size: 20px;
}
.post{
      border-bottom: 1px solid #00000059;
    margin-bottom: 20px;
    padding-bottom: 20px;
}
.post:last-child{
  border-bottom: none;
  margin-bottom: 0;
}
  /* Estilos para mobile */
  @media (min-width:250px) and (max-width: 600px) {
    .tablinks {
        color: white;
        width: 100%;
        margin: 5px 0;
    }
    .lang img{
      height: 20px;
    }
    .tabcontent h3{
      font-size: 22px;
    }
    .main{
      margin: 10px;
    }
    .ad-wrapper{
        height: 300px;
        gap: 0;
        margin-top: 0;
    }
    .ad-item{
        transform: rotate(0deg);
    }
    .tabcontent {
       padding: 20px;
        overflow: hidden;
        display: none;
        position: initial;
    }
li{
  width: 100%;
}
p{
  font-size: 16px;
}
.form-item{
  width: 100%;
}
fieldset {
    border: 0;
    margin-bottom: 20px;
}
    .tabs {
        display: flex;
        flex-direction: column;
    }
    .container{
        width: 95%;
    }
}

@media (min-width:601px) and (max-width: 1200px) {
    .tablinks {
        color: white;
        width: 90%;
        margin: 5px auto;
    }
    .main{
      margin: 10px;
    }
 
    .tabcontent {
       
        overflow: hidden;
        display: none;
        position: initial;
        width: 90%;
        margin: 0 auto;
    }
    .container{
        width: 97%;
    }

    .tabs {
      width: 90%;
      margin: 0 auto;
      flex-direction: column;
    }
}