@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&display=swap');

:root {
  --font-main: Poppins;
  --text-color: #881a32;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}


section {
  height: fit-content;
}

header {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  background-color: white;
  color: var(--text-color);
  width: 100%;
  box-shadow: 0px 0px 20px var(--text-color);
}

.nav-logo img{
  padding: 20px 50px 20px 50px;
  width: 80%;
}

.nav-link {
  display: flex;
  justify-content: end;
  padding-right: 60px;
  list-style-type: none;
  gap: 50px;
  width: 60vw;
}

.link {
  position: relative;
  text-decoration: none;
  color: var(--text-color);
  text-transform: capitalize;
  font-size: 22px;
  font-family: var(--font-main);
  transition: 0.2s linear;
}

.link::before {
  position: absolute;
  content: "";
  bottom: -3px;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: var(--text-color);
  transition: 0.2s linear;
}

.link:hover::before {
  width: 100%;
}

.link:hover {
  color: var(--text-color);
  transition: 0.2s linear;
}

#nav-toggle {
  display: none;
  margin-right: 30px;
  font-size: 32px;
}

#intro {
  background-image: url('images/bg-1.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  height: calc(100vh - 70px);
}

#intro div {
  width: 50%;
}

.intro-text {
  font-family: var(--font-main);
  align-content: center;
  justify-items: center;
}


.intro-img {
  width: 60%;
  border-radius: 50%;
  margin-top: 50px;
  margin-left: 50px;
  border: var(--text-color);
  box-shadow: 0 0 10px var(--text-color);
}

.home_data h1 {
  margin-top: 20px;
  font-family: var(--font-main);
  font-size: 37px;
}

.home_data p{
  font-size: 12px;
  margin-bottom: 10px;
}

.home_data a {
  font-size: 20px;
  margin: 70px 0px;
  padding: 10px 20px;
  background-color: var(--text-color);
  color: white;
  border: none;
  border-radius: 10px;
  transition: 0.5s linear;
  text-decoration: none;
}

.home_data a:hover {
  transition: 0.5s linear;
  box-shadow: 0 0 10px var(--text-color);
}

.home_social {
  font-size: 30px;
}

.home_social-icon {
  padding: 0px 10px;
  border: 1px solid black;
  border-radius: 50%;
  color: black;
  transition: 0.3s linear;
}

.home_social-icon:hover {
  background-color: black;
  color: white;
  box-shadow: 0 0 10px var(--text-color);
  transition: 0.3s linear;
}

.content {
  display: flex;
}

h2 {
  font-family: var(--font-main);
  text-decoration: underline;
  font-size: 40px;
  color: var(--text-color);
  text-align: center;
  margin: 70px 0px 10px 0px;
}

.image {
  border-radius: 10px;
  width: 400px;
  height: 350px;
  margin: 30px 80px;
}

h3 {
  font-family: var(--font-main);
  color: black;
  font-size: 30px;
  margin: 0 30px;
  padding: 20px;
}

.intro p {
  font-family: var(--font-main);
  text-align: justify;
  padding: 20px;
  font-size: 14px;
  margin: 10px 30px;
}

.w-img {
  display: flex;
  flex-wrap: wrap;
  margin: 10px 10%;
}

.w-img img {
  width: 300px;
  height: 200px;
  margin: 30px;
  border-radius: 10px;
  transition: 0.3s linear;
}

.w-img img:hover {
  transform: scale(1.1);
  transition: 0.3s linear;
  box-shadow: 0px 0px 10px var(--text-color);
}


#contact {
  justify-items: center;
  align-content: center;
  height: 100vh;
}

#contact h2 {
  margin-bottom: 50px;
}

.container {
  width: 400px;
  height: 400px;
  border-radius: 10px;
  border-top: 2px solid var(--text-color);
  border-left: 2px solid var(--text-color);
  box-shadow: 5px 5px 5px var(--text-color);
  padding: 10px;
}

