* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
}
h1 {
  font-size: 4em;
  margin-top: 0.5em;
  text-align: center;
}
h2 {
  font-size: 3em;
  margin-top: 0.5em;
  text-align: center;
}
p {
  font-size: 2em;
  text-align: justify;
  margin-left: 4em;
  margin-right: 4em;
}
img {
  width: 100%;
}

header {
  background: black;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
}

nav {
  width: 100vw;
}

.logo {
  border-radius: 4em;
  width: 9em;
}

nav .logo {
  display: none;
}

nav ul {
  display: flex;
  justify-content: space-between;
  margin-left: auto;
}

nav ul li {
  display: flex;
  align-items: center;
}

nav ul li a {
  color: white;
  display: block;
  padding: 1em;
  transition: 0.2s;
  border-radius: 4em;
}

.logo:hover,
nav ul li a:hover {
  background: gray;
}

nav ul li a.active {
  background: white;
  color: black;
}

.hamburger {
  display: none;
  cursor: pointer;
  padding: 1em;
  border-radius: 4em;
  transition: 0.2s;
  color: white;
  font-size: 3em;
}
#About {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
#Imagenes{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin:0;
    width:100%;
}
#Imagenes figure{
    margin:auto;
}
figcaption{
    font-size:1.5em;
    color:gray;
}
#Foto {
  width: 22em;
  justify-content: center;
}
#Carrousel{
  width:50em;
  height:auto;
  margin:1em auto 0;
  overflow:hidden;
}
#Carrousel div{
  display:flex;
  padding:0;
  width:700%;
  animation: slide 30s infinite;
}
#Carrousel figure{
  width:100%;
}
#Projects{
  display:flex;
  flex-direction:column;
  align-items:center;
}
#Projects figure{
  width:25em;
  margin-top:3em;
}
@keyframes slide {
  0%, 5%, 100% {
  margin-left: 0;
}
14.2857%, 19% {
  margin-left: -100%;
}
28.5714%, 33% {
  margin-left: -200%;
}
42.8571%, 48% {
  margin-left: -300%;
}
57.1428%, 62% {
  margin-left: -400%;
}
71.4285%, 76% {
  margin-left: -500%;
}
85.7142%, 91% {
  margin-left: -600%;
}
}
#Codigo{
  display:flex;
  flex-direction:column;
  align-items: center;
}
.Code{
  width:80% !important;
}
#Video{
  display:flex;
  justify-content:center;
}
@media only screen and (min-width: 1101px) {
  header > a {
    width: 10vw;
  }

  #External-links {
    width: 15vw;
    display: flex;
  }

  #Options {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 2em;
    text-align: center;
  }

  #Options li a {
    width: 20vw;
  }
}

@media only screen and (min-width:800px) and (max-width: 1100px) {
  nav {
    z-index: 1;
    position: fixed;
    left: 0;
    top: 150px;
    background-color: black;
    display: flex;
    flex-direction: column;
    justify-items: center !important;
    width: 100%;
    height: 100%;
    transform: translateY(-100%);
    transition: 0.2s;
  }

  nav ul {
    display: flex;
    margin-left: 0;
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    width: 100%;
    justify-content: center;
    margin: 1em;
  }

  #Options li {
    width: 100vw;
    font-size: 2em;
  }

  #Options li a {
    display: flex;
    justify-content: center;
    width: 100vw;
  }

  #External-links {
    display: flex;
    flex-direction: row;
    width: 100vw;
  }

  #External-links li a figure {
    width: 10vw;
  }

  #nav_check:checked ~ nav {
    transform: translateX(0%);
  }

  header {
    z-index: 2;
  }

  header > a {
    width: 13em;
    z-index: 2;
    background: black;
  }

  .hamburger {
    display: block;
    z-index: 2;
    background: black;
  }
  .Code{
    width:50em !important;
  }
}
@media only screen and (max-width:799px){
  p{
    font-size:1em;
    margin-left:2em;
    margin-right:2em;
  }
  h1{
    font-size:3em;
  }
  h2{
    font-size:2em;
  }
  nav {
  z-index: 1;
  position: fixed;
  left: 0;
  top: 150px;
  background-color: black;
  display: flex;
  flex-direction: column;
  justify-items: center !important;
  width: 100%;
  height: 100%;
  transform: translateY(-100%);
  transition: 0.2s;
}

nav ul {
  display: flex;
  margin-left: 0;
  flex-direction: column;
  align-items: center;
}

nav ul li {
  width: 100%;
  justify-content: center;
  margin: 1em;
}

#Options li {
  width: 100%;
  font-size: 2em;
}

#Options li a {
  display: flex;
  justify-content: center;
  width: 100vw;
}

#External-links {
  display: flex;
  flex-direction: row;
  width: 100vw;
}

#External-links li a figure {
  width: 10vw;
}

#nav_check:checked ~ nav {
  transform: translateX(0%);
}

header {
  z-index: 2;
}

header > a {
  width: 13em;
  z-index: 2;
  background: black;
}
#Imagenes figure{
  width:20% !important;
}
#Imagenes figcaption{
  font-size: 0.5em;
}
.hamburger {
  display: block;
  z-index: 2;
  background: black;
}
#Carrousel{
  width:100%;
}
#Projects figure{
  width:50%;
}
#Video iframe{
  width:50%;
  height:auto;
}
.Code{
  width:80% !important;
}
#Projects figcaption{
  font-size:0.9em;
}
}