@import "https://fonts.googleapis.com/css2?family=Rethink+Sans:ital,wght@0,400..800;1,400..800&display=swap";
:root {
  --codentia-coral: #ed2b6f;
  --codentia-yellow: #f4e045;
  --codentia-dark-blue: #287cb2;
  --codentia-light-blue: #37c1d2;
  --codentia-green: #58ba57;
  --codentia-orange: #f37432;
  --codentia-dark-grey: #2e3030;
  --codentia-light-grey: #343e3e;
  --white: #fff;
  --background-primary: var(--codentia-dark-grey);
  --background-secondary: var(--codentia-light-grey);
  --text-light: var(--white);
  --container-horizontal-padding: clamp(1rem, 8vw, 10rem);
  --container-vertical-padding: clamp(3rem, 6vw, 10rem);
  --container-max-width: 1600px;
  --header-height: clamp(60px, 10vw, 80px);
  --font-xxl: clamp(3rem, 10vw, 7rem);
  --font-xl: clamp(3rem, 10vw, 5rem);
  --font-l: clamp(1.5rem, 5vw, 2rem);
  --font-m: clamp(1.25rem, 2.5vw, 1.5rem);
  --font-s: clamp(1rem, 2.5vw, 1.25rem);
  --gap-l: 3rem;
}

header {
  height: var(--header-height);
  padding: 0 var(--container-horizontal-padding);
  background-color: var(--codentia-dark-grey);
  z-index: 1;
  position: fixed;
  left: 0;
  right: 0;

  & nav {
    height: var(--header-height);
    justify-content: space-between;
    align-items: center;
    display: flex;
  }

  & img {
    height: calc(var(--header-height) - 30px);
    width: auto;
  }

  & menu {
    gap: min(var(--gap-l), 5vw);
    display: flex;
  }
}

footer {
  background-color: var(--codentia-orange);
  height: 250px;
  padding: 2rem var(--container-horizontal-padding);
  justify-content: space-between;
  gap: var(--gap-l);
  display: flex;

  & > div {
    flex-direction: column;
    display: flex;

    & p:first-of-type {
      margin-top: auto;
    }
  }

  & address {
    margin-top: auto;
  }

  & .socials {
    gap: 1rem;
    display: flex;
    margin-top: 1rem !important;
  }
}

section {
  max-width: var(--container-max-width);
  padding: var(--container-vertical-padding) var(--container-horizontal-padding);
  justify-content: center;
  gap: var(--gap-l);
  flex-direction: column;
  display: flex;
}

section#hero {
  height: 100svh;
  padding: 0 var(--container-horizontal-padding);

  & img {
    z-index: -1;
    object-fit: cover;
    object-position: right;
    height: min(50vw, 80vh);
    position: absolute;
    right: 0;
    transform: rotateY(180deg);
  }

  @media screen and (width <= 1200px) {
    padding-top: max(calc(var(--header-height) * 2), 200px);
    height: calc(100svh - max(calc(var(--header-height) * 2), 200px));
    justify-content: start;

    & img {
      height: 80svh;
      bottom: -40%;
    }
  }
}

section#services {
  background-color: var(--codentia-light-grey);
  justify-content: start;
  align-items: end;

  & hgroup {
    text-align: right;
  }

  & .services {
    gap: var(--gap-l);
    grid-template-columns: repeat(3, 1fr);
    display: grid;

    & li {
      box-sizing: border-box;
      box-shadow: 8px 0 0 var(--theme) inset;
      background-color: var(--codentia-dark-grey);
      flex-direction: column;
      justify-content: center;
      gap: 2rem;
      width: 100%;
      min-height: 400px;
      padding: 100px clamp(2rem, 5vw, 4rem) clamp(2rem, 5vw, 4rem) 40px;
      display: flex;
      position: relative;

      & > i {
        color: var(--theme);
        background-color: var(--codentia-light-grey);
        width: 60px;
        height: 60px;
        font-size: clamp(2rem, 5vw, 2.5rem);
        position: absolute;
        top: 0;
        left: 0;
      }
    }
  }

  @media screen and (width <= 1200px) {
    & .services {
      grid-template-columns: repeat(1, 1fr);
    }
  }
}

section#team {
  & ul {
    gap: var(--gap-l);
    grid-template-columns: repeat(3, 1fr);
    display: grid;

    & li {
      box-sizing: border-box;
      box-shadow: 8px 0 0 var(--theme) inset;
      background-color: var(--codentia-light-grey);
      flex-direction: column;
      justify-content: start;
      gap: 2rem;
      width: 100%;
      padding: clamp(2rem, 5vw, 3rem);
      display: flex;
      position: relative;
    }
  }

  @media screen and (width <= 1200px) {
    & ul {
      grid-template-columns: repeat(1, 1fr);
    }
  }
}

