@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@600;700;800&display=swap");

* {
  font-family: "Manrope", sans-serif;
}

html {
  scroll-behavior: smooth;
}

:root {
  --primary: #6e2f2d;
  --dark: #21252f;
  --body: #888;
  --box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
  --background: #fff;
}

body {
  font-family: "Manrope", sans-serif;
  line-height: 1.7;
  color: var(--body);
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-4 {
  color: var(--dark);
  font-family: "Manrope", sans-serif;
}

.navbar {
  box-shadow: var(--box-shadow);
  background: transparent;
}

.navbar-brand img {
  width: 50px;
}

a {
  color: var(--dark);
  text-decoration: none;
}

.btn {
  background-color: #fff;
  border: #6e2f2d;
  color: #6e2f2d;
  transition: background-color, color 1.2s;
}

.btn:hover {
  background-color: #6e2f2d;
}

.btna {
  background-color: #6e2f2d;
  border-radius: 5px;
  padding: 3px 10px;
  color: #fff;
  border: #6e2f2d;
}

.backg {
  background-image: url(../images/slide2.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: rgba(0, 0, 0, 0.5);
  background-blend-mode: overlay;
  width: 100%;
  height: 95vh;
  padding: 0;
  margin: 0;
  position: relative;
}

.b-cont {
  transform: translate(-50%, -50%);
  top: 43%;
  left: 50%;
  color: #fff;
  text-align: center;
  position: absolute;
}

.b-cont h1 {
  font-weight: 400;
  font-size: 80px;
  color: #fff;
}

.section-title h2 {
  margin-top: 100px;
  font-size: 50px;
  font-weight: bold;
}

.section-title h2 span {
  color: #6e2f2d;
}

.img-gallery {
  width: 100%;
  margin: 100px auto 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  grid-gap: 30px;
}

.img-gallery img {
  width: 100%;
  display: block;
  cursor: pointer;
  transition: 0.4s;
}

.img-gallery img:hover {
  /* transform: scale(0.8); */
  box-shadow: 0 32px 75px rgba(68, 77, 136, 0.2);
}

.full-img {
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.full-img img {
  width: 90%;
  max-width: 500px;
}

.full-img span {
  position: absolute;
  top: 20%;
  right: 10%;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}

.view {
  position: relative;
  margin-bottom: 40px;
  overflow: hidden;
}

.view img {
  display: block;
}

.layer {
  position: absolute;
  bottom: 0;
  left: 0;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 15px 25px;
  transition: 0.5s;
  opacity: 0;
  transform: translateY(100%);
}

.view:hover .layer {
  transform: translateY(0);
  opacity: 1;
}

.view:hover img {
  transform: scale(1.2);
}

/* footer */

footer {
  width: 100%;
  /* position: absolute; */
  bottom: 0;
  background: linear-gradient(35deg, #ad5350, #6e2f2d);
  color: #fff;
  padding: 100px 0 30px;
  font-size: 13px;
  line-height: 20px;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
}

.foot {
  width: 85%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}

.col {
  flex-basis: 25%;
  padding: 30px;
}

.logo {
  width: 90px;
  margin-bottom: 10px;
}

.col h3 {
  width: fit-content;
  margin-bottom: 40px;
  position: relative;
  color: #fff;
}

.social-icons i {
  /* width: 20px;
  height: 20px; */
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-size: 20px;
  color: #6e2f2d;
  background: #fff;
  margin-right: 15px;
  cursor: pointer;
  padding: 10px 10px;
}

.col p i {
  margin-right: 5px;
  color: #fff;
  font-size: 20px;
}

.col p a {
  color: #fff;
}

.line {
  width: 80%;
  height: 2px;
  background-color: #fff;
  margin: 16px auto 24px auto;
}

.phsps a {
  color: #fff;
}

@media screen and (max-width: 768px) {
  .b-cont h1 {
    font-size: 50px;
  }

  .foot {
    flex-direction: column;
  }

  .social-links {
    margin-bottom: 40px;
  }

  .phsps {
    width: 80%;
    margin-left: 20px;
  }

  .center form {
    padding: 0 40px;
    margin-right: 50px;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 700px) {
  .phsps {
    width: 80%;
    margin-left: 20px;
  }

  .section-title h2 {
    font-size: 40px;
  }
}

@media screen and (max-width: 370px) {
  .view img {
    width: 98.5%;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .img-gallery {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}
