/* Mobile devices */
@media (min-width: 0px) and (max-width: 480px) {
  #open-sidebar-button,
  #close-sidebar-button {
    display: block;
  }
  nav {
    position: fixed;
    top: 0;
    right: -150%;
    height: 100vh;
    z-index: 10;
    transition: right 300ms ease-in-out;
    padding: 0 0rem;
    width: 50%;
    display: block;
  }

  .logo img {
    height: auto;
    width: 140px;
    display: none;
  }
  nav.show {
    right: 0;
  }
  nav.show ~ #overlay {
    display: block;
  }
  nav ul {
    width: 100%;
    flex-direction: column;
  }
  nav a {
    width: 100%;
    padding-left: 2.5em;
  }

  .hero {
    background-color: #603813;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap-reverse;
    align-content: center;
  }

  .text {
    color: white;
    height: 20rem;
    width: 60rem;
    padding: 7rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .text h2 {
    font-size: 1.5rem;
    font-weight: 200;
    margin-bottom: 0.5rem;
  }

  .text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }

  .text p {
    font-size: 1rem;
    font-weight: 200;
  }
  .text button {
    font-size: 15px;
    font-weight: 200;
    padding: 1rem 5rem;
    margin-top: 2rem;
    background-color: transparent;
    border: 3px solid white;
    color: white;
    cursor: pointer;
    transition: 0.2s ease;
    border-radius: 20px;
  }

  .text button:hover {
    background-color: #47290e;
  }

  .pic {
    background-color: rgb(255, 255, 255);
    height: 15rem;
    width: 90%;
    border-radius: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
  }

  .pic img {
    height: auto;
    width: 250px;
  }

  .services {
    background-color: #dfdfdf;
    min-height: 100vh;
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .services h1 {
    font-size: 2rem;
    margin-top: 3rem;
    color: #603813;
  }

  .seperator {
    width: 80%;
    height: 0.3rem;
    background-image: linear-gradient(to right, #603813, rgb(105, 77, 23));
  }

  .cards {
    min-height: 100vh;
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    align-content: center;
  }

  .picture {
    width: 100%;
    height: auto;
    overflow: hidden;
  }

  .picture img {
    height: auto;
    width: 100%;
  }

  .services h1 {
    margin-top: 2rem;
  }

  .services {
    display: flex;
    flex-direction: column;
  }
  .svs-head {
    display: flex;
    justify-content: center;
  }

  .svs {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 5rem;
    gap: 1rem;
  }

  .card {
    background-color: #603813;
    min-height: fit-content;
    width: 20rem;
    text-align: center;
    border-radius: 1rem;
    transition: 0.3s ease;
  }

  .card h2 {
    font-size: 1.5rem;
    color: rgb(255, 255, 255);
  }

  .card p {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: rgb(255, 255, 255);
    margin-bottom: 1rem;
  }

  .card img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
  }

  .pricing {
    min-height: 100vh;
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #603813;
  }

  .pricing h1 {
    color: white;
    font-size: 2rem;
    text-align: center;
    margin-top: 8rem;
  }
  .pricing p {
    color: white;
    margin-bottom: 3rem;
    width: 20rem;
    text-align: center;
    font-size: 1.2rem;
  }

  .pricing a {
    text-decoration: none;
    color: black;
    background-color: #dfdfdf;
    padding: 1rem 2rem;
    border-radius: 20px;
  }

  .tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem;
    gap: 2rem;
  }

  .p-tag {
    height: 20rem;
    min-width: 23rem;
    background-color: #dfdfdf;
    border-radius: 20px;
  }

  .section__container {
  display: flex;
  margin: auto;
  padding: 2rem 1rem;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  height: auto;

}

