*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: 'verdana';
    background: whitesmoke;
    transition: .3s ease all;
}
header{
    background: whitesmoke;
    height: 695px;
    position: relative;
    overflow: hidden;
}
header .contenido{
    display: flex;
    width: 90%;
    margin: auto;
    height: 695px;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}
.textos-header{
    width: 60%;
    color: rgb(236, 226, 106);
}
.textos-header h1{
    font-size: 60px;
}
.textos-header h2{
    margin-bottom: 20px;
}
.imagen-header img{
    width: 500px;
    z-index: 10;
    position: relative;
}
header .textos-header a{
display: inline-block;
padding: 10px 0;
width: 150px;
text-decoration: none;
color: #96858f;
border: 1px solid #96858f;
text-align: center;
border-radius: 3px;
}
header .textos-header a:hover{
    background-color: #96858f;
    color: whitesmoke;
}

.absolute{
    background: #96858f;
    opacity: 60%;
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
    width: 100%;
    height: 400px;
    position: absolute;
    bottom: 0;
}
/*
SWITCH
*/

.switch {
    top: 0;
    margin: 5px;
    background: #343D5B;
    border-radius: 1000px;
    border: none;
    position: relative;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    outline: none;
  }
  
  .switch::after {
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    position: absolute;
    background: #F1F1F1;
    top: 0;
    left: 0;
    right: unset;
    border-radius: 100px;
    -webkit-transition: .3s ease all;
    transition: .3s ease all;
    -webkit-box-shadow: 0px 0px 2px 2px rgba(0, 0, 0, 0.2);
            box-shadow: 0px 0px 2px 2px rgba(0, 0, 0, 0.2);
  }
  
  .switch.active {
    background: orange;
    color: #000;
  }
  
  .switch.active::after {
    right: 0;
    left: unset;
  }
  
  .switch span {
    width: 30px;
    height: 30px;
    line-height: 30px;
    display: block;
    background: none;
    color: #fff;
  }
  footer{
      display: flex;
      justify-content: center;
      background: wheat;
      font-size: 10px;
      padding: 5px;
      font-weight: 300;
      color: rgb(36, 35, 35);
  }
  footer:hover{
      letter-spacing: 2px;
  }
  footer a{
      text-decoration: none;
      text-transform: uppercase;
      color: rgb(36, 35, 35);
  }
  /*
  MODO OSCURO
  */
 body.dark{
     background: rgb(36, 35, 35);
 }
  body.dark header{
      background: rgb(36, 35, 35);
  }
  body.dark h1{
      color: cyan;
  }
  body.dark h2{
    color: aquamarine;
}
body.dark header .textos-header a{
    color: aqua;
    border: 1px solid aqua;
}
body.dark header .textos-header a:hover{
    color: rgb(36, 35, 35);
    background: aqua;
    font-weight: bold;
}
  body.dark .absolute{
      background: cyan;
  }

/*
RESPONSIVE
*/
@media  screen and (max-width:830px) {
    .imagen-header img{
  
        width: 400px;
    }
    
}
@media  screen and (max-width:725px) {
    .textos-header{
        width: 40%;
    }

    
}
@media  screen and (max-width:725px) {
    .imagen-header img{
        width: 350px;
    }
    
}
@media  screen and (max-width:600px) {
   .contenido{
       flex-direction: column;
       justify-content: space-evenly;
       padding: 20px 0;
   }
   .textos-header{
    width: 100%;
    text-align: center;
}
    
}