*{
  font-size: 16px;
  box-sizing: border-box;
}
body{
  margin: 0 auto;
  width: 100vw;
  font-family: 'Poppins', sans-serif;
  background-color: #070600;
  color: white;
  overflow-x: hidden;
}
#navbar{
   display: flex;
   justify-content: space-between;
   height: 100px;
   width: 100vw;
   background-color: #070600;
   /* background-color: orange; */
   position: fixed;
   top: 0;
   z-index: 1;
   /* overflow: hidden;
   border: 1px solid red; */
}

ul li{
  list-style: none;
  display: inline-block;
  /* margin-top: 1.25rem; */
  margin-right: 20px;
  vertical-align: top;
  /* border: 1px solid red; */
}
ul li .menu-items{
  position: absolute;
  background-color: #070600;
  padding: 1rem;
}
ul li .dropdown-menu .menu-items a{
  display: none;
  width: fit-content;
  padding: 0.25rem 0;
}

ul li .dropdown-menu:hover .menu-items a{
  display: block;
  width: fit-content;
}

ul li .dropdown-menu a i{
  padding: 0 0.5rem;
}

ul li:last-of-type{
  margin-right: 0px;
}

a{
  text-decoration: none;
  color: white;
}
ul li a:hover{
  /* text-decoration: underline 2px solid #29E7CD; */
  border-bottom: 1px solid #29E7CD;
  transition: border-bottom 0.3s ease-out;
}



.logo{
  /* width: 50%; */
  height: 46px;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  margin-left: 10vw;
}

#hamburger{
  font-size: 1.25rem;
  margin-top: 20px;
  /* display: none; */
  cursor: pointer;
  visibility: hidden;
}
nav{
  margin-top: auto;
  margin-bottom: auto;
  margin-right: 10vw;
}
main{
  /* margin: 0 10vw; */
  margin: 0;
  position: absolute;
  top: 100px;
  z-index: 0;
}


.modal-overlay{
  /* display:none; */
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-color: #1716162f;
  backdrop-filter: blur(3px);
}
.modal{
  /* display:none; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #070600;
  background-color: white;
  width: 64%;
  margin:0 20%;
  padding: 2rem;
  position: fixed;
  /* top: 15vh; */
  z-index: 1000;
  border-radius: 24px;
  box-shadow: 0 4px 8px 0 rgba(10, 10, 10, 0.174), 0 6px 20px 0 rgba(0, 0, 0, 0.147);
}

.modal p{
  color: #303030;
}
.modal i{
  padding-left: 96%;
}
.contact-btn{
  background-color: #070600;
  /* background-color: #1C4640; */
  border-radius: 8px;
  padding: 10px 20px;
  margin-top: 1rem;
  margin-bottom: 1rem;
  width: fit-content;
  border-radius: 8px;
  color: #1C4640;
}

.contact-btn:hover{
  background-color:#1C4640;
  /* border: 2px solid #1C4640; */
}

.contact-btn a{
  color: #29E7CD;
  /* color: #1C4640; */
}

#close-modal:hover{
  cursor: pointer;
}

.hidden{
  display: none;
}

