@import url('https://fonts.googleapis.com/css2?family=Hammersmith+One&display=swap');
body{
    font-family: "Hammersmith One", sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    background: linear-gradient(105deg, rgba(33,22,22,1) 29%, rgb(55, 43, 43) 45%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
}
section{
   background: #929393;
    justify-content: center;
    height: 1400px;
  width: 380px;
}

.about{
    text-align: center;
    margin-top: 50px;
    font-size: 18px;
    color: red;
}



.image{
    position: relative;
}
.icons{
    position: absolute;
    top: 135px;
    left: 35px;
    font-size: 20px;
}
.portfolio img{
    width: 100px;
    height: 30px;
    padding: 10px 0 0 20px;
}
.fa{
    font-size: 15px;
}
.hero{
    margin-top: 45px;
    width: 350px;
    display: flex;
    justify-self: center;
    align-self: center;
    padding: 5px 20px 13px ;
}
h1{
    padding: 0 10px 0 25px;
    color: rgb(9, 9, 9);
font-family: "Hammersmith One", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.E{
    color: #F70808;
}
.be{
    font-size: 14px;
    color: #F70808;
}
.gt{
    font-size: 15px;
    
}
.black{
    color: rgb(4, 0, 0);
}
h2{
    color: #F70808;
    padding: 0 10px 0 25px;
    margin-top: -20px;
    font-size: 10px;
}
.icons{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px 0 1px;
    margin: 5px; 
    margin-top: -10px;
 
}
i{
    padding: 4px;
}

.ba{
    color: white;
}
.google{
    margin-top: 3px;
    width: 25px;
    height: 23px;
}
.header{
    width: 380px;
    position: fixed;
    z-index: 1000;
    background: #838181;
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 120px;
}
.menu{
    
    color: #8AD7D6;
    font-size: 20px;
    margin-top: 10px;
    margin-left: 22px;
}



p{
    width: 350px;
    font-size: 10px;
    color: #000;
    text-align: center;
    padding: 0 10px 20px 20px;
    font-family: "Hammersmith One", sans-serif;
    margin-top: -10px;
    font-weight: 600;
}
.links{
    display: flex;
     justify-content: center;
    align-items: center;
}
.links-container{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.links-container img{
    width: 100px;
    height: 150px;
}
.menu{
    width: 60px;
     height: 35px;
    margin-top: 2px;
    cursor: pointer;
}
.xmark{
  position: absolute;
  font-size: 40px;
    margin-top: 140px;
    margin-left: 645px;
    cursor: pointer;
    color: #F70808;
    z-index: 1000;
}
a{
    color: black;
}
span{
    color: #F70808;
}
h1{
    text-align: center;
    text-decoration: underline;
    margin-top: -25px;
    margin-bottom: -1px;
    margin-right: 15px;
    font-size: 28px;
}
.wt{
    font-size: 14px;
    color: #fff;
}
.gi{
    font-size: 11px;
    color: #6beef3;
}
.hero-2 {
    margin-top: 10px;
    display: flex;
    justify-items: center;
    align-items: center;
}
.hero-2 img{
    width: 350px;
    margin: auto;
    align-items: center;
}
.explained{
    margin-top: 10px;
}
.p{
    margin-top: 5px;
    font-size: 10px;
    letter-spacing: .9px;
}
.explained-img  {
    display: flex;
    align-items: center;
    justify-items: center;
    margin: auto; 
    width: 350px;
}
.explained-img img{
  margin-top: -20px;
  border: solid 1px#F70808;
}
  .bio{
    border: solid 1px black;
  }
  .links-2{
    margin-top: 10px;
    display: flex;
     justify-content: center;
    align-items: center;
}
  .links-container-2{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.links-container-2 img{
    width: 100px;
    height: 140px;
}
.pic{
    border: solid 1px #6beef3;
}
.bicicleta-img  {
    display: flex;
    align-items: center;
    justify-items: center;
    margin: auto; 
    width: 350px;
    margin-top: 10px;
    border: 1px solid white;
}
.design-img {
    display: flex;
    width: 420px;
    margin-top: 10px;
    margin-left: -25px;
}
.TOBE{
  margin-top: 20px;
}
.relax{
  width: 100px;
  background-color: #6beef3;
  margin: auto;
display: block;
}
.intro1{
  margin-top: 45px;
  margin-left: 10px;

}
/* ----------------------side bar links -------------------------------------------- */
/* .phil{
   background-image: url(images/Frame\ 2.png);
   background-repeat: no-repeat;
} */
.intro{
  background-image: url(images/introduction.png);
   background-repeat: no-repeat;
   margin-top: 10px;
}
.phil{
   background-image: url(images/Frame\ 1.png);
   background-repeat: no-repeat;
   
}
.me{
  background-image: url(images/Frame\ 2.png);
}
.lan{
  background-image: url(images/Frame\ 3.png);
}
.port{
  background-image: url(images/portfolio.png);
  background-repeat: no-repeat;
}
.fa{
   background-image: url(images/Frame\ 5.png);
   background-repeat: no-repeat;
}
.psy{
  background-image: url(images/Frame\ 6.png);
   background-repeat: no-repeat;
}
.pa{
  background-image: url(images/Frame\ 7.png);
   background-repeat: no-repeat;
}
.tra{
  background-image: url(images/Frame\ 8.png);
   background-repeat: no-repeat;
}
.ga{
  background-image: url(images/Frame\ 9.png);
   background-repeat: no-repeat;
}
.work{
  background-image: url(images/Frame\ 10.png);
   background-repeat: no-repeat;
}




/*  */



.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  width: 380px;
  background-color: var(--secondary-color);
  /* margin: 3.5rem; */
  
  overflow: hidden;
}

/* End of Common styles */

/* Navbar */
.navbar-icon {
   width: 5.5rem;   
  /* height: 5.5rem;  */
  /* background-color: var(--white-color); */
  /* border-radius: 50%; */
  cursor: pointer;
  flex-direction: column;
}
.navbar-icon img{
  
  /* background-color: var(--white-color); */
  /* border-radius: 50%; */
  cursor: pointer;
  flex-direction: column;
}

.open-navbar-icon {
  /* position: fixed; */
  top: 1rem;
  left: 2rem;
  z-index: 200;
}





.navbar-wrapper {
  max-width: 380px;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.7);
  position: fixed;
  /* left: 0; */
  bottom: -100%;
  opacity: 0;
  z-index: 300;
  /* padding: 3.5rem 5.5rem 3.5rem 3.5rem; */
  transition: bottom 0.5s, opacity 0.2s;
}

.change .navbar-wrapper {
  top:0;
  opacity: 1;
  transition: bottom 0.5s, opacity 0.2s 0.25s;
}

.navbar {
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)),
    url(images/99.jpg) center no-repeat;
  background-size: cover;
  position: relative;
  overflow-y: hidden;
}

