:root {
  font-size: 100%;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Arial", sans-serif;
}

a {
  text-decoration: none;
}

.page__layout {
  min-height: 100vh;
  align-items: start;
  align-content: start;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas: "h h h" "m m m" "f f f";
}

.site-header {
  grid-area: h;
}

.content-main {
  grid-area: m;
}

.site-footer {
  grid-area: f;
}

.navBar {
  height: 120px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas: "logo contact contact";
  color: #58595B;
}
.navBar__logo {
  grid-area: logo;
  padding: 15px;
  height: 120px;
}
.navBar__contactUs {
  padding: 5px;
  grid-area: contact;
  align-self: center;
  justify-self: center;
}
.navBar__list {
  padding: 0;
  list-style: none;
  font-size: 16px;
}
.navBar__list-item {
  font-size: 12px;
}
.navBar__list-item > a {
  color: #58595B;
  text-decoration: none;
}
.navBar__list-item:before {
  content: attr(data-icon);
  font-family: "Material Icons";
}

@media (min-width: 768px) {
  .navBar {
    height: 170px;
  }
  .navBar__logo {
    margin-left: 50px;
    height: 170px;
  }
  .navBar__contactUs {
    padding: 5px;
    justify-self: end;
    margin-right: 32px;
  }
  .navBar__list-item {
    font-size: 20px;
  }
}
.site-footer {
  color: #58595B;
  padding: 20px;
}
.site-footer__about > p {
  line-height: 20px;
}
.site-footer__list {
  list-style: none;
  padding: 0;
  text-decoration: none;
}
.site-footer__list-link {
  margin-block: 16px;
}
.site-footer__contanct-us {
  line-height: 14px;
}

a {
  color: #58595B;
}

address {
  line-height: 20px;
}

@media (min-width: 720px) {
  .site-footer {
    display: grid;
    grid-template-columns: 20px repeat(3, 1fr) 20px;
    gap: 20px;
  }
  .site-footer__about {
    grid-column: 2/span 1;
    margin-inline: 20px;
  }
  .site-footer__links {
    grid-column: 3/span 1;
    margin-inline: 20px;
  }
  .site-footer__contact-us {
    grid-column: 4/span 1;
  }
}
@media (min-width: 1080px) {
  .site-footer {
    gap: 100px;
  }
}
.hero {
  background-color: rgb(255, 106, 27);
  background-image: url(../../../images/big-on-300w.svg);
  height: 285px;
  padding: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-origin: content-box;
  background-size: contain;
}

@media (min-width: 720px) {
  .hero {
    background-image: url(../../../images/big-on-768w.svg);
    padding-inline: 40px;
  }
}
.button {
  --fontColor: rgb(0,165,181);
  background-color: white;
  border-radius: 20px;
  padding: 12px;
  color: var(--fontColor);
  cursor: pointer;
  border: none;
  width: 150px;
  font-weight: 500;
}
.button--orange {
  --fontColor: rgb(255,106,27);
}