#welcome-section{
  height: 100vh;
  margin: 0 10vw;
  padding: auto 0;
  width: 80vw;
  /* border: 1px solid orange; */
  overflow-y: hidden;
  margin-bottom: 10vh;
}
.hero{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.portrait{
  width: 36vw;
}
.hero-text{
  width: 37vw;
}
.name-introduction{
  font-size: 1.125rem;
  color: #29E7CD;
  font-weight: 500;
  padding: 0 0 10px 0;
  margin: 0;
}
h1{
  font-size: 2rem;
  padding: 0;
  margin: 0;
}
.signature{
  font-family: 'Sacramento', cursive;
  font-size: 1.5rem;
  padding: 0;
  margin: 0;
}
.usp{
  /* background: url(https://i.postimg.cc/nzGBn56g/wavy-pattern.png); */
  background-color: #131B1A;
  height: 28vh;
  /* width: 100vw; */
  padding-top: 4vh;
  padding-bottom: 4vh;
  /* padding-right: auto;
  padding-left: auto; */
  /* margin: 0; */
}
.usp-container{
  height: 20vh;
  margin: 0 10vw;
  padding: 2.5% 12vw;
  width: 80vw;
  /* border: 1px solid orange; */
  background-color: #29E7CD;
}
.usp-message{
  color: #070600;
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
  margin: auto;
  padding: 0;
  /* border: 1px solid red; */
}
#projects{
  /* border: 1px solid orange; */
  padding: 50px 0;
  width: 80vw;
  margin: 0 10vw;
}
h2{
  font-size: 1.8rem;
  text-align: center;
  padding: 0;
  margin: 0;
}
.h2-underline{
border: 0;
  border-bottom: 4px solid #29E7CD;
  width: 10vw;
  margin: 20px auto;
}
.section-description{
 text-align: center;
 margin: 2.5rem;
}
.project-cat{
  margin-bottom: 6rem;
}
.project-cat:last-of-type{
  margin-bottom: 50px;
}
#portfolio-grid{
 display: grid;
 grid-template-columns: 1fr 1fr 1fr;
 grid-template-rows: repeat(2, 1fr);
 column-gap: 2vw;
 row-gap: 3vw;
 /* border: 1px solid red; */
}

.project{
 /* old 4 col grid dimensions width: 18.5vw; */
 width: 25.33vw;
 border-radius: 10px;
 background-color: white;
}
.project-tile{
 /* old 4 col grid dimensions width: 18.5vw;
 height: 14.5vw; */
 width: 25.33vw;
  height: 20.13vw;
 border-radius: 10px 10px 0 0;
 object-fit: cover;
}
.project-title-wrapper{
 height: 5.2vw;
background-color: white;
/* margin-top: -16px; */
border-radius: 0 0 10px 10px;
text-align: center;
margin: 0;
padding: 0.5rem;
}

.new-grid{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  column-gap: 2vw;
  row-gap: 3vw;
  margin-bottom: 50px;
}
.new-grid .project{
  width: 25.33vw;
}

.new-grid .project-tile{
  width: 25.33vw;
  height: 20.13vw;
  /* border: 1px solid greenyellow; */
}


.project-title-wrapper a{
  color: #070600;
  /* margin-top: 5px;
  margin-bottom: 5px; */
}

.project-title-wrapper a:hover{
  color: #808080;
  /* font-weight: 400; */
}

#about{
background-color: #131B1A;
}

.skills{
/* background-color: #131B1A; */
padding: 50px 0;
margin: 0 10vw;
/* width: 100vw;
padding-left: 10vw;
padding-right: 10vw; */
}

#skills-grid{
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
grid-template-rows: 1fr 1fr 1fr 1fr 1fr; 
row-gap: 2vw;
column-gap: 1.875vw;
place-items: center;
margin-bottom: 50px;
}

.skill-wrapper{
background-color: #1C4640;
width: 14.5vw;
padding: 15px 1vw;
border-radius: 8px;
transition: all 0.2s;
}
.skill-wrapper p{
text-align: center;
margin: 0;
/* margin: 12px 0; */
/* border: 1px solid red; */
}

.skill-wrapper:hover{
background-color: transparent;
color: #29E7CD;
border: 1px solid #29E7CD;
padding: 14px 1vw;
}
#recommendations-section{
padding: 50px 0;
width: 80vw;
margin: 0 10vw;
}

#recommendations{
display: flex;
justify-content: space-between;
margin-bottom: 50px;
}
.recommendation-wrapper{
width: 23vw;
border: 3px solid #29E7CD;
border-radius: 10px;
padding: 15px 20px;
}
.recommendation-wrapper p{
text-align: center;
}
.recommender-img{
width: 33%;
border-radius: 50%;
text-align: center;
margin: 10px 35%;
}
.recommender-name,.recommender-title{
margin: 5px auto;
}

