@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=Playfair+Display:ital,wght@0,400..900;1,400..900&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%;
}

a {
  color: #ffff;
  text-decoration: none;
}
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; /* Use absolute positioning */
  top: 0;
  z-index: 1;
  display: grid;
  right: 1px;
  /* margin-top: -10rem; */
  margin-right: 10rem;
  background-color: #000;
  border-radius: 7px;
  display: none;
  opacity: 0; 
  transform: translateY(-20px);
  transition: all 1s ease-in; /* Smooth transition with longer duration */
  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;
 
}

.taglineContainer {
  width: 100%;
  height: 20rem;
  /* margin-bottom: 30px; */
  /* border: 2px solid yellow; */
  display: flex;
  text-align: center;
  align-items: end;
  justify-content: center;
}


.tagline {
  color: white;
  font-size: 70px;
  font-weight: bolder;
  font-family: "Playfair Display", serif;
  text-transform: uppercase;
  animation: stroke 3s alternate;
}


@keyframes stroke {
  0% {
    opacity: 0;
  }

  40% {
    opacity: 0;
  }

  80% {
    opacity: 0.6;
  }

  100% {
    opacity: 1;
  }
}


.serviceImages {
  width: 100%;
  display: grid;
  justify-content: center;
  margin-bottom: 50px;
  gap: 30px;
}

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

.image1 {
  background-image: url(../images/service\ page\ 1\ -\ creative\ logo-02.png);
  width: 50rem;
  height: 30rem;
  background-size: cover;
}

.image2 {
  background-image: url(../images/service\ page\ 2\ -\ brand\ identity-02.png);
  width: 50rem;
  height: 30rem;
  background-size: cover;
}

.image3 {
  background-image: url(../images/service\ page\ 3\ -\ creative\ poster-02.png);
  width: 50rem;
  height: 30rem;
  background-size: cover;
}

.image4 {
  background-image: url(../images/service\ page\ 4\ -\ social\ media\ post-02.png);
  width: 50rem;
  height: 30rem;
  background-size: cover;
}


.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: 475px) {
  nav .menubar i {
    display: block;
  }

  .logo img {
    height: 60px;
  }

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

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


  nav ul li {
    margin: 10px;
  }

  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: 13.5rem;
  }


  .taglineContainer {
    height: 7rem;
  }

  .tagline {
    font-size: 18px;
  }

  .image1,
  .image2,
  .image3,
  .image4 {
    width: 23rem;
    height: 15rem;
  }


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

  .footer_container {
    padding: 0px 20px;
    margin-left: -45px;
  }

  .email1 {
    font-size: 15px;
  }

  .email2 {
    font-size: 15px;
  }

  .footer_top_box2>img {
    height: 50px;
  }

  .top_text {
    font-size: 15px;
  }

  .svg_logo {
    gap: 10px;
  }

  .footerDownContainer {
    margin: 0px 50px;
  }

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