.section__container h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.section__container h1 {
  position: relative;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.section__container h1::after {
  position: absolute;
  content: "";
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  height: 2px;
  width: 5rem;
  background-color: var(--primary-color);
}

.section__grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

.section__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 5rem 2rem 2rem;
  background-color: var(--white);
  border-radius: 5px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.section__card::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  width: 75%;
  aspect-ratio: 1;
  border-radius: 100%;
  background-color: var(--primary-color);
  z-index: -1;
  transition: 0.5s;
}

.section__card span {
  position: absolute;
  top: 0;
  left: 0;
  padding: 1rem;
  font-size: 3rem;
  color: var(--white);
}

.section__card h4 {
  margin-top: 4rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  transition: 0.3s;
}

.section__card p {
  margin-bottom: 2rem;
  color: var(--text-light);
  transition: 0.3s;
}




}

/* iPads, Tablets */
@media (min-width: 481px) and (max-width: 768px) {
    .section__container {
  display: flex;
  margin: auto;
  padding: 2rem 1rem;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  height: auto;

}
.section__grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}
  #open-sidebar-button,
  #close-sidebar-button {
    display: block;
  }
  nav {
    position: fixed;
    top: 0;
    right: -150%;
    height: 100vh;
    z-index: 10;
    transition: right 300ms ease-in-out;
    padding: 0 0rem;
    width: 50%;
    display: block;
  }

  .logo img {
    height: auto;
    width: 140px;
    display: none;
  }
  nav.show {
    right: 0;
  }
  nav.show ~ #overlay {
    display: block;
  }
  nav ul {
    width: 100%;
    flex-direction: column;
  }
  nav a {
    width: 100%;
    padding-left: 2.5em;
  }
  nav a.active-link {
    border-bottom: none;
  }
  nav .home-li {
    margin-right: unset;
  }

  #open-sidebar-button,
  #close-sidebar-button {
    display: block;
  }
  nav {
    position: fixed;
    top: 0;
    right: -150%;
    height: 100vh;
    z-index: 10;
    transition: right 300ms ease-in-out;
    padding: 0 0rem;
    width: 50%;
    display: block;
  }

  .logo img {
    height: auto;
    width: 140px;
    display: none;
  }
  nav.show {
    right: 0;
  }
  nav.show ~ #overlay {
    display: block;
  }
  nav ul {
    width: 100%;
    flex-direction: column;
  }
  nav a {
    width: 100%;
    padding-left: 2.5em;
  }
  nav a.active-link {
    border-bottom: none;
  }
  nav .home-li {
    margin-right: unset;
  }

  .hero {
    background-color: #603813;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap-reverse;
    gap: 2rem;
  }

  .text {
    color: white;
    height: fit-content;
    width: 80rem;
    padding: 7rem 3rem;
    text-align: center;
  }

  .text h2 {
    font-size: 2rem;
    font-weight: 200;
  }

  .text h1 {
    font-size: 3rem;
    font-weight: 700;
  }

  .text p {
    font-size: 1rem;
    font-weight: 200;
  }
  .text button {
    font-size: 15px;
    font-weight: 200;
    padding: 1rem 5rem;
    margin-top: 2rem;
    background-color: transparent;
    border: 3px solid white;
    color: white;
    cursor: pointer;
    transition: 0.2s ease;
    border-radius: 20px;
  }

  .text button:hover {
    background-color: #47290e;
  }

  .pic {
    background-color: rgb(255, 255, 255);
    margin-top: 2rem;
    height: 15rem;
    width: 80%;
    border-radius: 200px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .pic img {
    height: auto;
    width: 250px;
  }

  .services {
    min-height: 100vh;
    min-width: 100%;
    background-color: #dfdfdf;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    align-content: center;
    padding: 3rem 1rem;
  }

  .card {
    background-color: #603813;
    height: 20rem;
    width: 30rem;
    flex-grow: 1;
  }
  .pricing {
    min-height: 100vh;
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #603813;
  }

  .pricing h1 {
    color: white;
    font-size: 3rem;
    margin-top: 8rem;
    text-align: center;
    margin-bottom: 1rem;
    width: 80%;
  }
  .pricing p {
    color: white;
    margin-bottom: 3rem;
    max-width: 30rem;
    text-align: center;
    font-size: 1.4rem;
  }

  .pricing a {
    text-decoration: none;
    color: black;
    background-color: #dfdfdf;
    padding: 1rem 2rem;
    border-radius: 20px;
  }

  .tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem;
    gap: 2rem;
  }

  .p-tag {
    min-height: 20rem;
    width: 100%;
    background-color: #dfdfdf;
    border-radius: 20px;
  }
}

