*,
::after,
::before {
  font-family: "forma-djr-text", sans-serif;
  box-sizing: border-box;
}

body {
  background-color: #fff6e6;
  padding: 0;
  margin: 0;
  line-height: 1.4;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

.layout {
  padding: 0 150px;
}
@media (max-width: 1200px) {
  .layout {
    padding: 0 30px;
  }
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  width: 100%;
  max-width: 1620px;
  position: relative;
  z-index: 2;
}
header .logo img {
  height: 40px;
}

button {
  background-color: #292727;
  color: #fff;
  height: 50px;
  border-radius: 30px;
  font-size: 1.1rem;
  padding: 0 2rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.slide-container {
  height: calc(100vh - 100px);
  position: relative;
}

.slides {
  display: flex;
  align-items: center;
  height: 100%;
}
.slides .text {
  margin-left: 150px;
  max-width: 550px;
  margin-top: -100px;
  color: #292727;
}
@media (max-width: 1200px) {
  .slides .text {
    margin-left: 30px;
  }
}
@media (max-width: 992px) {
  .slides .text {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 1.5rem 1.5rem 2rem;
  }
}
@media (max-width: 576px) {
  .slides .text {
    margin-left: 0;
  }
}
.slides .title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.slides .desc {
  font-size: 1.1rem;
  margin-bottom: 1.6rem;
}
.slides img {
  position: absolute;
  right: 0;
  top: -100px;
  height: calc(100% + 90px);
  z-index: -1;
}
@media (max-width: 576px) {
  .slides .title {
    font-size: 2rem;
  }
  .slides img {
    top: -16px;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
}

.slides {
  display: none;
}

.dot {
  cursor: pointer;
  height: 8px;
  width: 60px;
  margin: 0 2px 1.5rem;
  background-color: #bbb;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #717171;
}

.slide-nav {
  text-align: center;
  margin-top: -40px;
  position: relative;
  z-index: 1;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 2s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
.color {
  color: #ffb932;
}

.content {
  padding-top: 80px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 100vh;
}
.content .title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.content .text {
  font-size: 1.1rem;
  letter-spacing: 0.25px;
  line-height: 1.7;
}

.bgwhite {
  background-color: #fff;
}

.grid-2 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: center;
  grid-gap: 2rem;
}
@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 2.5rem;
}
@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.h100 {
  height: 100%;
  max-height: 550px;
  float: right;
}
@media (max-width: 768px) {
  .h100 {
    width: 100%;
    height: auto;
    -o-object-fit: scale-down;
       object-fit: scale-down;
  }
}

.mx1000 {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.mx800 {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.blurb-icon {
  height: 50px;
  margin-bottom: 1rem;
}

.logo-c {
  margin-bottom: 2.5rem;
}
.logo-c img {
  height: 30px;
  margin-bottom: 0.25rem;
}
.logo-c .ttl {
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  font-weight: 500;
  text-align: center;
}

.text-l {
  width: 100%;
  text-align: start;
  margin-bottom: 2rem;
}

.sub {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 500;
}
@media (max-width: 576px) {
  .sub {
    font-size: 1rem;
  }
}

.news {
  background-color: #f5d28a;
  text-align: center;
}
.news .news-container {
  background-color: #fff;
  border-radius: 2rem;
  padding: 4.5rem 2rem 5rem;
}
@media (max-width: 576px) {
  .news .news-container {
    padding: 2rem 1.5rem 2.5rem;
  }
}
.news .timg {
  height: 100px;
  margin-bottom: 1.5rem;
}
.news .title {
  margin-bottom: 1rem;
  line-height: 1.2;
}
@media (max-width: 576px) {
  .news .title {
    font-size: 1.5rem;
  }
}

.wrapper {
  width: 100%;
  max-width: 600px;
  display: flex;
  align-items: center;
  margin: 0 auto;
}
@media (max-width: 576px) {
  .wrapper {
    flex-direction: column;
  }
  .wrapper button {
    width: 100%;
  }
}
.wrapper .form-control {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #dfdfdf;
  height: 50px;
  width: 100%;
  padding: 0.5rem 1rem 0.5rem 1.5rem;
  border-radius: 2rem;
  margin-right: 1rem;
}
.wrapper .form-control img {
  height: 20px;
  margin-top: 0.35rem;
}
.wrapper .form-control input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  background-color: transparent;
  border: none;
  font-size: 1.2rem;
}
.wrapper .form-control input::-moz-placeholder {
  color: #989898;
}
.wrapper .form-control input::placeholder {
  color: #989898;
}
@media (max-width: 576px) {
  .wrapper .form-control {
    margin-bottom: 1rem;
    margin-right: 0;
  }
}

footer {
  background-color: #292727;
  font-size: 1rem;
  color: #d2cfcc;
  padding: 2rem 1.5rem;
  text-align: center;
  letter-spacing: 1.13px;
}