:root{
  --background-color-one: rgba(250, 235, 215);
}

*{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body {
  background-color: rgb(40, 40, 40);
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
}

header{
  position: fixed;
  width: 100%;
  background-color: rgb(40, 40, 40);
}

header p{
  font-size: 1.3em;
  font-weight: bold;
  color: blueviolet;
  text-shadow: 2px 2px 10px rgba(226, 190, 240, 0.5);
}

.container{
  max-width: 1400px;
  margin: auto;
}

.navbar{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
}

.navbar a{
  padding: 5px 12px;
  text-decoration: none;
  font-weight: bold;
  color: whitesmoke;
  position: relative;
  letter-spacing: .5px;
  cursor: pointer;

}

.navbar a:before, a:after{
  content: "";
  position: absolute;
  height: 3px;
  width: 0;
  background: blueviolet;
  transition: .5s;
}

.navbar a:after{
  right: 0;
  bottom: -10px;
}

.navbar a::before{
  left: 0;
  top: -10px;
}

.navbar a:hover:after,
.navbar a:hover:before{
  width: 100%;
}

.logo {
  margin-right: 50px;
}

.list{
  list-style: none;
  display: flex;
  gap: 25px;
}

#toggler,
.navbar label{
  display: none;
}

@media screen and (max-width: 700px){
  .menu{
    width: 100%;
    max-height: 0;
    overflow: hidden;
  }

  .list{
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .navbar label{
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    color: whitesmoke;
  }

  #toggler:checked ~ .menu{
    max-height: 100%;
  }
}

h1{ font-size: 3.5em;}
h2{ font-size: 2.7em;}
h3{ font-size: 2em;}
p{ font-size: 1.25em;}
ul{ list-style: none;}


.a-btn{
  text-decoration: none;
  font-weight: bold;
  padding: 5px 20px;
  border-radius: 15px;
  border: 1px solid rgba(0,0,0,0.5);
  box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
  color: white;
  background-color: blueviolet;
}

.a-btn:hover{
  background-color: blueviolet;
  opacity: 0.9;
  border: 0;
  box-shadow: 0 4px 16px rgb(255, 255, 255);
  transition: all 0.2s ease;
}

/* -------------------- HERO --------------------- */
#hero{
  height: 100vh;
  color: white;
  background-image: linear-gradient(
    0deg,
    rgba(0,0,0,0.5),
    rgba(0,0,0,0.5)
  )
  ,url("/img/fullstack.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

#hero .container{
  padding-top: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#hero h1{
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

#hero h2{
  position: absolute;
  transform: translate(-50%, -50%);
  animation: morph-effect 10s infinite ease-in-out;
}

#hero h2:nth-child(1){
  animation-delay: -10s;
}

#hero h2:nth-child(2){
  animation-delay: -5s;
}


.pb i{
  padding: 5px;
  transition: .5s ease;
}

.pb i:hover{
  transform: scale(2);
  text-shadow: 2px 2px 10px rgba(122, 20, 231, 0.5);
}

#hero p{
  padding-top: 150px;
  text-shadow: 2px 2px 10px rgba(122, 20, 231, 0.5);
}

@keyframes morph-effect {
  0%, 20%, 100%{
    filter: blur(0px);
    opacity: 1;
  }
  40%, 80%{
    filter: blur(16px);
    opacity: 0;
  }
}

/* -------------------- ABOUT --------------------- */

#about{
  background-color: var(--background-color-one);
  font-weight: bold;
  text-align: center;
  padding: 30px 12px 30px 12px;
}

#about .container{
  text-align: center;
}

/* -------------------- PROJECT --------------------- */

#project{
  background-color: rgb(30,30,30);
  padding: auto;
  color: aliceblue;
  text-align: center;
  padding: 50px 12px;
}

#proyect h2{
  margin: 0;
}

#project p{
  display: none;
}

#project .card{
  background-size: cover;
  background-position: center center;
  padding: 10px;
  margin: 10px;
  border-radius: 10px;
}

#pc1{
  background-image: linear-gradient(
    0deg,
    rgba(0,0,0,0.5),
    rgba(0,0,0,0.5)
  )
  ,url("/img/banagro/home.png");
}