/* Small screens, laptops */
@media (min-width: 769px) and (max-width: 1024px) {

      .section__container {
  display: flex;
  margin: auto;
  padding: 2rem 1rem;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  height: auto;

}
.section__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
  #open-sidebar-button,
  #close-sidebar-button {
    display: block;
  }
  nav {
    position: fixed;
    top: 0;
    right: -150%;
    height: 100vh;
    z-index: 10;
    transition: right 300ms ease-in-out;
    padding: 0 0rem;
    width: 50%;
    display: block;
  }

  .logo img {
    height: auto;
    width: 140px;
    display: none;
  }
  nav.show {
    right: 0;
  }
  nav.show ~ #overlay {
    display: block;
  }
  nav ul {
    width: 100%;
    flex-direction: column;
  }
  nav a {
    width: 100%;
    padding-left: 2.5em;
  }
  nav a.active-link {
    border-bottom: none;
  }
  nav .home-li {
    margin-right: unset;
  }

  .hero {
    background-color: #603813;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap-reverse;
    gap: 2rem;
  }

  .text {
    color: white;
    height: 40rem;
    width: 60rem;
    padding: 7rem 3rem;
    text-align: center;
  }

  .text h2 {
    font-size: 3rem;
    font-weight: 200;
  }

  .text h1 {
    font-size: 4rem;
    font-weight: 700;
  }

  .text p {
    font-size: 1rem;
    font-weight: 200;
  }
  .text button {
    font-size: 15px;
    font-weight: 200;
    padding: 1rem 5rem;
    margin-top: 2rem;
    background-color: transparent;
    border: 3px solid white;
    color: white;
    cursor: pointer;
    transition: 0.2s ease;
    border-radius: 20px;
  }

  .text button:hover {
    background-color: #47290e;
  }

  .pic {
    background-color: rgb(255, 255, 255);
    margin-top: 2rem;
    height: 20rem;
    width: 30rem;
    border-radius: 200px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .pic img {
    height: auto;
    width: 350px;
  }

  .services {
    min-height: 100vh;
    min-width: 100%;
    background-color: #dfdfdf;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    align-content: center;
    padding: 3rem 1rem;
  }

  .card {
    background-color: #603813;
    height: 20rem;
    width: 30rem;
    flex-grow: 1;
  }

   .pricing {
    min-height: 100vh;
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #603813;
  }

  .pricing h1 {
    color: white;
    font-size: 3rem;
    margin-top: 8rem;
    text-align: center;
    margin-bottom: 1rem;
    width: 80%;
  }
  .pricing p {
    color: white;
    margin-bottom: 3rem;
    max-width: 30rem;
    text-align: center;
    font-size: 1.4rem;
  }

  .pricing a {
    text-decoration: none;
    color: black;
    background-color: #dfdfdf;
    padding: 1rem 2rem;
    border-radius: 20px;
  }

  .tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem;
    gap: 2rem;
  }

  .p-tag {
    min-height: 20rem;
    width: 100%;
    background-color: #dfdfdf;
    border-radius: 20px;
  }
}