.container input,
textarea {
  border: 2px solid var(--text-color);
  padding: 5px;
  margin: 10px;
  width: 90%;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  font-family: var(--font-main);
}

input[type="submit"] {
  color: white;
  background-color: var(--text-color);
  border: 1px solid var(--text-color);
  width: 95%;
}

.btn {
  font-size: 17px;
  font-weight: bold;
  transition: 0.3s linear;
}

.btn:hover {
  transition: 0.3s linear;
  box-shadow: 0 0 10px var(--text-color);
}

.footer {
  background-color: var(--text-color);
  color: white;
  text-align: center;
  font-family: var(--font-main);
  padding: 10px 0px;
}

.footer-title {
  font-size: 18px;
  margin-bottom: 10px;
}

.footer-social {
  margin-bottom: 10px;
}

.footer-icon {
  font-size: 25px;
  width: 40px;
  height: 40px;
  border: 1px solid white;
  display: inline-block;
  color: white;
  margin: 0 5px;
  border-radius: 50%;
  box-shadow: inset 0 0 10px white, 0 0 10px white;
  transition: 0.3s linear;
}

.footer-icon:hover {
  transform: scale(1.2) translateY(-10px);
  transition: 0.3s linear;
}

@media screen and (max-width: 1024px) {
  #intro div {
    width: 60%;
  }

  .intro-img {
    width: 80%;
  }

  .image {
    margin: 50px 30px;
  }

  .content p {
    margin: 10px 30px;
  }


  .w-img {
    margin: 0px 14%;
  }

  .m-service {
    margin: 25px;
  }

}


@media screen and (max-width: 768px) {
  .nav-link {
    display: none;
  }

  #nav-toggle {
    display: flex;

  }

  .active {
    position: absolute;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    top: 70px;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: end;
    gap: 30px;
    padding: 30px;
    list-style-type: none;
  }

  #intro img {
    width: 80%;
  }

  .home_data h1 {
    font-size: 30px;
  }

  .image {
    width: 220px;
    height: 250px;
    margin: 80px 20px 10px 20px;
  }

  .content p {
    font-size: 15px;
    padding: 0px 10px;
    margin: 0px 10px;
  }

  .w-img img {
    width: 200px;
  }


  .container {
    width: 350px;
    height: 350px;
  }

  .container input,
  textarea {
    margin: 5px;
  }
}

@media screen and (max-width:425px) {
  #intro {
    flex-direction: column-reverse;
  }

  #intro div {
    width: 90%;
  }

  #intro img {
    width: 100%;
    margin-top: 70px;
    margin-left: auto;
  }

  #about {
    margin: 10px;
  }

  .home_data {
    padding: 0px 50px;
  }

  .home_data h1 {
    font-size: 25px;
  }

  .home_social {
    font-size: 20px;
    padding: 0px 50px;
    margin-bottom: 70px;
  }

  h2 {
    padding-top: 10px;
  }

  .content {
    flex-direction: column;
  }

  .image {
    margin: 10px 90px;
  }

  .content h3 {
    padding: 10px 5px 0px 5px;
    text-align: center;
  }

  .intro p {
    margin: 0px 30px;
  }

  .w-img img {
    width: 320px;
    margin: 8px auto;
  }


}

@media screen and (max-width:375px) {
  .intro p {
    margin-right: 5px;
    text-align: center;
  }

  .image {
    margin: 10px 0px 10px 70px;
  }

  .w-img img {
    width: 250px;
  }

}

@media screen and (max-width:320px) {

  #intro {
    padding-top: 70px;
  }

  .image {
    margin-left: 40px;
  }

  .intro p {
    margin: auto;
    padding: 0px 10px;
  }

  .intro h3 {
    margin-left: 5px;
  }

  .home_data {
    padding: 0px 20px;
  }

  .home_social {
    font-size: 25px;
    padding: 0px 10px;
  }

  .intro p {
    width: 100%;
  }

  h3 {
    margin-right: 5px;
  }

  .w-img img {
    width: 220px;
  }

  .container {
    width: 280px;
  }

}