@font-face {
  font-family: dms;
  src: url(/fonts/DMSans-Regular.ttf);
}
@font-face {
  font-family: dmsm;
  src: url(fonts/DMSans-Medium.ttf);
}
@font-face {
  font-family: dmsb;
  src: url(fonts/DMSans-Bold.ttf);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  width: 100%;
  background-color: #e7e7e7;
  /* background: #000; */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#main {
  height: 85%;
  width: 80%;
  /* background-color: gray; */
  background-color: white;
  color: black;
  font-family: dmsb;
  border-radius: 25px;
}

.nav {
  height: 10%;
  background-color: white;
  display: flex;
  gap: 28%;
  padding: 10px 20px;
  margin-top: 1%;
}

.nav-left {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: dmsm;
  font-weight: 700;
  font-size: 0.78rem;
  gap: 0.4rem;
  margin-left: 10px;
}
.nav .nav-left img {
  object-fit: cover;
  object-position: center;
  height: 1.4rem;
}

.nav-center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9%;
}
.nav-center h2 {
  font-family: dms;
  font-weight: 100;
  font-size: 0.95rem;
  color: rgb(19, 19, 19);
}
.nav-right {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10%;
  white-space: nowrap;
  margin-left: -7%;
}
.nav-right #btn1 {
  font-family: dms;
  font-weight: 100;
  font-size: 0.95rem;
  border: none;
  background-color: transparent;
}
.nav-right #btn2 {
  font-family: dms;
  font-weight: 100;
  font-size: 0.95rem;
  border: 2px solid rgb(10, 10, 10);
  background-color: #2c313c;
  color: white;
  border-radius: 2rem;
  padding: 8px 11px;
}
.nav-right #btn2 i {
  background-color: #bac3ff;
  border-radius: 50%;
  margin-left: 0.9rem;
  text-align: center;
  color: black;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.2rem;
  height: 1rem;
}



.grid {
  height: 85%;
  display: grid;
  grid-template-columns: 50% 1fr 1fr;
  grid-template-rows: 50% 1fr 20%;
  grid-template-areas:
    "section right-up right-up"
    "section left-fig right-fig"
    "footer left-fig right-fig";
}
.grid section {
  grid-area: section;
  border-radius: 25px;
  padding: 30px;
}
.grid .right-up {
  background-color: white;
  grid-area: right-up;
}

.grid footer {
  border-radius: 25px;
  grid-area: footer;
}
.grid .left-fig {
  border-radius: 25px;
  grid-area: left-fig;
}

.grid .right-fig {
  border-radius: 25px;
  grid-area: right-fig;
}

.grid .right-up img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  padding: 10px 30px;
  border-radius: 50px;
}
.grid .left-fig img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  padding: 5px 20px;
  border-radius: 50px;
  margin-left: 20px;
}
.grid .right-fig img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  padding: 5px 20px;
  border-radius: 50px;
  margin-right: 20px;
}

.grid section img {
  object-fit: cover;
  height: 8%;
  width: 18%;
  border-radius: 50px;
  margin: 10px 10px 10px 10px;
}
.grid section #line1 {
  display: flex;
  align-items: center;
  gap: 6%;
}
.grid section h1 {
  font-family: dms;
  font-size: 4rem;
  font-weight: 100;
  line-height: 1.2;
}
.grid section #line3 {
  display: flex;
  align-items: center;
  gap: 6%;
}
.grid section #line3 button {
  padding: 10px 22px;
  border: 2px solid black;
  background-color: transparent;
  font-family: dmsb;
  font-size: 1rem;
  border-radius: 30px;
}
.grid section #line3 button i {
  all: unset;
  font-size: 120%;
}

.buttons {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 5%;
  white-space: nowrap;
  margin-top: 2.5%;
}
.buttons #request {
  font-family: dms;
  font-weight: 100;
  font-size: 0.95rem;
  border: none;
  text-decoration: underline;
}
.buttons #contact {
  font-family: dms;
  font-weight: 100;
  font-size: 0.95rem;
  border: 2px solid rgb(10, 10, 10);
  background-color: #2c313c;
  color: white;
  border-radius: 2rem;
  padding: 8px 9px;
}
.buttons #contact i {
  margin-left: 0.9rem;
  text-align: center;
  color: white;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.2rem;
  height: 1rem;
}

footer {
  padding: 0px 30px;
}
footer p {
  font-family: dms;
  font-weight: 600;
  font-size: 0.95rem;
  color: rgb(19, 19, 19);
  padding-right: 6rem;
}

.last {
  display: flex;
  gap: 7%;
  font-size: 2rem;
  font-family: dms;
  font-weight: 900;
  color: black;
  padding-top: 20px;
}