/* Desktops, large screens */
@media (min-width: 1025px) and (max-width: 1200px) {

  
  nav {
    position: fixed;
    height: 5rem;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    padding: 0 1rem;
    background-color: white;
    z-index: 1;
  }

  .logo img {
    height: auto;
    width: 70px;
  }
  nav ul {
    list-style: none;
    display: flex;
  }

  nav li {
    display: flex;
  }
  nav a {
    display: flex;
    text-decoration: none;
    color: #603813;
    padding: 1em 2em;
    font-size: 12px;
    transition: 0.1s ease;
    border-radius: 20px;
  }
  .hero {
    background-color: #603813;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }

  .text {
    color: white;
    height: 30rem;
    width: 40rem;
    padding: 7rem 3rem;
  }

  .text h2 {
    font-size: 2rem;
    font-weight: 200;
  }

  .text h1 {
    font-size: 3rem;
    font-weight: 700;
  }

  .text p {
    font-size: 1rem;
    font-weight: 200;
  }
  .text button {
    font-size: 15px;
    font-weight: 200;
    padding: 1rem 5rem;
    margin-top: 2rem;
    background-color: transparent;
    border: 3px solid white;
    color: white;
    cursor: pointer;
    transition: 0.2s ease;
    border-radius: 20px;
  }

  .text button:hover {
    background-color: #47290e;
  }

  .pic {
    background-color: rgb(255, 255, 255);
    margin-top: 2rem;
    height: 20rem;
    width: 20rem;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .pic img {
    height: auto;
    width: 200px;
  }

  
}

/* Extra large screens, TVs */
@media (min-width: 1201px) {
  @import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap");

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  html {
    font-family: Poppins, "Segoe UI", sans-serif;
    scroll-behavior: smooth;
  }
  body {
    min-height: 100vh;
    min-height: 100dvh;
    background-color: #47290e;
  }
  .p-tag {
    min-height: 20rem;
    width: 30%;
    background-color: #dfdfdf;
    border-radius: 20px;
  }
  .open-sb {
    position: relative;
    z-index: 1;
  }

  nav {
    position: fixed;
    height: 5rem;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    padding: 0 2rem;
    background-color: white;
    z-index: 1;
  }

  .logo img {
    height: auto;
    width: 100px;
  }
  nav ul {
    list-style: none;
    display: flex;
  }

  nav li {
    display: flex;
  }
  nav a {
    display: flex;
    text-decoration: none;
    color: #603813;
    padding: 1em 2em;
    font-size: 15px;
    transition: 0.1s ease;
    border-radius: 20px;
  }
  nav a:hover {
    border-bottom: 5px solid;
  }

  #open-sidebar-button {
    display: none;
    background: none;
    border: none;
    padding: 1em;
    margin-left: auto;
    cursor: pointer;
  }
  #close-sidebar-button {
    display: none;
    background: none;
    border: none;
    padding: 1em;
    cursor: pointer;
  }
  #overlay {
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    inset: 0;
    z-index: 9;
    display: none;
  }

  .hero {
    background-color: #603813;
    min-height: 100vh;
    width: 100%;
    display: flex;
  }

  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("5.jpeg") center/cover no-repeat;
    opacity: 0.05;
  }

  .text {
    color: white;
    height: 40rem;
    width: 50%;
    padding: 7rem 3rem;
    margin-top: 8rem;
  }

  .text h2 {
    font-size: clamp(1rem, 5vw, 2rem);
    font-weight: 200;
  }

  .text h1 {
    font-size: 4rem;
    font-weight: 700;
  }

  .text p {
    font-size: 1.2rem;
    font-weight: 200;
  }
  .text button {
    font-size: 10px;
    font-weight: 200;
    padding: 0.8rem 6rem;
    margin-top: 2rem;
    background-color: transparent;
    border: 3px solid white;
    color: white;
    cursor: pointer;
    transition: 0.2s ease;
    border-radius: 20px;
  }

  .text button:hover {
    background-color: #47290e;
  }

  .pic {
    background-color: rgb(255, 249, 240);
    height: auto;
    width: 40rem;
    border-radius: 200px 20px;
    display: flex;
    align-items: center;
  }

  .pic img {
    height: auto;
    width: 80%;
  }
}