.recommender-name{
color: #29E7CD;
font-weight: bold;
}
.decorative-asset2{
  background: url(https://svgshare.com/i/k3_.svg);
  width: 100vw;
  height: 20vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

#contact-me-section{
  display: flex;
  justify-content: space-between;
  width: 80vw;
  margin: 0 10vw;
  margin-left: 10vw;
  margin-right: 10vw;
  padding: 15vh 0;
  /* overflow-x: hidden; */
}
#contact-me-text{
  width: 36vw;
  margin-right: 0;
  padding-right: 0;
}


#contact-form{
  width: 36vw;
  margin-left: 0;
  padding-left: 0;
}

/* .contact-me-text h2{
  text-align: left;
} */

.contact-me h2{
  text-align: left;
}

.contact-me-text hr{
/* border: 0;
  border-bottom: 4px solid #29E7CD;
  width: 10vw;
  margin: 20px auto; */
  width: 5vw;
  margin-left: 0;
}

.social-icon{
  width: 30px;
  margin-right: 10px;
  margin-top: 10px;
}

.contact-form h2{
  color: #29E7CD;
  margin-bottom: 20px;
}
input, textarea{
  width: 36vw; 
  background-color: #131B1A;
  color: white;
  border: 0;
  margin: 15px 0;
  padding: 15px;
  border-radius: 5px;
}
::placeholder{
  /* color: #A8C6C2; */
  color: white;
  font-family: 'Poppins', sans-serif;
}
input[type="submit"]{
  background-color: #29E7CD;
  color: #070600;
  font-weight: bold;
}

input[type="submit"]:hover{
  border: 2px solid #29E7CD;
  background-color: transparent;
  color: #29E7CD;
  cursor: hand;
}

.footer-ruler{
  margin: 0 10vw;
  border: 0;
  border-bottom: 1.5px solid #29E7CD;
}
footer{
  display: flex;
  justify-content: space-between;
  margin: 20px 10vw;
  /* color: #29E7CD; */
}
footer a:hover{
  color: #29E7CD;
}

@media (max-width:1024px){
  *{
    font-size: 14px;
  }
  .logo{
  /* width: 50%; */
  height: 36px;
  margin-left: 5vw;
}
nav{
  margin-right: 5vw;
}
#welcome-section{
  margin: 0 5vw;
  /* padding: 2.5vh 0; */
  width: 90vw;
  margin-bottom: 5vh;
}
.portrait{
  width: 36vw;
}
.hero-text{
  width: 40vw;
}
  h1{
  font-size: 1.6rem;
  padding: 0;
  margin: 0;
}
.usp{
  height: 18vh;
  padding-top: 3vh;
  padding-bottom: 3vh;
}
.usp-container{
  height: 12vh;
  margin: 0 10vw;
}
.usp-message{
  font-size: 1.4rem;
  margin: 5px 0;
  /* margin-bottom:8px; */
  /* border: 1px solid red; */
}

#projects{
  padding: 50px 0;
  width: 90vw;
  margin: 0 5vw;
}

/* #portfolio-grid{
  column-gap: 2vw;
 row-gap: 3vw;
 margin-bottom: 50px;
} */
.project{
 width: 21vw;
 /* border-radius: 10px; */
 /* background-color: white; */
}
.project-tile{
 width: 21vw;
 height: 18vw;
 border-radius: 10px 10px 0 0;
 object-fit: cover;
}
.project-title-wrapper{
 height: 94px;
margin-top: -8px;
margin-bottom: 0px;
}

.skills{
margin: 0 5vw;
}

#skills-grid{
row-gap: 2vw;
column-gap: 1.875vw;
/* place-items: center; */
}

/* .skill-wrapper{
background-color: #1C4640;
width: 14.5vw;
padding-left: 2vw;
padding-right: 2vw;
border-radius: 10px;
} */



