
@font-face {
  font-family: "jersey10";
  src: url("./font/Jersey10-Regular.ttf");
  /* letter-spacing: 2rem; */
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "jersey10" ,'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

html, body {
  height: 100%;
  width: 100%;
  
}
html{
  scroll-behavior: smooth;
}
.main{
  position: relative;
  width: 100%;
  color: rgb(234, 234, 254);
  background-color: #111;
  letter-spacing: .1rem;
  overflow: hidden;
}
.home{
  padding-top: 4rem;
  position: relative;
  height: 100vh;
  width: 100%;
}

nav{
  position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  height: 4rem;
  width: 100%;
  top: 0;
  background: hsla(0, 0%, 7%, 0.20);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* Safari */
  z-index: 111;
}
.logo {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.logo img {
  /* margin-left: -2rem; */
  height: 1.5rem;
  width: auto;
  display: block;
  overflow: hidden;
}
.menubar{
  position: relative;
  display: none;
  height: 2rem;
  width: 2rem;
  padding: 1rem;
  background: url("./icons/icons8-menu-50.png");
  background-size: contain;
  background-repeat: no-repeat;
}
.menubar-container{
  position: relative;
  height: 20rem;
  width: 10rem;
  /* background-color: rgb(97, 68, 29); */
  display: none;
}
nav ul{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  list-style: none;
}
.home-content{
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-grow: 1;
  padding: 4rem 1rem;
  padding-top: 6.5rem;
  /* flex-wrap: wrap; */
  gap: 1rem;
}

.home-img {
  
  object-fit: cover;
  width: 40rem;
  height: 25rem;
  filter: blur(0.5px);
  opacity: 0.6;
  border-radius: 1rem;
  overflow: hidden;
  z-index: 1;
}
.home-about>div{
  overflow: hidden;
}
.home-about{
  width: 30rem;
  height: 20rem;
  gap: .5rem;
  display: flex;
  flex-direction: column;
  padding-left: 2rem;
}
.home-about h1{
  font-size: 3rem;
}
.home-about h2{
  font-size: 2rem;
  color: rgb(201, 108, 108);
  font-weight: 900;
}
.home-about h4{
  padding-top: 1rem;
  font-size: 1.3rem;
}
.about{
  padding-top: 4rem;
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.content-about-box{
  width: 100%;
  height: 30rem;
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 1rem;
  /* background-color: aquamarine; */
}
.content-about{
  

  flex-grow: 1;
  justify-content: center;
  /* height: 25rem; */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 2rem;
  gap: 1rem;
  width: 20rem;
}
.about h2, .contact h2{
  font-size: 3rem;
  font-weight: 900;
  margin-left: 1.5rem;
  font-family: "jersey10";
  letter-spacing: 2rem;
}
.my-img{
  width: 15rem;
  height: 20rem;
  background:url("./myImg.jpeg");
  background-size: cover;
  border-radius: 1rem;
  margin: 0rem 2rem;

}
.content{
  /* height: 6rem; */
  width: auto;
  line-height: 2rem;
  margin-right: 3rem;
  /* text-align: center; */
  font-size: 3vw;
  
}
 .two{
  color: rgb(201, 108, 108); 
}

.contact{
  padding-top: 2rem;
  position: relative;
  height: 92vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: rgb(234, 234, 254);
  color: #111;
  font-size: medium;
  padding-left: 1rem ;
}
.contact-content{
  margin:1rem 2rem 2rem;
  padding: 2rem 0.5rem;
  width: 55vw;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.information{
  margin-top: 2rem;
  /* width: 20rem; */
  font-size: 2vw;
  height: auto;
  /* background-color: cadetblue; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 0.5rem;
  gap: 0.2rem;
}
.contact-content .two{
  color:  rgb(207, 74, 74);
}
.information h3{
  color:  rgb(207, 74, 74);
}
.contact >div{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.contect-img{
  width: 25rem;
  height: 20rem;
  margin-right: 2rem;
  background: url(jonas-stolle-6rhdGmD6wfw-unsplash.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 1rem;
}
.information div{
  gap:0.5rem
}

.info{
  display: flex;
  align-items: center;
  /* gap: 0.5rem; */
}
.info>span{
  display: inline-block;
  height: 2rem;
  width: 2rem;
  /* background: black; */
}
.email{
  background: url("./icons/icons8-gmail-48.png");
  background-size: contain;
  background-repeat: no-repeat;
  
}
.email a, .linkedin a, .github a{
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.phone{
  background: url("./icons/icons8-phone-48.png");
  background-size: contain;
  background-repeat: no-repeat;
}
.location{
  background: url("./icons/icons8-location-48.png");
  background-size: contain;
  background-repeat: no-repeat;
}
.github{
  background: url("./icons/icons8-github-48.png");
  background-size: contain;
  background-repeat: no-repeat;
}
.linkedin{
  background: url("./icons/icons8-linkedin-48.png");
  background-size: contain;
  background-repeat: no-repeat;
}
.nav-list li a.active {
  background-color: rgba(201, 108, 108, 0.2);
  color: rgb(201, 108, 108);
  border-radius: 0.4rem;
}

.nav-list li a {
  transition: background-color 0.2s ease, color 0.2s ease;
}

@media (max-width: 920px) {
  .home-img{
    display: none;
  }
  
  .home-about{
    width: auto;
    height: 25rem;
    padding: 1rem 2rem;
    padding-right: 0.5rem;
  }
  .menubar-container{
    display: initial;
    z-index: 1;
  }
  .menubar{
    display: initial;
    z-index: 3;
  }
  .home-about h1{
    font-size: 9vw;
  }
  .home-about h2{
    font-size: 6vw;
  }
  .home-about h4{
    font-size: 3vw;
  }
  .home-content{
    padding-top: 9rem;
  }
}
@media (max-width: 810px){
  .about h2, .contact h2{
    margin-top: 0.5rem;
    font-size: 4.5vw;
    letter-spacing: 1rem;
  }
  .my-img{
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
  }
  .content-about-box{
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .content-about{
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .content{
    font-size: 3.5vw;
  }
  .contect-img{
    display: none;
  }
  .contact-content{
    display: flex;
    flex-direction: row;
    width: 100%;
    /* margin-top: 3rem; */
    margin-left: 1.5rem;
    font-size: 3vw
  }
  
}
@media (max-width: 650px) {
  .contact-content{
    display: flex;
    flex-direction: column;
    margin: 0;
  }
  .contact-content  .content{
    margin-left: 0.5rem;
  }
  .contact h2{
    margin: 0;
    font-size: 1.7rem;
  }
  .contact-content .content{
    margin: 0;
    /* margin-left: 0.5rem; */
    letter-spacing: 0.1vw;
    font-size: 1.2rem;
    line-height: 1.3rem;
    
  }
  .contact-content .two{
    margin-top: 0.5rem;
  }
  .information div{
    font-size: 1rem;
  }
  .information h3{
    font-size: 1.5rem;
  }
}
@media (max-width: 400px) {
  .contact-content{
    display: flex;
    flex-direction: column;
    margin: 0;
   
  }
  .content-about .content{
    margin: 0;
    /* margin-left: 0.5rem; */
    letter-spacing: 0.1vw;
    font-size: 1.2rem;
    line-height: 1.3rem;
  }
  .contact h2{
    margin: 0;
    font-size: 1.5rem;
  }
  .contact-content .content{
    margin: 0;
    /* margin-left: 0.5rem; */
    letter-spacing: 0.1vw;
    font-size: 1.2rem;
    line-height: 1.3rem;
    
  }
  .contact-content .two{
    margin-top: 0.5rem;
  }
  .information div{
    font-size: 1rem;
  }
  .information h3{
    font-size: 1.5rem;
  }
}
/* nav .nav-list {
  
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  list-style: none;
} */
nav .nav-list li a {
  color: inherit;
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  display: block;
}
@media (max-width: 920px) {
  .nav-list {
    display: none;
    position: fixed;
    top: 4rem;
    right: 1rem;
    background: rgba(18, 18, 18, 0.95);
    padding: 0.5rem 0.8rem;
    border-radius: 0.5rem;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 110;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    min-width: 140px;
  }
  .nav-list.open {
    display: flex;
  }
  .menubar.open{
    position: relative;
    height: 2rem;
    width: 2rem;
    padding: 1rem;
    background: url("./icons/icons8-cross-24.png");
    background-size: contain;
    background-repeat: no-repeat;
  }
  .menubar {
    /* display: block; */
    cursor: pointer;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    width: 2.4rem;
    height: 2.4rem;
    padding: 0.25rem;
  }
  .menubar-container {
    /* display: block; */
    height: auto;
    width: auto;
    background: none;
  }
  .nav-list li a {
    font-size: 1rem;
    padding: 0.6rem 1rem;
  }
}
/* width of scrollbar */
::-webkit-scrollbar {
  width: 3px;
}

/* track (background) */
::-webkit-scrollbar-track {
  background: #111;
}

/* handle (thumb) */
::-webkit-scrollbar-thumb {
  background: rgb(201, 108, 108);
  /* border-radius: 10px; */
}

/* on hover */
::-webkit-scrollbar-thumb:hover {
  background: rgb(170, 80, 80);
}
/* for xxl screen 1400width */
@media(min-width: 1400px)
{
  nav{
    height: 5rem;
    font-size: 1.5rem;
  }
  nav>.nav-list{
    gap: 1.5rem;
  }
  .logo>img{
    height: 2rem;
  }
  .home-about{
    width: 50rem;
    height: auto;
  }
  .home-about h1{
    font-size: 7vw;
  }
  .home-about h2{
    font-size: 5vw;
  }
  .home-about h4{
    font-size: 3vw;
    font-weight: 300;
  }
  .home-img{
    width: 50rem;
    height: 30rem;
  }
  .content-about-box{
    margin-top: 10rem;
  }
  .contact h2,
  .about h2{
    font-size: 10rem;
  }
  .my-img{
    width: 20rem;
    height: 25rem;
    margin: 0rem 2rem;
  }
  .content-about .content{
    line-height: 4rem;
  }
  .contact, .about, .home{
    padding-top: 5rem;
  }
  .contact-content{
    margin:4rem 2rem 2rem;
    padding: 2rem 0.5rem;
    width: 60vw;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    
  }
  .contect-img{
    width: 35rem;
    height: 30rem;
  }
  .information div{
    gap:1rem
  }
  .contact-content .content{
    margin:1rem;
    line-height: 3rem;
  }
}

