/*url(bg.png) no-repeat center;
CSS file
*/
*{
  margin: 0;
  padding:0;
  font-family: 'Roboto Mono', monospace;
  }

body{
  background: -webkit-linear-gradient(to right, #237A57, #093028);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #237A57, #093028); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.floating, .button, .lett{
    position: absolute;
}

.floating{
width: 90%;
display: flex;
margin: auto;
top: 5%;
left: 5%;
margin-left: -20px;
display: flex;

}

#toggle{
    display: none;
}

#toggle:checked ~ .lett{
    opacity: 1;
    transform: translateY(10%);
}

#toggle:checked ~ .button{
    transform: rotate(135deg);
    box-shadow: 0 0 0 0 transparent;
}

.button{
    z-index: 999;
    width: 43px;
    height: 43px;
    background: white;
    border-radius: 100%;
    transition: all 0.5s ease-in-out;
    box-shadow: 1px 3px 10px 0 rgba(0,0,0,0.3);
    cursor: pointer;
    animation: moverIzquierda 1s ease-in;
}

.button:before{
    position: absolute;
    top: 20px;
    left: 9px;
    content: '';
    width: 25px;
    height: 2px;
    background: red;
    transform: rotate(90deg);
}

.button:after{
    position: absolute;
    top: 20px;
    left: 9px;
    content: '';
    width: 25px;
    height: 2px;
    background: red;
}

.lett{
    transform: translateY(-10%);
    opacity: 0;
    top: 15px;
    left: -50px;
    transition: all 0.5s ease-in-out;
    background: #093028;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #237A57, #093028);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #237A57, #093028); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    width: 400px;
    border-radius: 5px;
    transform: translateY(0%);
    box-shadow: 2px 3px 10px 0 rgba(0,0,0,0.1);

}

.lett a{
    text-align: center;
    font-size: 15px;
    display: block;
    margin: 20px 0;
    color: white;
    text-decoration: none;
    font-family: sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 300ms;
}

.lett a:hover{
    color: red;
    font-size: 20px;
}

.contact-section{
  background: -webkit-linear-gradient(to right, #237A57, #093028);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #237A57, #093028); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  background-size: cover;
  padding: 40px 0;
}

.contact-section h1 {
  text-align: center;
  color: black;
}

.contact-section h2 {
  padding-top:  15px;
  text-align: center;
  color: black;
}

.fa {
  padding: 10px;
  font-size: 15px;
  width: 20px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px 1px;
}

.fa:hover {
    opacity: 0.7;
}

.fa-linkedin {
  background: #007bb5;
  color: white;
}

.border{
  width: 150px;
  height: 10px;
  background: black;
  margin: 40px auto;
}

.contact-form{
  max-width: 600px;
  margin: auto;
  padding: 0 10px;
  overflow: hidden;
}

.contact-form-text{
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 16px 0;
  border: 0;
  background: #111;
  padding: 20px 40px;
  outline: none;
  color: #ddd;
  transition: 0.5s;
}

.contact-form-text:hover{
  box-shadow: 0 0 10px 6px #34495e;
}

textarea.contact-form-text{
  resize: none;
  height: 120px:
}

.contact-form-btn{
  float: right;
  border: 0;
  background: #34495e;
  color: #fff;
  padding: 12px 50px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.5s;
  }

  .contact-form-btn:hover{
    background: #2980b9;
  }