/* #contact-me-section{
  display: block;
  width: 80vw;
  margin: 0 10vw;
  padding: 0;
  padding-top: 6vh;
  padding-bottom: 0;
  
}
.contact-me-text{
  width: 80vw;
}

.contact-me-text h2:nth-of-type(2){
  margin-top: 3vh;
}

.social-icon{
  width: 30px;
  margin-right: 10px;
  margin-top: 10px;
}

.contact-form{
  width: 80vw !important;
  margin-bottom: 5vh;
}

.contact-form h2{
  margin-top: 3vh;
}
input, textarea{
  width: 80vw !important;
} */

.footer-ruler{
  margin: 0 5vw;
}
footer{
  margin: 20px 5vw;
}

}

@media screen and (max-width:840px){
  *{
    font-size: 16px;
  }
  /* nav{
    margin-top: 0;
  } */
#navbar{
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 10%;
   /* height: 70px; */
   /* background-color:#131B1A; */
   /* border: 1px solid red; */
}

.logo{
  /* width: 50%; */
  height: 30px;
  margin-top: 15px;
  margin-bottom: 15px;
  /* border: 1px solid red; */
}
#hamburger{
  margin-left: 85%;
  visibility: visible;
  /* border: 1px solid red; */
}

ul {
  padding: 0.5rem 0;
  /* margin: 0; */
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 5vw;
  display: none;
  /* height: 0; */
  /* position: relative;
  width: 100vw; */
  /* visibility: hidden; */
  /* border: 1px solid red; */
}

ul li{
  display: block;
  margin-bottom: 15px;
  
}
ul li:last-of-type{
  padding-bottom: 15px;
}

ul li .menu-items, #arrow{
  display: none;
}
.modal{
  width: 80%;
  margin:0 10%;
  top: 16vh;
}
main{
  top: 60px;
  /* border: 1px solid blue; */
}
#welcome-section{
  height: auto;
  /* border: 1px solid orange; */
  margin-bottom: 0;
  margin-top: auto;
  padding: 10vh 0;
}
.hero{
  flex-direction: column;
  text-align: center;
}
.portrait{
  width: 70vw;
  height: 100%;
  padding-top: 5vh;
  padding-bottom: 0;
  margin-bottom: 0px;
  /* height: 100%; */
  /* object-fit: cover; */
  /* border: 1px solid orange; */
}
.hero-text{
  width: 76vw;
  margin: auto;
}
.name-introduction{
  font-size: 1.125rem;
  color: #29E7CD;
  font-weight: 500;
  padding: 0 0 10px 0;
  margin: 0;
}
h1{
  font-size: 1.8rem;
  padding: 0;
  margin: 0;
}
.signature{
  font-family: 'Sacramento', cursive;
  font-size: 1.4rem;
  padding: 0;
  margin: 0;
}
.usp{
  /* background: url(https://i.postimg.cc/nzGBn56g/wavy-pattern.png); */
  height: 18vh;
  padding-top: 2vh;
  padding-bottom: 2vh;
  margin: 0;
  margin-top: 0;
  
}
.usp-container{
  height: 14vh;
  padding: 3.5vh 6vw;
  text-align: center;
  /* border: 1px solid orange; */
}
.usp-message{
  font-size: 1.125rem;
  margin: 0;
  /* border: 1px solid red; */
}
#projects{
  /* border: 1px solid orange; */
  padding: 50px 0;
  width: 80vw;
  margin: 0 10vw;
}
.project-cat{
  margin-bottom: 60px;
}
h2{
  font-size: 1.6rem;
}
.h2-underline{
  border-bottom: 3.5px solid #29E7CD;
  width: 10vw;
  margin: 10px auto;
}
.section-description{
 /* text-align: center;
 margin-bottom: 50px; */
 margin-top: 20px;
 margin-bottom: 35px;
}

#portfolio-grid{
 grid-template-columns: 1fr 1fr;
 grid-template-rows: 1fr 1fr 1fr;
 column-gap: 2vw;
 row-gap: 5vw;
 margin-bottom: 50px;
}
.new-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  column-gap: 2vw;
  row-gap: 5vw;
  margin-bottom: 50px;
}

/* .new-grid .project:last-of-type{
  display: none;
}  */

/* .new-grid .project{
  width: 25.33vw;
} */

