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

body {
  background: #EEF3FA;
  font-size: 16px;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  position: relative;
  color:black !important;
}

header {
  background: #EEF3FA;
  height: 35px;
  position: relative;
  width: 100%;
}

header h1 {
  display: none;
}

header #prev_section,
header #next_section {
  cursor: pointer;
  height: 25px;
  margin: 5px;
  overflow: hidden;
  position: absolute;
  top: 0px;
  width: 25px;
}

header #prev_section {
  right: 35px;
}

header #next_section {
  right: 5px;
}

header #prev_section:before,
header #next_section:before {
  color: white;
  font-family: "icomoon";
  font-size: 25px;
  position: relative;
}

header #prev_section:before {
  content: "\ea40";
}

header #next_section:before {
  content: "\ea3c";
}

header nav .ioMenuMovil {
  height: 25px;
  width: 30px;
  cursor: pointer;
  margin: 0px 0px 0px 10px;
  padding-left: 3px;
  padding-top: 5px;
}

header nav #showMenu {
  height: 30px;
  width: 30px;
}

header nav #showMenu:before {
  color: black;
  content: "\e9bd";
  font-family: "icomoon";
  font-size: 25px;
  position: relative;
}

header nav #hideMenu {
  height: 30px;
  left: 30px;
  width: 30px;
}

header nav #hideMenu:before {
  color: black;
  content: "\ea0f";
  font-family: "icomoon";
  font-size: 25px;
  position: relative;
}

header nav #card_menu {
  display: none;
  position: relative;
  width: 230px;
  background: white;
  top: -35px;
  left: 0pc;
  border-right: 3px solid #afaeae;
  z-index: 999;
  padding-bottom: 50px;
  padding-inline-start: 10px;
  padding-block-start: 5px;
}

header nav #card_menu #logo_menu {
  height: 200px;
  margin: 30px 0px;
  margin-bottom: 30px;
  margin-left: 10%;
  width: 80%;
}

header nav #card_menu #logo_menu img {
  border-radius: 50%;
  width: 100%;
}

header nav #card_menu ul li {
  font-size: 1.5em;
  line-height: 35px;
  list-style: none;
}

header nav #card_menu ul li:hover {
  background-color: #098E00;
  color:white;
}

header nav #card_menu ul li a {
  color: black;
  text-decoration: none;
}

header nav #card_menu ul li a:hover {
  color: white;
}

#slider {
  height: 600px;
  position: relative;
  width: 100%;
}

#slider section.slide {
  left: 0px;
  position: absolute;
  top: 0px;
  width: 100%;
}

#slider #home {
  background: #EEF3FA;
  padding-bottom: 50px;
  position: relative;
  text-align: center;
}

#slider #home .mainAnimation {
  min-height: 450px;
  margin-left: 10%;
  position: absolute;
  width: 80%;
}

canvas {
  display: block;
  vertical-align: bottom;
}

/* ---- particles.js container ---- */

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: none;
  background-image: url("");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}

#slider #home .mainLogo {
  background: none;
  margin-left: 20vw;
  min-height: 430px;
  position: relative;
  width: 60vw;
}

#slider #home .mainLogo h2 {
  color: black;
  font-size: 1.2em;
  font-weight: lighter;
  padding-top: 80px;
}

#slider #home .mainLogo strong {
  display: block;
  font-size: 2em;
}

#slider #home .mainLogo figure,
#slider #home .mainLogo figure img {
  /*border-radius: 50%;*/
  margin: 0px 10%;
  width: 80%;
}

#slider #home .mainLogo figure {
  padding-bottom: 30px;
}

#slider #home .buttonsPage {
  text-align: center;
  width: 100%;
}

#slider #home .buttonsPage > * {
  color: white;
  display: inline-block;
  margin: 5px 2.5%;
  padding: 15px 2.5%;
  width: 40%;
}

#slider #home #idContratame {
  background: #f8931f;
  cursor: pointer;
}

#slider #home a {
  background: #29abe2;
  text-decoration: none;
}

#slider #aboutme {
  height: 400px;
  background: yellow;
}

/*Modifique css en esta parte.*/
#slider #skills {
  height: 300px;
  background: red;
  margin: 0 5%;
  width: 80%;
}

#slider #portfolio {
  height: 200px;
  background: blue;
}

#slider #blog {
  height: 100px;
  background: purple;
}

/*FORMULARIO DE CONTACTO*/
#contact_form {
  background: white;
  border-top: 1px solid black;
  box-shadow: 0px 0px 3px #9f9e9e;
  display: none;
  height: 94vh;
  position: absolute;
  right: 0px;
  top: 35px;
  width: 250px;
  z-index: 999;
}

#contact_form #close_form {
  height: 30px;
  left: 85%;
  position: absolute;
  top: 190px;
  width: 30px;
}

#contact_form #close_form:hover {
  cursor: pointer;
}

#contact_form #close_form:before {
  color: black;
  content: "\ea0f";
  font-family: "icomoon";
  font-size: 20px;
  left: 5px;
  top: 4px;
  position: relative;
}

#contact_form #logo_message {
  /*background: #29abe2;*/
  background: #098E00;
  height: 180px;
  margin: 0px;
  padding: 0px;
  position: relative;
  width: 100%;
}

#contact_form #logo_message:before {
  color: white;
  content: "\ea86";
  font-family: "icomoon";
  font-size: 100px;
  left: 31%;
  top: 35px;
  position: relative;
}

