@tailwind base;
@tailwind components;
@tailwind utilities;

* {
  scroll-behavior: smooth;
  box-sizing: border-box;
}
html {
  min-height: 100%;
}
body {
  font-family: "Libre Baskerville", serif;
  font-weight: 400;
  font-style: normal;
  background-color: #fbfbfb;
}

.main-title h2 {
  text-align: center;
  font-size: center;
  font-size: 3rem;
  text-transform: uppercase;
  color: #222;
  letter-spacing: 1px;
  font-family: "Playfair Display", serif;
  font-weight: 400;
}
.main-title h2 span {
  margin-top: 0.13rem;
  font-size: 1rem;
  color: #444;
  word-spacing: 1px;
  font-weight: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  display: grid;
  grid-template-columns: 1fr max-content 1fr;
  grid-template-rows: 27px 0;
  grid-gap: 20px;
  align-items: center;
  margin-inline: 38%;
}
@media (max-width: 1024px) {
  .main-title span {
    margin-inline: 30% !important;
  }
}
@media (max-width: 768px) {
  .main-title span {
    margin-inline: 12% !important;
  }
}

.main-title h2 span:after,
.main-title h2 span:before {
  content: "";
  display: block;
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #ccc;
  height: 5px;
  background-color: #f8f8f8;
}

h1 {
  color: #222;
}
.active {
  background-color: black;
  color: white;
}
/* Start Home Page */
/* Start Header */
header {
  background: rgb(0 0 0 / 82%);
  z-index: 1;
}
.menu-toggle {
  position: fixed;
  z-index: 99999;
  right: 0;
  padding-top: 50px;
  top: 0px;
  width: 50%;
  height: 100%;
  background-color: #333;
  display: flex;
  flex-direction: column;
  justify-content: start;
  transition: 0.5s;
  transform: translateX(100%);
}

.open {
  transform: translateX(0);
}
/* End Header */

/* Start Landing */
.landing {
  padding-top: 100px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
  .landing {
    background-color: #fbfbfb;
    padding-top: 150px;
  }
}
/* End Landing */

/* Start About */
.about {
  background-color: rgb(0 0 0 / 82%);
}
@media (max-width: 768px) {
  .about {
    margin-top: 0;
  }
}
/* End About */

/* Start Features */
.features {
  padding-top: 100px;
}
.features .box {
  padding: none;
  background-color: white;
  box-shadow: 0 2px 15px rgb(0 0 0 / 10%);
  border-radius: 20px;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  width: 400px;
}
.features .box p {
  font-size: 15px;
}
@media (max-width: 1024px) {
  .features .box {
    width: 320px;
  }
}

@media (max-width: 767px) {
  .features .box {
    width: 280px !important  ;
  }
}

/* End Features */
/* End Home Page */

/* Start About Page */
/* Start Hero  */
.hero {
  padding-top: 25px;
}
.hero .about-us {
  background-color: #fbfbfb;
}

/* End Hero About-Page */

/* Start Why Us */
.why-us .container .cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.why-us .card {
  background-color: white;
  box-shadow: 0 2px 4px rgb(0 0 0 / 7%);
  border-radius: 6px;
  width: 310px;
  margin: 40px;

  height: 370px;
  display: flex;
  flex-direction: column;

  align-items: center;
  width: -moz-fit-content;
}
@media (max-width: 1024px) {
  .why-us .card {
    /* margin: 30px; */
    margin: 1px;
  }
}
@media (max-width: 640px) {
  .why-us .card {
    width: 258px;
    height: 392px;
  }
  .why-us .card span {
    max-width: 94%;
  }
  .why-us .card p {
    font-size: 15px;
  }
}

.text-stroke {
  -webkit-text-stroke: 1px black;
  font-size: 7rem;
  color: white;
  position: relative;
}
/* End Why Us */

/* End About Page */

/* Start Services Page */

/* Start Services */
.services .box {
  width: 270px;
  height: 270px;
  margin: -6px;
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgb(0 0 0 / 10%);
  transition: 0.3s;
}
@media (max-width: 595px) {
  .services .box {
    width: 239px;
    transition: none;
  }
}
.services .box:hover {
  transform: translatey(-10px);
}
/* End Services */
/* Start Classes */

/* Start Classes */

.classes .cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.classes .card {
  width: 321px;
  height: 522px;
  margin: 31px;
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgb(0 0 0 / 10%);
  transition: 0.3s;
}
@media (max-width: 1024px) {
  .classes .card {
    width: 289px;
  }
}
@media (max-width: 767px) {
  .classes .card {
    width: 289px;
    margin: -1px;
    transition: none;
  }
}

.classes .card-header {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.classes .card-img {
  min-width: 100%;
  width: auto;
  height: 100%;
}
.classes .container .card .card-content {
  padding: 15px;
  height: 170px;
}
.classes .container .card .card-content h3 {
  text-align: center;
}
.classes .card-footer {
  margin-top: 10px;
  text-align: center;
  background-color: black;
}
.classes .card-footer a {
  padding: 19px 22px;
  margin: 93px 50px;
  color: white;
  display: block;
  text-decoration: none;
  text-transform: uppercase;
}

.classes .card:hover {
  transform: translatey(-10px);
}

/* End Services Page */

/* Start Contact Page */
.contact-form .card {
  width: 288px;
  background: white;
  height: auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgb(0 0 0 / 10%);
  transition: 0.3s;
  padding: 20px;
}

input:focus::placeholder {
  opacity: 0;
  transition: 0.2s;
}
.content-side-two {
  width: 440px;
  height: 581px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgb(0 0 0 / 10%);
  transition: 0.3s;
  padding: 20px;
}
.content-side-two .card-footer {
  margin-top: 10px;
  text-align: center;
  background-color: black;
}

.content-side-two .card-footer {
  padding: 19px 22px;

  color: white;
  display: block;
  text-decoration: none;
  text-transform: uppercase;
}

/* End Contact Page */

/* Start Footer */
footer,
.copyright {
  background-color: rgb(0 0 0 / 82%) !important;
}
footer .social-box .social {
  display: flex;
  padding-top: 10px;
}
footer .social-box .social li {
  margin-right: 10px;
}
footer .social-box .social li a {
  background-color: #fbfbfb;
  color: black;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  font-size: 20px;
  transition: 0.5s;
}
.facebook:hover {
  transform: translateY(-10px);
}
.facebook:hover i {
  color: #1877f2;
}
.twitter:hover {
  transform: translateY(-10px);
}
.twitter:hover i {
  color: #1da1f2;
}
.youtube:hover {
  transform: translateY(-10px);
  color: #ff0000;
}
.youtube:hover i {
  color: #ff0000;
}
.tiktok:hover {
  transform: translateY(-10px);
}
.tiktok:hover i {
  color: #000000;
}
.linkedin:hover i {
  color: #0a66c2;
}

/* End Footer */