dialog#contact {
  gap: var(--gap-l);
  --chip-icon-size: clamp(2rem, 5vw, 3rem);
  background-color: var(--codentia-light-grey);
  opacity: 0;
  color: #fff;
  max-width: 768px;
  box-shadow: 0px 0px var(--codentia-coral);
  border-color: #0000;
  padding: 2rem;
  overflow: visible;
  border: none !important;

  & .close-button {
    background-color: var(--codentia-dark-grey);
    cursor: pointer;
    width: fit-content;
    height: fit-content;
    font-size: 3rem;
    position: absolute;
    top: -1rem;
    right: -1rem;
  }

  &::backdrop {
    background-color: #0000004d;
  }

  &:open {
    flex-direction: column;
    display: flex;
  }

  & .chip-list {
    flex-wrap: wrap;
    gap: 1rem;
    display: flex;
  }

  & label.chip {
    background-color: var(--codentia-dark-grey);
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    align-items: center;
    display: flex;

    & input[type="checkbox"] {
      display: none;
    }

    & i {
      height: calc(var(--chip-icon-size) - 8px);
      width: calc(var(--chip-icon-size) - 8px);
      box-sizing: border-box;
      background-color: color-mix(in oklab, var(--codentia-dark-grey), black 10%);
      margin: 4px;
    }

    &:has(input:checked) {
      background-color: color-mix(in oklab, var(--codentia-dark-grey), black 10%);

      & i {
        --icon: "";
      }
    }

    & span {
      padding: 0 2rem;
    }
  }

  & form {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    display: grid;
  }

  & .input-group {
    flex-direction: column;
    gap: .5rem;
    display: flex;

    & input[type="text"], & input[type="email"] {
      border: none;
      outline: none;
      padding: .5rem;
    }

    & textarea {
      height: 150px;
    }

    &.full-width {
      grid-column: span 2;
    }
  }

  @media screen and (width <= 900px) {
    margin: auto 1rem;

    & .input-group {
      grid-column: span 2;
    }
  }
}

.icon-button {
  --icon-button-size: clamp(3rem, 5vw, 4rem);
  --icon-button-font-size: var(--font-m);

  &.small {
    --icon-button-size: clamp(2.5rem, 5vw, 3rem);
    --icon-button-font-size: var(--font-s);
  }

  cursor: pointer;
  height: var(--icon-button-size);
  width: fit-content;
  font-size: var(--icon-button-font-size);
  background-color: var(--theme);
  color: #fff;
  border: none;
  align-items: center;
  margin: 0;
  padding: 0;
  text-decoration: none;
  transition: background-color .25s;
  display: flex;

  & > i {
    height: calc(var(--icon-button-size) - 8px);
    width: calc(var(--icon-button-size) - 8px);
    background-color: color-mix(in oklab, var(--theme), black 10%);
    margin: 4px;
  }

  &:hover {
    background-color: color-mix(in oklab, var(--theme), black 10%);
  }

  & span {
    padding: 0 2rem;
  }
}

html {
  scroll-behavior: smooth;
  color: var(--text-light);
  font-family: Rethink Sans, sans-serif;
}

ul:not(.no-list), menu:not(.no-list) {
  margin: 0;
  padding: 0;
  list-style: none;
}

i {
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;

  &:before {
    text-decoration: inherit;
    text-transform: none;
    text-rendering: auto;
    width: 100%;
    height: 100%;
    vertical-align: center;
    text-align: center;
    content: var(--icon);
    justify-content: center;
    align-items: center;
    font-family: dashicons;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    display: flex;
    position: absolute;
    left: 0;
  }
}

body {
  background-color: var(--background-primary);
  background-image: repeating-linear-gradient(45deg, #cccaca10 0 1px, #00000010 0 50%);
  background-size: 10px 10px;
  margin: 0;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
  line-height: 1.1;
}

h1 {
  font-size: var(--font-xxl);
}

h2 {
  font-size: var(--font-xl);
}

h3 {
  font-size: var(--font-l);
}

p, a, label {
  font-size: var(--font-s);
}

a {
  color: var(--text-light);
  text-decoration: none;
}

hgroup {
  gap: var(--gap-l);
  flex-direction: column;
  max-width: min(100%, 1000px);
  display: flex;

  & p {
    font-size: var(--font-l);
  }
}
/*# sourceMappingURL=app.css.map */
