@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@800&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@800&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap');

:root {
  --text-color: #F2D20C;
}

* {
  box-sizing: border-box;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}



body {
  background-color: black;
  background-image: url(../images/NEWWBackground\ texture-03-03-03.webp);
  background-repeat: repeat;
  height: 100%;
  width: 100%;

}
/* navbar start */

a {
  color: #ffff;
  text-decoration: none;
  height: 0px;
}

nav {
  height: 80px;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0px 22px;
}

nav .logo {
  margin-top: 30px;
  margin-left: 0px;
}

.logo img {
  height: 80px;
}

.icon {
  margin-top: 30px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin: 0px 5px;
  padding: 0px 12px;
}

nav ul li a {
  text-decoration: none;
  color: #ffff;
  padding: 10px;
  transition: all 0.3s ease;
  font-size: 25px;
  text-transform: uppercase;
}

nav ul li a:hover {
  background-color: #0000;
  border-radius: 5px;
}

nav .menubar i {
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: none;
}

#click {
  display: none;
}

.nav_text {
  font-family: 'Montserrat', sans-serif;
  font-size: 25px;
  text-transform: uppercase;
  cursor: pointer;

}

#toggle{
  display: none;
  
}

.projectsClick{
  cursor: pointer;
}
.projectsMenu{
  /* border: 2px solid green; */
  color: #fff;
  width: 13rem;
  height: 6rem;
  display: grid;
  grid-auto-flow: row;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  transition: all 0.5s ease;
  position: absolute; 
  top: 0;
  display: grid;
  right: 1px;
  margin-right: 20.2rem;
  background-color: #000;
  border-radius: 7px;
  display: none;
  opacity: 0; 
  transform: translateY(-20px);
  transition: all 2s ease; 
  /* z-index: 10; */
}
.projectsMenuOption{
  cursor: pointer;
  display: flex;
  padding-left: 7px;
  height: 2rem;
  /* justify-content: center; */
  align-items: center;
  /* transition: border 0.2s ease, border-radius 0.2s ease; */
}
.projectsMenuOption:hover{
  border: 2px solid #fff;
  border-radius: 7px;
}
#toggle:checked ~ .projectsMenu {  
  margin-top: 5.3rem;
  z-index: 1;
  opacity: 1;
  display: grid;
 
}


/* navbar end */


.project {
  background-image: url(Upgrade\ -\ Website\ Revamp.jpg);
  background-size: contain;
  width: 900px;
  height: 5500px;
  margin: 0px 320px;


}



.back {
  width: 100%;
  height: 15rem;
  display: flex;
  justify-content: center;
  align-items: center;

}



.footer_container {
  width: 100%;
  height: 10rem;
  margin-bottom: 7rem;
  padding: 0px 70px;
}

.footer_top_box {
  border-top: 2px solid grey;
  border-bottom: 2px solid grey;
  width: 100%;
  height: 9rem;

  display: flex;
  justify-content: space-around;
  align-items: center;

  padding: 120px 0px;

}

.email1 {
  color: #ffff;
  display: flex;
  justify-content: center;
  font-size: 23px;
}

.email2 {
  color: #ffff;
  text-transform: lowercase;
  font-size: 23px;
}

.top_text {
  color: #ffff;
  font-size: 23px;
  margin-bottom: 10px;
}

.svg_logo {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.footer_down {
  display: flex;
  justify-content: center;
  color: #fff;
  margin-top: 30px;
  font-size: 18px;
}

.part2 {
  display: flex;
  gap: 7px;
}

.footerDownContainer {
  width: 100%;
  height: 60px;
}

@media (max-width:1024px) {
  .project {
    margin: 0px 70px;
  }

  .footer_container {
    margin-bottom: 10rem;
    padding: 0px 50px;
  }

  .footer_top_box {
    margin: 0px 0px;
    margin-bottom: 40px;
    padding: 120px 0px;
  }

  .email1 {
    font-size: 20px;
  }

  .email2 {
    font-size: 20px;
  }

  .footer_top_box2>img {
    height: 100px;
  }
}

@media (max-width:768px) {
  .project {
    width: 692px;
    height: 4690px;
    margin: 0px 40px;
  }

  .footer_container {
    margin-bottom: 2rem;
    padding: 0px 40px;
  }

  .footer_top_box {
    margin: 0px 0px;
    margin-bottom: 40px;
    padding: 15px 0px;
  }

  .email1 {
    font-size: 15px;
  }

  .email2 {
    font-size: 13px;
  }

  .footer_top_box2>img {
    height: 70px;
  }

  .top_text {
    font-size: 17px;
  }
}

@media (max-width: 475px) {
  body {
    padding-bottom: 170px;
  }
/* navbar start */

nav .menubar i {
  display: block;
}

.logo img {
  height: 60px;
  
}

nav ul {
  position: absolute;
  top: 80px;
  left: -150%;
  background-color: #000;
  width: 100%;
  display: block;
  text-align: center;
  justify-content: center;
  transition: all 0.5s ease;
  padding-right: 50px;
  padding: 0px 0px;
  height: 10rem ;
}

#click:checked~ul {
  left: 0;
  margin: 5px 0px;
}

.projectsMenuOption>a{
  margin-bottom: 7px;
}

nav ul li {
  margin: 15px;
}

nav ul li a {
  font-size: 20px;
  display: block;
  font-weight: 600;
}

nav ul li a:hover {
  color: #ffff;
}

.projectsMenu{
  display: none; /* Initially hide the menu */
  opacity: 0;
  position: absolute;
  margin: auto;
  /* margin-top: 12rem; */
  margin-left: -20rem;
  /* width: 0px; */
}

.projectsMenuOption{
  padding-left: 1rem;
}

.projectsMenuOption:hover{
  border: 0px;
  border-radius: 0px;
}

#toggle:checked ~ .projectsMenu {  
  display: grid;
  justify-content: center;
  align-items: center;
  opacity: 1;
  position: absolute;
  width: 100%;
  margin-top: 12rem;
}


/* navbar end  */

  .project_container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
  }

  .project {
    width: 32cap;
    height: 200cap;
    margin: 0;
    background-size: cover;
    margin-top: 20px;

  }

  .footer_top_box {
    margin-top: -30px;
    padding: 20px 0px;
    height: 20rem;
    gap: 10px;
    display: grid;
    text-align: center;
  }

  .footer_container {
    padding: 0px 20px;
  }

  .email1 {
    font-size: 15px;
  }

  .email2 {
    font-size: 15px;
  }

  .footer_top_box2>a>img {
    height: 70px;
  }

  .top_text {
    font-size: 15px;
  }

  .svg_logo {
    gap: 10px;
  }

  .part2 {
    font-size: 13px;
  }
}