/* .new-grid .project-tile{
  width: 25.33vw;
  height: 20.13vw;
} */

.project, .new-grid .project{
 width: 36vw;
 height: 41vw;
 /* border-radius: 10px; */
 /* background-color: white; */
}
.project-tile, .new-grid .project-tile{
 width: 36vw;
 height: 28vw;
 /* border-radius: 10px 10px 0 0; */
}
.project-title-wrapper{
  width: 36vw;
  height: 12vw;
/* margin-top: 0; */
margin-top: -10px;
margin-bottom: 0;
padding: auto 8px;
}

.skills{
/* background-color: #131B1A; */
padding: 50px 0;
margin: 0 10vw;
/* width: 100vw;
padding-left: 10vw;
padding-right: 10vw; */
}

#skills-grid{
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: 1fr 1fr 1fr 1fr;
row-gap: 3.2vw;
column-gap: 2.6vw;
place-items: center;
margin-bottom: 50px;
}

.skill-wrapper{
background-color: #1C4640;
width: 24vw;
padding: 12px 2vw;
/* padding-left: 2vw;
padding-right: 2vw; */
/* border-radius: 8px; */
}
/* 
.skill-wrapper:hover{
background-color: transparent;
color: #29E7CD;
border: 2px solid #29E7CD;
} */

.decorative-asset2{
  height: 15vh;
  /* border: 1px solid red; */
  margin: 0;
  margin-top: 3vh;
}
#recommendations-section{
padding-top: 50px;
padding-bottom: 0;
width: 80vw;
margin: 0 10vw;
margin-bottom: 0;
/* border: 1px solid red; */
}

#recommendations{
display: block;
margin-bottom: 0px;
padding-bottom: 0;
/* border: 1px solid orange; */
}
.recommendation-wrapper{
/* width: 23vw;
border: 3px solid #29E7CD;
border-radius: 10px;
padding: 15px 20px; */
width: 100%;
margin: 5vh 0;
}
.recommendation-wrapper:last-of-type{
  margin-bottom: 0;
}
.recommendation-wrapper p{
text-align: center;
}

.recommender-name,.recommender-title{
margin: 8px auto;
}

/* #contact-me-section{
  display: block;
  width: 80vw;
  margin: 0 10vw;
  padding: 0;
  padding-top: 6vh;
  padding-bottom: 0;
} */

/* #contact-me-text{
  width: 80vw;
} 

.contact-me-text h2:nth-of-type(2){
  margin-top: 3vh;
}

.social-icon{
  width: 30px;
  margin-right: 10px;
  margin-top: 10px;
} */
/* #contact-form{
  width: 80vw;
  border: 1px solid red;
  margin-bottom: 5vh;
}
.contact-form h2{
  margin-bottom: 20px;
  margin-top: 3vh;
}
input, textarea{
  width: 80vw;
} */

footer{
  display: flex;
  justify-content: space-between;
  margin-top: 0;
  /* margin: 20px 10vw; */
  /* color: #29E7CD; */
}
}

@media screen and (max-width:450px){

#navbar{
   /* height: 50px; */
   height: 9%;
}
#navbar{
  height: 9%;
  /* border: 1px solid red; */
  
}

#hamburger{
 margin-left: 80%;
 /* border: 1px solid red; */
}
/* ul li .menu-items, #arrow{
  display: none;
} */

ul{
  margin-top: 0;
  margin-bottom: 0;
  display: none;
}

ul li{
  margin-right: 0;
  margin-left: 10vw;
  /* font-size: 10px; */

}
ul li a{
  font-size: 16px;
}