.close-navbar-icon {
  
  top: 3.5rem; 
  right: 4rem; 
  z-index: 1000;
}

.close-navbar-icon .line {
  position: absolute;
}


.nav-list {
  margin-top: 30px;
  max-width: 380px;
  /* height: 100%; */
  display: flex;
}

.nav-link {
  height: 75px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white-color);
  text-transform: uppercase;
  width: 380px;
  opacity: 1;
  position: relative;
  transition: all 0.3s;
}

.change .nav-link {
  top: 0;
}

.nav-link:hover {
  opacity: 1;
  color: var(--primary-color);
}

.change .nav-link:nth-child(1) {
  transition: top 1s 0.4s, opacity 0.3s, color 0.3s;
}

.change .nav-link:nth-child(2) {
  transition: top 1s 0.6s, opacity 0.3s, color 0.3s;
}

.change .nav-link:nth-child(3) {
  transition: top 1s 0.8s, opacity 0.3s, color 0.3s;
}

.change .nav-link:nth-child(4) {
  transition: top 1s 1s, opacity 0.3s, color 0.3s;
}

.change .nav-link:nth-child(5) {
  transition: top 1s 1.2s, opacity 0.3s, color 0.3s;
}
/* End of Navbar */

/* Header */
.white{
  color: #fff;
}
.white:hover{
color: red;
}

.so{
  font-size: 30px;
}

.pic1{
  background-image: url(images/design.jpg);
 
}


 .nav-list {
    flex-direction: column;
  }

  .nav-link {
    height: 72px;
  }

 h3{
  color: #6beef3;
  width: 100%;
  text-align: center;
  font-size: 80px;
  display: none;
}


 


@media (max-width: 650px) {
  .container {
    margin: 0;
  }

  .open-navbar-icon {
    top: 2.5rem;
    left: 2.5rem;
  }

  .navbar-wrapper {
    padding: 0;
  }

  .close-navbar-icon {
    right: 4rem;
  }
}

 @media (max-width: 500px) {
  html {
    font-size: 70%;
  }
  .xmark{
  position: absolute;
  font-size: 40px;
  
    /* margin-left: 680px; */
    cursor: pointer;
    color: #F70808;
    z-index: 1000;
}
.nav-list {
  margin-top: 30px;
  width: 380px;
  height: 100vh;
  display: flex;
}
 }

  @media screen and (min-width: 400px){
section{
  display: none;
}

 }

 @media screen and (min-width: 400px){
 h3{
  display: block;
}
 }
  

