* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;
  font-family: "Roboto", sans-serif;
}
/*set up the body*/
body {
  display: flex;
  flex-direction: column;
  background-repeat: no-repeat;
  background-color: #0a0a0a;
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
  overflow-x: hidden;
  overflow-y: scroll;
}
body::-webkit-scrollbar {
  width: 0;
}
/*primary header*/
.section-logo {
  margin: 2rem;
}
.logo {
  width: 170px;
}
nav {
  position: fixed;
  right: 0;
  z-index: 1001;
}

nav ul li a:hover {
  text-shadow: 0 0 20px #fff, 0 0 40px #fff, 0 0 60px #fff;
}
.primary-header {
  position: relative;
  align-items: center;
  justify-content: space-between;
}
.mobile-nav-toggle {
  display: none;
}
.primary-navigation {
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.308);
  border-radius: 100px 0px 0px 8px;
  border-right: none;
}
.safari .primary-navigation {
  background-image: url(../bghome.png);
  background-size: cover;
  background-position: center;
}
.primary-navigation a {
  text-decoration: none;
  color: #ffffff;
}
.primary-navigation a > [aria-hidden="true"] {
  font-weight: 700;
  margin-inline-end: 0.7em;
}
@supports (backdrop-filter: blur(1rem)) {
  .primary-navigation {
    background: hsl(0, 0%, 100% / 0.1);
    backdrop-filter: blur(1rem);
  }
}
.grid-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: -130px;
}
.grid-item {
  flex: 1 1 calc(50% - 10px);
  margin: 5px;
}
.grid-item img {
  width: 100%;
  height: auto;
  display: block;
}
/* Mobile view: single column */
@media (max-width: 600px) {
  .grid-container {
    flex-direction: column;
  }
  .grid-item {
    flex: 1 1 100%;
    margin: 5px 0;
  }
}
/* Media query for responsiveness */
@media screen and (max-width: 768px) {
  .box {
    width: calc(50% - 20px);
  }
}

@media screen and (max-width: 480px) {
  .box {
    width: calc(100% - 20px);
  }
}
/*main title*/
.title h2 {
  text-align: center;
  margin-top: 100px;
  color: #ffffffe5;
  font-weight: 600;
  font-family: "Ysabeau Infant";
}
.footer-text-ending {
  text-align: center;
  font-size: 17px;
  font-weight: 300;
  color: #fff;
  font-family: "Roboto";
  margin-bottom: 20px;
}
.footer-text-ending span {
  font-weight: 500;
}
/*Footer Section*/
footer {
  display: flex;
  flex-wrap: wrap;
  margin-top: 180px;
  background-color: #21242700;
  padding: 60px 10%;
  border-top: 1px solid #ffffffc2;
}
.footer-col {
  width: 25%;
}
.footer-col h4 {
  position: relative;
  margin-top: 15px;
  margin-bottom: 30px;
  font-weight: 400;
  font-size: 22px;
  color: #fff;
  text-transform: capitalize;
}
.footer-col h4::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  background-color: #fff;
  height: 1px;
  width: 60px;
}
ul li:not(:last-child) {
  margin-bottom: 20px;
}
ul li a {
  display: block;
  font-size: 16px;
  color: #ffffffa1;
  transition: 0.4s;
}
.footer-questions a:hover {
  color: #fff;
  padding-left: 3px;
}
.links a {
  border: 1px solid white;
  font-size: 18px;
  display: inline-block;
  height: 44px;
  width: 44px;
  color: white;
  background-color: #212427;
  margin: 0 8px 8px 0;
  text-align: center;
  line-height: 45px;
  border-radius: 50%;
  transition: 0.5s;
}
.links a:hover {
  border-color: #212427;
  color: #212427;
  background-color: #fff;
  box-shadow: 0px 0px 30px 5px #fff;
}
@media (min-width: 35em) {
  .primary-navigation {
    --gap: 3rem;
    padding-block: 1.5em;
    padding-inline: clamp(3rem, 10vw, 10rem);
  }
}
@media (max-width: 50em) {
  .container-two {
    margin-top: -35px;
  }
  .title h2 {
    text-align: center;
    margin-top: 100px;
    color: #ffffffb9;
    font-size: 20px;
    font-family: "Roboto";
  }
  .logos {
    color: #212427;
    box-shadow: 0 0 20px #ffffff3a;

    background: linear-gradient(
      to bottom,
      rgb(255, 251, 0, 0.45),
      rgb(158, 20, 223, 0.45)
    );
  }
  .offer-button {
    width: 250px;
  }
  .offer-pic {
    margin-top: 0px;
    margin-bottom: -200px;
  }
  .content {
    flex-direction: column;
  }
  .image {
    flex: none;
    width: 100%;
    margin-bottom: 50px;
  }
  .text {
    margin-bottom: 30px;
  }
  .footer-col {
    width: 50%;
    margin-bottom: 30px;
    text-align: center;
  }

  .footer-col h4::before {
    all: unset;
  }
  .footer-col h4 {
    position: relative;
    margin-top: 15px;
    margin-bottom: 30px;
    font-weight: 400;
    font-size: 22px;
    color: #ffffff;
    text-transform: capitalize;
  }
  ul li a {
    display: block;
    font-size: 16px;
    color: #cccccc;
    transition: 0.4s;
  }

  .primary-navigation {
    --gap: 2.8em;

    position: fixed;
    z-index: 1000;
    inset: 0 0 0 45%;

    flex-direction: column;
    padding: min(30vh, 10rem) 2em;

    transform: translateX(100%);
    transition: transform 350ms ease-out;
    background: hsl(0, 0%, 100% / 0.75);
  }
  .primary-navigation[data-visible="true"] {
    transform: translateX(0%);
  }
  .mobile-nav-toggle {
    display: block;
    position: absolute;
    z-index: 9999;
    background-color: transparent;
    background: url("../icons/white.svg");
    width: 2rem;
    border: 0;
    background-repeat: no-repeat;
    aspect-ratio: 1;
    top: 2rem;
    right: 2rem;
  }

  .mobile-nav-toggle[aria-expanded="true"] {
    background-image: url(../icons/white-x.svg);
  }
}
@media (min-width: 882px) and (max-width: 928px) {
  .primary-navigation a > span[aria-hidden] {
    display: none;
  }
}
@media (min-width: 35em) and (max-width: 55em) {
  .primary-navigation a > span[aria-hidden] {
    display: none;
  }
  .footer-col {
    width: 100%;
  }
}
/*general*/
.flex {
  display: flex;
  gap: var(--gap, 1rem);
}