#pc2{
  background-image: linear-gradient(
    0deg,
    rgba(0,0,0,0.5),
    rgba(0,0,0,0.5)
  )
  ,url("/img/cedula/welcome.png");
}

#pc3{
  background-image: linear-gradient(
    0deg,
    rgba(0,0,0,0.5),
    rgba(0,0,0,0.5)
  )
  ,url("/img/Estampilla/home.png");
}

#pc4{
  background-image: linear-gradient(
    0deg,
    rgba(0,0,0,0.5),
    rgba(0,0,0,0.5)
  )
  ,url("/img/Ilogtrack/LGE.png");
}

/* -------------------- CONTACT --------------------- */

#contact{
  background-color: var(--background-color-one);
  text-align: center;
  padding: 200px 12px 200px 12px;
}

#contact .container{
  text-align: center;
}

#contact a{
  padding: 5px 12px;
  color: black;
  text-decoration: none;
  font-weight: bold;
}

#contact a:hover{
  color:blueviolet;
  text-shadow: 0 4px 16px rgb(159, 93, 221);
}

/* -------------------- FOOTER --------------------- */

footer{
  background-color: rgb(40, 40, 40);
}

footer .container{
  display: flex;
  justify-content: center;
}

footer p{
  margin: 0;
  padding: 20px;
  color: whitesmoke;
}

/* ------------------------- No Mobile ----------------*/
@media (min-width: 720px){

  header{
    position: fixed;
    width: 100%;
  }

  header .container{
    flex-direction: row;
    justify-content: space-between;
  }

  header nav{
    flex-direction: row;
    padding-bottom: 0;
    padding-right: 20px;
  }

  #about .container{
    display: flex;
    justify-content: center;
    padding: 15px 12px 15px 12px;
  }

  #about .about-img{
    background-image: url("img/yo-uno.png");
    background-size: cover;
    background-position: center center;
    height: 400px;
    width: 400px;
    border-radius: 50%;
    box-shadow: 2px 2px 10px  rgba(0,0,0,0.5);
  }

  #about .about-texto{
    width: 70%;
    text-align: center;
    padding: 0px 20px;
  }

  #about p{
    padding-top: 0;
    font-size: 1.3em;
  }

  #project .container{
    padding: 10px 20px 10px 20px;
  }

  #project h2{
    padding: 30px 0 30px 0;
  }

  #project .cards{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }

  #project .card{
    width: 300px;
    padding: 50px;
    background-size: 100% 140px;
    background-repeat: no-repeat;
    background-position-y: 0;
    background-color: rgba(50,50,50,0.5);
    box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
  }

  #project p{
    display: block;
    margin-bottom: 30px;
  }

  #project h3{
    display: block;
    margin-top: 0;
    margin-bottom: 70px;

  }

  #contact{
    height: 80vh;
  }
}

.container-project{
  max-width: 1200px;
  padding-top: 100px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: aliceblue;
}

.container-project h1{ 
  margin: 0;
  font-size: 3.5em;
  text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.5);
}

.container-project h3{
  margin: 0;
}

.container-project p{
  font-size: 1.25em;
  padding: auto;
}

.container-project a{
  color: aliceblue;
  text-decoration: none;
}

.container-project a:hover{
  color: blueviolet;
  text-shadow: 0 4px 16px rgb(159, 93, 221);
}

.icons{
  display: flex;
  justify-content: center;
  align-items: center;
}

.icons i{
  margin: 10px;
  padding: auto;
}

.container-project section img{
  width: 350px;
  height: 200px;
}


@media (min-width: 720px){
  /*
  .container-project section{
    display: flex;
    width: 1400px;
  }  

  .container-project section img{
    width: 0;
    height: 350px;
    flex-grow: 1;
    object-fit: cover;
    opacity: .8;
    transition: .5s ease;
  }
  
  .container-project section img:hover{
    cursor: crosshair;
    width: 1200px;
    height: auto;
    opacity: 1;
    filter: contrast(120%);
  }
  */

  .container-project section img{
    transition: .5s ease;
  }
  
  .container-project section img:hover{
    cursor: crosshair;
    transform: scale(2);
  }
}
