
* {
    margin:  0;
    padding: 0;
    outline: 0 none;
    box-sizing: border-box;
}

*:before, *:after {
    clear: both;
    content: "";
    display: inline-block;
    box-sizing: border-box;
}

body {
    background: rgba(27,171,187,0.3);
}

h1 {
    color: #1babbb;
    text-align: center;
    padding-top: 30px;
}

.active-tabs {
    width: 80%;
    padding: 10px;
    position: relative;
    margin: 20px auto;
}

.active-tabs > input {
    opacity: 0;
    display: none;
    visibility: hidden;

}

.btn {
    background: #1babbb;
    color: #fff;
    cursor: pointer;
    display: absolute;
    float: left;
    font-family: "open sans";
    font-size: 1em;
    height: 40px;
    line-height: 35px;
    margin-right: 1px;
    text-align: center;
    width: 20%;
    opacity: 0.8;
    transition: all 0.4s;
}

.btn:hover {
    transform: translateY(-5px);
    opacity: 1;
}

.active-tabs input:checked + label {
    background: #fff;
    opacity: 1;
    transform: translateY(-5px);
    box-shadow: 1px 0 0 0 rgba(0,0,0,0.3);
    color: #1babbb;
}

.tabs-container {
    width: 100%;
    position: relative;
    float: left;
    top: -5px;
    background: #fff;
}

.tab-1 ,
.tab-2 ,
.tab-3 ,
.tab-4 {
    min-height: 400px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s;
}

.tab-1 p ,
.tab-2 p {
    color: #1babbb;
    font-family: "Open Sans";
    font-size: 20px;
    line-height: 25px;
}

.tab-1 p {
    text-align: center;
    font-size: 2em;
}

.tab-3 h2,
.tab-4 h2,
.form {
    color: #1babbb;
    font-family: "Open Sans";
    text-align: center;
}

.btn-1:checked ~ .tabs-container .tab-1 ,
.btn-2:checked ~ .tabs-container .tab-2 ,
.btn-3:checked ~ .tabs-container .tab-3 ,
.btn-4:checked ~ .tabs-container .tab-4 {
    position: relative;
    visibility: visible;
    top: 0;
    left: 0;
    opacity: 1;
}


    .row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
  }
  
  .column {
    flex: 25%;
    padding: 0 4px;
  }

  .name, .email {
    width: 50%;
    padding: 12px;
    border: 2px solid #000;
    border-radius: 14px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
    align-items: center;
  }

  .tarea {
    width: 50%;
    padding: 12px;
    border: 2px solid #000;
    border-radius: 14px;
    box-sizing: border-box;
    margin-left: 50px;
    resize: vertical;
  }
  
  .button {
    padding: 20px;
    margin: 50px;
    background-color: rgb(75, 216, 145);
    color: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease-out;
  }
  .button:hover {
    background: #06D85F;
  }

  .overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
  }
  .overlay:target {
    visibility: visible;
    opacity: 1;
  }
  
  .popup {
    margin: 70px auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    width: 30%;
    position: relative;
    transition: all 5s ease-in-out;
  }

  .popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
  }
  .popup .close:hover {
    color: #06D85F;
  }
  .popup .content {
    max-height: 30%;
    overflow: auto;
  }
  
  @media screen and (max-width: 700px){
    .box{
      width: 70%;
    }
    .popup{
      width: 70%;
    }
  }
