.niramit-light {
  font-family: "Niramit", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.niramit-regular {
  font-family: "Niramit", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.niramit-semibold {
  font-family: "Niramit", sans-serif;
  font-weight: 600;
  font-style: normal;
}

body {
  font-family: "Niramit", sans-serif;
  font-weight: 400;
  font-style: normal;
}
* {
  box-sizing: border-box;
}
img {
  max-width: 100%;
}
.container {
  max-width: 1280px;
  padding: 1rem;
  margin: 0 auto;
}

.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.masthead a {
  text-decoration: none;
  color: #000;
  font-weight: 300;
  font-size: 1.25rem;
  text-align: right;
  line-height: 1.75rem;
}
.patients-first {
  display: flex;
}
.patients-first--left,
.patients-first--right {
  flex-basis: 50%;
  max-width: 50%;
}
.patients-first--left {
  background-color: #48c2c5;
  padding: 1rem 3rem;
  display: flex;
  flex-direction: column;
}
.patients-first--left h1 {
  color: #01527c;
  font-size: 2.5rem;
  line-height: 3rem;
}
.patients-first--left h2 {
  margin-top: auto;
  color: #fff;
  font-size: 2rem;
}
.patients-first--right {
  background-color: #00527c;
  margin: 0 auto;
  text-align: center;
}
.patients-first--right img {
  margin: 0 auto;
  transform: scale(1.1);
  object-fit: cover;
}
.logos ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  padding: 0;
}
.logos ul li {
  flex-basis: 16%;
}
.logos ul li img {
  max-width: 100%;
}
a:hover {
  color: #48c2c5;
}
@media only screen and (max-width: 797px) {
  .masthead__logo {
    max-width: 160px;
  }
  .masthead a {
    font-size: 0.8rem;
    text-align: right;
    line-height: 1rem;
  }
  .patients-first {
    flex-direction: column;
  }
  .patients-first--left,
  .patients-first--right {
    flex-basis: 100%;
    max-width: 100%;
  }
  .patients-first--right img {
    max-width: 70%;
  }
  .patients-first--left h1 {
    font-size: 1.75rem;
    line-height: 1.5;
    margin: 0;
  }
  .patients-first--left h2 {
    display: none;
    padding-bottom: 2rem;
  }
  .logos ul li {
    flex-basis: 45%;
  }
  .logos ul li:last-child {
    flex-basis: 45% !important;
  }
}