.content-box {
  --color-background: #00a5b5;
  border-top: solid 2px white;
  overflow-y: hidden;
  transition: height 1s;
  height: calc(var(--natural-height) + 150px);
  position: relative;
}
.content-box__title {
  width: 100%;
  height: 100px;
  position: relative;
  cursor: pointer;
}
.content-box__title-text {
  position: absolute;
  inset: 20px;
  height: calc(100% - 50px);
  width: calc(100% - 50px);
}
.content-box__image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  filter: brightness(1) saturate(1) contrast(1) sepia(0%) hue-rotate(0deg) saturate(1);
  transition: filter 1s, height 0.25s;
  cursor: pointer;
  display: block;
}
.content-box__expand {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
  background-color: var(--color-background);
  inset-inline-end: 0;
  inset-block-start: 75px;
  padding: 4px;
  color: white;
  font-size: 12px;
  line-height: 16px;
  border-bottom-left-radius: 8px;
}
.content-box__expand::after {
  font-family: "Material Icons";
  content: "add";
}
.content-box__intro {
  padding: 30px 20px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
}
.content-box__intro > p {
  font-size: 16px;
  line-height: 20px;
}
.content-box__intro > p:first-child {
  margin-block-start: 0;
}
.content-box__intro-button {
  display: inline-block;
  text-align: center;
  font-weight: bold;
}
.content-box__details, .content-box__details-new {
  background-color: white;
  color: #58595B;
  padding: 20px 10px 40px;
}
.content-box__details-image {
  max-width: 300px;
  margin-inline: auto;
  display: block;
}
.content-box__details-list {
  padding: 20px;
}
.content-box__details-list-item {
  margin: 10px;
}
.content-box.closed {
  height: 200px;
}
.content-box.closed .content-box__image {
  height: 100px;
  filter: brightness(0.7) saturate(3) contrast(0.5) sepia(100%) hue-rotate(-10deg) saturate(3);
}
.content-box.closed .content-box__image:hover {
  filter: none;
}
.content-box.closed .content-box__expand {
  opacity: 1;
}
.content-box--orange {
  --color-background: #ff6a1b;
  background-color: #ff6a1b;
}
.content-box--teal {
  --color--background: #00a5b5;
  background-color: #00a5b5;
}
.content-box--teal.closed .content-box__image {
  filter: brightness(0.7) saturate(3) contrast(0.5) sepia(100%) hue-rotate(137deg) saturate(3);
}

@media (min-width: 720px) {
  .content-box {
    height: calc(var(--natural-height));
  }
  .content-box__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 50px 350px auto;
    column-gap: 20px;
  }
  .content-box__title {
    align-self: center;
    grid-column: 1/span 1;
    padding-inline: 40px;
  }
  .content-box__image {
    grid-column: 2/span 2;
    grid-row: 1/span 2;
    height: 400px;
  }
  .content-box__expand {
    inset-inline-end: 0;
    inset-block-start: 0;
    padding: 8px;
    color: white;
    font-size: 12px;
    line-height: 16px;
    border-bottom-left-radius: 8px;
  }
  .content-box__title-text {
    width: auto;
    inset: 10px;
    inset-block-start: 60px;
    height: calc(100% - 65px);
    padding-inline-start: 0;
    transition: inset 0.5s;
  }
  .content-box__intro {
    padding-inline: 10px;
    grid-column: 1/span 1;
    transition: opacity 0.5s;
  }
  .content-box__intro > p {
    font-size: 18px;
  }
  .content-box__details {
    grid-column: 1/span 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-self: start;
  }
  .content-box__details-new {
    grid-column: 1/span 3;
    display: grid;
    align-self: start;
  }
  .content-box__details-image {
    grid-column: 1/span 1;
  }
  .content-box__details-list {
    display: grid;
    grid-column: 2/span 2;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .content-box__details-list-item {
    font-size: 18px;
  }
  .content-box.closed {
    height: 200px;
  }
  .content-box.closed .content-box__title-text {
    inset-block-start: 80px;
  }
  .content-box.closed .content-box__image {
    height: 200px;
  }
  .content-box.closed .content-box__expand {
    opacity: 1;
  }
  .content-box.closed .content-box__intro {
    opacity: 0;
    pointer-events: none;
  }
}
@media (min-width: 900px) {
  .content-box__title-text {
    height: calc(100% - 55px);
  }
}
@media (min-width: 1080px) {
  .content-box__container {
    grid-template-columns: 1fr repeat(3, 320px) 1fr;
  }
  .content-box__title {
    grid-column: 2/span 1;
  }
  .content-box__title-text {
    height: calc(100% - 50px);
  }
  .content-box__image {
    grid-column: 3/span 2;
  }
  .content-box__intro {
    grid-column: 2/span 1;
  }
  .content-box__details {
    grid-column: 1/span 5;
    grid-template-columns: 1fr repeat(3, 320px) 1fr;
  }
  .content-box__details-new {
    grid-column: 1/span 5;
  }
  .content-box__details-image {
    grid-column: 2/span 1;
  }
  .content-box__details-list {
    grid-column: 3/span 2;
  }
  .content-box__expand {
    inset-inline-end: calc(50vw - 450px);
    border-radius: 0 0 8px 8px;
  }
}

/*# sourceMappingURL=style.css.map */