.logo{
  /* width: 50%; */
  height: 26px;
  margin-top: 12px;
  margin-bottom: 12px;
  margin-left: 5vw;
}
nav{
  margin-right: 7vw;
  margin-left: -10vw;
}
.modal{
  width: 88%;
  margin:0 6%;
  top: 15vh;
}
main{
  top: 50px;
  /* border: 1px solid blue; */
}
#welcome-section{
  /* border: 1px solid orange; */
  padding: 7vh 0;
}
.hero{
  flex-direction: column;
  text-align: center;
}
.portrait{
  width: 80vw;
  height: auto;
  /* display: none; */
  /* padding-top: 5vh; */
  /* border: 1px solid orange; */
}
.hero-text{
  width: 74vw;
  margin: auto;
}
.name-introduction{
  font-size: 1rem;
  color: #29E7CD;
  font-weight: 500;
  padding: 0 0 10px 0;
  margin: 0;
}
h1{
  font-size: 1.6rem;
  padding: 0;
  margin: 0;
}
.signature{
  font-size: 1.1rem;
}
.usp{
  /* background: url(https://i.postimg.cc/nzGBn56g/wavy-pattern.png); */
  height: 20vh;
  padding: 0 10vw;
  padding-top: 2.5vh;
  padding-bottom: 3vh;
  margin: 0;
  margin-top: 0;
  
}
.usp-container{
  height: auto;
  padding: 3vh 6vw;
  text-align: center;
  /* margin: 1vh 10vw; */
  margin: 0;
  margin-top: 0;
  margin-bottom: 0;
  /* border: 1px solid orange; */
}
.usp-message{
  font-size: 1rem;
  line-height: 1.25rem;
  margin: 0;
  /* border: 1px solid red; */
}
#projects{
  /* border: 1px solid orange; */
  padding: 50px 0;
  width: 80vw;
  margin: 0 10vw;
}
h2{
  font-size: 1.2rem;
}
.h2-underline{
  border-bottom: 3.5px solid #29E7CD;
  width: 10vw;
  margin: 8px auto;
}
.section-description{
 /* text-align: center;
 margin-bottom: 50px; */
 margin-top: 20px;
 margin-bottom: 35px;
}

#portfolio-grid, .new-grid{
 grid-template-columns: 1fr;
 grid-template-rows: repear(2,1fr);
 row-gap: 3vh;
 margin-bottom: 20px;
}

.new-grid{
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(3,1fr);
  column-gap: 2vw;
  row-gap: 5vh;
  margin-bottom: 20px;
}

.project, .new-grid .project{
 width: 80vw;
 height: 80vw;
 border-radius: 10px;
 background-color: white;
}

.new-grid .project:last-of-type{
  display:initial;
}

.project-tile, .new-grid .project-tile{
 width: 80vw;
 height: 60vw;
 /* border-radius: 10px 10px 0 0; */
}
.project-title-wrapper{
  width: 80vw;
  height: 20vw;
/* margin-top: 0; */
margin-top: -6px;
margin-bottom: 0;
padding: auto 8px;
}

.skills{
/* background-color: #131B1A; */
padding: 50px 0;
margin: 0 10vw;
/* width: 100vw;
padding-left: 10vw;
padding-right: 10vw; */
}

#skills-grid{
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
row-gap: 2vh;
column-gap: 4vw;
place-items: center;
margin-bottom: 50px;
}

.skill-wrapper{
background-color: #1C4640;
width: 38vw;
padding: 10px 2vw;
/* padding-left: 2vw;
padding-right: 2vw; */
border-radius: 5px;
}

.decorative-asset2{
  height: 14vh;
  /* border: 1px solid red; */
  margin: 0;
  margin-top: 3vh;
}

#contact-me-section{
  /* display: flex;
  justify-content: space-between; */
  display: block;
  width: 80vw;
  margin: 0 10vw;
  padding: 0;
  padding-top: 6vh;
  padding-bottom: 0;
  
}
#contact-me-text{
  width: 80vw;
}

.contact-me-text h2:nth-of-type(2){
  margin-top: 3vh;
}

.social-icon{
  width: 30px;
  margin-right: 10px;
  margin-top: 10px;
}

#contact-form{
  width: 80vw;
  /* border: 1px solid red; */
  margin-bottom: 5vh;
}

.contact-form h2{
  /* margin-bottom: 20px; */
  margin-top: 3vh;
}
input, textarea{
  width: 80vw;

}
footer p, a{
  font-size: 0.875rem;
}

}