#contact_form p {
  margin: 20px;
  margin-left: 5%;
  width: 90%;
}

#contact_form input,
#contact_form textarea {
  border: none;
  border-bottom: 2px solid gray;
  display: block;
  font-weight: bold;
  margin: 20px;
  margin-bottom: 50px;
  margin-left: 5%;
  padding-bottom: 3px;
  width: 90%;
}

#contact_form #btnSubmit {
  /*background: #f8931f;*/
  background: #098E00;
  border: none;
  border-radius: 5px;
  color: white;
  padding: 8px 0px;
}

/*BOTON FORMULARIO*/
#contact_button {
  /*background: #f8931f;*/
  background: #098E00;
  border-radius: 50%;
  color: white;
  height: 60px;
  position: fixed;
  right: 10px;
  top: 80vh;
  width: 60px;
  z-index: 80;
}

#contact_button:hover {
  cursor: pointer;
}

#contact_button:before {
  color: white;
  content: "\e96d";
  font-family: "icomoon";
  font-size: 30px;
  left: 13px;
  top: 12px;
  position: relative;
}

footer {
  background: black;
  bottom: -130px;
  color: white;
  height: 150px;
  position: fixed;
  text-align: center;
  transition-duration: 0.4s;
  width: 100%;
  z-index: 90;
}

footer:hover {
  bottom: 0px;
}

footer:after {
  background: black;
  border-radius: 50%;
  content: "\ea43";
  font-family: "icomoon";
  font-size: 4em;
  height: 80px;
  left: 50%;
  margin-left: -40px;
  margin-top: -40px;
  position: absolute;
  top: 0px;
  transform: rotate(180deg);
  transition-duration: 0.4s;
  width: 80px;
}

footer:hover:after {
  background: white;
  color: transparent;
  transform: rotate(0deg);
  text-shadow: 0px 4px 0px black;
}

footer .rrss {
  height: 40px;
  margin-top: 70px;
  width: 100%;
}

footer .rrss a {
  display: inline-block;
  height: 40px;
  margin: 0px 5px;
  position: relative;
  width: 40px;
}

footer .rrss a:before {
  color: white;
  font-family: "icomoon";
  font-size: 2em;
  left: 5px;
  position: absolute;
  text-decoration: none;
  top: 3px;
}

footer .rrss a:nth-child(1):before {
  content: "\ea96";
}

footer .rrss a:nth-child(2):before {
  content: "\ea91";
}

footer .rrss a:nth-child(3):before {
  content: "\ea8b";
}

footer .rrss a:nth-child(4):before {
  content: "\eac9";
}

footer p {
  font-size: 0.8em;
}

@media screen and (min-width: 480px) {
  #slider #home .mainLogo {
    left: 50%;
    margin-left: -135px;
    padding-bottom: 30px;
    width: 270px;
  }

  #slider #home .mainLogo h2 {
    font-size: 1.4em;
  }

  #slider #home .buttonsPage > * {
    width: 200px;
  }
}

@media screen and (min-width: 600px) {
}

@media screen and (min-width: 767px) {
  header {
    height: 50px;
  }

  header h1 {
    display: inline-block;
    height: 50px;
    line-height: 50px;
    margin: 0px;
    margin-left: 80px;
    width: 20%;
    min-width: 200px;
  }

  header h1 > * {
    color: black;
    display: inline-block;
    font-size: 0.7em;
    margin: 0px 3px;
    text-decoration: none;
    vertical-align: middle;
  }

  header h1 figure {
    height: 40px;
    margin: 0px;
    width: 40px;
  }

  header h1 figure img {
    /*border-radius: 50%;*/
    width: 100%;
  }

  /*NAV*/
  header nav {
    display: inline-block;
    position: relative;
    top: -5px;
    vertical-align: middle;
    width: 62%;
  }

  header nav #showMenu,
  header nav #hideMenu {
    display: none;
  }

  header nav #card_menu {
    display: block;
  }

  header nav #card_menu {
    background: none;
    border: none;
    display: inline-block;
    padding-bottom: 0px;
    position: relative;
    text-align: right;
    top: 0px;
    width: 100%;
  }

  header nav #card_menu figure {
    display: none;
  }

  header nav #card_menu ul {
    margin: 0px;
    padding: 0px;
  }

  header nav #card_menu ul li {
    display: inline-block;
    font-size: 1.2em;
    margin: 0px -2px;
    padding-inline-start: 5px;
    padding-inline-end: 5px;
    text-align: center;
  }

  header nav #card_menu ul li:hover {
    color: white;
  }

  header nav #card_menu ul li a {
    color: black;
  }

  header nav #card_menu ul li a:hover {
    color: white;
  }

  header #prev_section,
  header #next_section {
    background: #098E00;
    border-radius: 50%;
    height: 50px;
    position: absolute;
    right: 40px;
    width: 50px;
    z-index: 999;
  }

  header #prev_section {
    top: 115px;
  }

  header #next_section {
    top: 190px;
  }

  header #prev_section:before,
  header #next_section:before {
    font-size: 40px;
    top: 3px;
    left: 5px;
    position: relative;
  }

  /*FORMULARIO CONTACTO*/
  #contact_form {
    top: 50px;
    width: 400px;
  }

  #contact_form #close_form {
    left: 90%;
  }

  #contact_form #logo_message:before {
    left: 41%;
  }

  #contact_button {
    right: 35px;
  }
}

@media screen and (min-width: 950px) {
}
