@charset "utf-8";

.main {
  font-family: 'josefin slab', serif;
}

.first-view {
  align-items: center;
  background-image: url(../img/main2.jpeg);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  gap: 1ch;
  height: calc(100vh);
  padding-bottom: 95px;
}

.first-view img {
  position: relative;
  width: 100%;
}

.first-view-text h1 {
  color: #fff;
  font-size: 45px;
  text-align: center;
  text-shadow: 1px 1px 10px #4b2c14;
  padding-top: 75px;
  padding-bottom: 25px;
}

.first-view-text h1::after {
  content: '';
  background-color: #fff;
  display: block;
  height: 3px;
  margin-top: 8px;
  margin-left: auto;
  margin-right: auto;
  width: 48px;
}

.first-view-text p {
  color: #fff;
  line-height: 2;
  font-size: 18px;
  font-family: 'josefin slab', serif;
  font-weight: bold;
  margin: auto;
  text-shadow: 1px 1px 10px #4b2c14;
}

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

  .header {
    position: fixed;
  }

  .first-view-text {
    padding: 0 50px 0 50px;
  }

  .first-view {
    display: flex;
    justify-content: center;
  }

  .first-view-text br {
    display: none;
  }

  .first-view-text h1 {
    font-size: 35px;
  }

  .first-view-text p {
    font-size: 16px;
  }

}

@media screen and (max-width: 375px) {
  .main-title {
    font-size: 35px;
  }

  .first-view-text p {
    font-size: 16px;
  }
}
