* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}
html {
  scroll-behavior: smooth;
}
.slider {
  position: relative;
  width: 100%;
  height: 500px;
  margin: auto;
  overflow: hidden;
}
.slider img {
  width: 100%;
  height: 500px;
  margin-top: 5px;
  object-fit: initial;
  display: none;
}
img.displaySlide {
  display: block;
}
.slider button {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  font-size: 2rem;
  padding: 10px 15px;
  background-color: hsla(0, 0%, 0%, 0.5);
  color: white;
  border: none;
  cursor: pointer;
}
.previous {
  left: 0;
}
.next {
  right: 0;
}
/* hamburger menu css */
header {
  background: black;
}

li {
  list-style: none;
}

.logo {
  font-weight: bold;
  font-size: 1.2rem;
  letter-spacing: 0.2cm;
}

.logospan {
  color: gold;
}

a {
  color: white;
  text-decoration: none;
}

.navbar {
  height: 70px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-branding {
  font-size: 2rem;
}

/* transition for links */

.nav-link {
  transition: 0.5s ease;
}

.nav-link:hover {
  color: #27bcda;
}

#active {
  color: gold;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background: white;
  border-radius: 5px;
}

.nav-item {
  padding: 0 1.5rem;
}

@media (max-width: 760px) {
  .bar {
    display: block;
  }

  .hamburger {
    display: block;
  }
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translateY(11.5px);
  }
  .hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translateY(-11.5px);
  }

  .nav-menu {
    position: fixed;
    right: -100%;
    top: 72px;
    flex-direction: column;
    width: 100%;
    text-align: center;
    background: black;
    transition: 0.3s;
  }

  .nav-item {
    padding: 1.5rem 0;
  }

  .nav-menu.active {
    right: 0;
  }
}

/*content*/
.content p {
  line-height: 20px;
  letter-spacing: 1px;
  font-family: sans-serif;
  font-size: 20px;
  margin: 5px;
}

/* footer */
footer {
  position: relative;
  bottom: 0;
  left: 0;
  right: 0;
  background: black;
  height: auto;
  width: 100vw;
  padding-top: 40px;
  color: #fff;
  overflow: hidden;
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}
.footer-content h3 {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 3rem;
  letter-spacing: 0.2cm;
}
.footer-content p {
  max-width: 500px;
  margin: 10px auto;
  line-height: 28px;
  font-size: 14px;
  color: #cacdd2;
}
.socials {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0 3rem 0;
}
.socials li {
  margin: 0 10px;
}
.socials a {
  text-decoration: none;
}
.socials a .social {
  font-size: 1.1rem;
  width: 20px;
  transition: color 0.4s ease;
}
.socials a:hover {
  color: aqua;
}
.footer-bottom {
  background: black;
  width: 100vw;
  padding: 20px;
  padding-bottom: 40px;
  text-align: center;
}
.footer-bottom p {
  font-size: 14px;
  word-spacing: 2px;
  text-transform: capitalize;
}
.footer-menu {
  background: black;
}
.footer-menu ul {
  display: flex;
  flex-direction: row-reverse;
}
.footer-menu ul li {
  padding-right: 10px;
  display: block;
}
.footer-menu ul li a {
  color: #cfd2d6;
  text-decoration: none;
}
.footer-menu ul li a:hover {
  color: #27bcda;
}
/* footer responsive */

@media screen and (min-width: 768px) {
  .footer-menu ul {
    display: flex;
    margin-top: 10px;
    margin-bottom: 20px;
  }
  .footer-content {
    font-size: 20px;
    letter-spacing: 1px;
  }
  footer {
    position: relative;
    bottom: 0;
  }
  pre {
    font-size: 20px;
  }
  h3 {
    font-size: 18px;
  }
  .footer-bottom p {
    font-size: 18px;
  }
  .testimonials {
    flex-direction: row;
  }
  .socials a .social {
    width: 30px;
  }
}
@media screen and (max-width: 820px) {
  .testimonials {
    flex-direction: column;
  }
}
@media screen and (max-width: 768px) {
  .testimonials {
    flex-direction: column;
  }
}
@media screen and (max-width: 767px) {
  .footer-menu ul {
    display: flex;
    margin-top: 10px;
    margin-bottom: 20px;
  }
  .footer-content {
    font-size: 14px;
    letter-spacing: 1px;
  }
  footer {
    position: relative;
    bottom: 0;
  }
  pre {
    font-size: 16px;
  }
  h3 {
    font-size: 20px;
  }
  .footer-bottom p {
    font-size: 20px;
  }
  .testimonials {
    flex-direction: column;
  }
  .socials a .social {
    width: 40px;
  }
}

/* content styling */
.content {
  margin: 1.5vh;
  display: flex;
  flex-wrap: wrap;
  display: flex;
  justify-content: center;
}

.content img {
  width: 255px;
  height: 255px;
  margin-top: 10px;
  border-radius: 10px;
  flex-basis: calc(20% - 10px);
  cursor: pointer;
}

body {
  background-color: #111111f5;
}

.about-message {
  color: #cfd2d6;
  margin: 1.5vh;
}
.message {
  color: #cfd2d6;
}

.message h1 {
  font-size: 36px;
  margin: 0;
}

.message p {
  font-size: 18px;
  margin: 0;
}

marquee {
  color: antiquewhite;
  animation: infinite;
  letter-spacing: 0.5cm;
}

/* back to top btn */
#back-to-top-btn {
  display: none;
  position: fixed;
  bottom: 40px;
  right: 20px;
  z-index: 99;
  background-color: hsla(0, 0%, 0%, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 50px;
  font-size: 2rem;
  cursor: pointer;
}

section {
  margin: 20px 0;
}
section h2 {
  font-size: 24px;
  color: #e2dfdf;
  margin: 0;
}
section p {
  font-size: 16px;
  color: #818080;
  line-height: 1.5;
}
form {
  display: flex;
  flex-direction: column;
  align-items: center;
}
input,
textarea {
  width: 50%;
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
input[type="submit"] {
  width: 20%;
  background-color: dodgerblue;
  color: white;
  cursor: pointer;
}
input[type="submit"]:hover {
  background-color: royalblue;
}

.testimonials {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}
.testimonial {
  width: 280px;
  height: 300px;
  margin: 10px;
  background-color: #f0f0f0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  position: relative;
}
.testimonial .user-name {
  font-size: 18px;
  color: #333;
  font-weight: bold;
  text-align: center;
  margin-top: 50px;
}
.testimonial .user-quote {
  font-size: 16px;
  color: #666;
  font-style: italic;
  text-align: center;
  margin-top: 10px;
}
