body {
  margin: 48px 0 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
  /*background-image: linear-gradient(rgb(255, 204, 0),rgb(255, 102, 0));*/ /*debug*/
  background-color: #181a1b;
  /*
  light grey 3d4244
  grey 282a2b
  grey hover 313435
  dark 212425
  dark hover 313435
   */
}

.scroll-bar::-webkit-scrollbar {
  width: 6px;
}

.scroll-bar::-webkit-scrollbar-thumb {
  background: #282a2b80;
  border-radius: 3px;
}

iframe {
  border: 0;
  border-radius: 8px;
}

.container {
  position: fixed;
  top: 48px;
  width: calc(100% - 16px);
  height: calc(100% - 48px);
  overflow-y: auto;
  text-align: center;
  padding: 0 8px 8px;
  animation:
    slideIn-page 1s forwards,
    fadeIn 1s forwards;
}

.container-flex {
  display: flex;
  position: fixed;
  top: 48px;
  justify-content: center;
  align-items: baseline;
  width: 100%;
  height: calc(100% - 48px);
  overflow-y: auto;
  text-align: center;
  scrollbar-gutter: stable;
}

.small-container {
  margin: 16px;
}

.spacer {
  border-bottom: 1px solid #3d4244;
  width: 100%;
  margin: 3px 0;
}

.icon-image {
  width: 24px;
  height: 16px;
}

.button a {
  background-color: #282a2b;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  transition:
    background-color 1s ease,
    color 1s ease;
}

.navbar {
  overflow: hidden;
  background-color: #282a2bbf;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

.navbar a {
  height: 20px;
  float: left;
  color: white;
  text-align: center;
  padding: 10px 14px;
  border-radius: 4px;
  margin: 4px;
  font-size: 17px;
  transition: background-color 1s ease;
}

.navbar a.main {
  color: #0f0;
}

.button a.active,
.navbar a.active {
  background-color: #ffffff13;
}

.button a:hover,
.navbar a:hover {
  background-color: #ffffff1a;
  transition: background-color 0.25s ease;
}

.scroll-bar::-webkit-scrollbar-thumb:hover {
  background-color: #313435;
}

.icon-mobile:hover {
  background-color: #ffffff1a;
  transition:
    background-color 0.25s ease,
    fill 1s ease;
}

.navbar a:not(:first-child) {
  margin: 4px 4px 4px 0;
}

.icon-mobile {
  display: none;
}

.border {
  background-color: #282a2bbf;
  border-radius: 15px;
  overflow: hidden;
  width: 372px;
}

.box {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  .navbar a:not(:first-child) {
    display: none;
  }

  .icon-mobile {
    line-height: 24px;
    width: 28px;
    height: 28px;
    padding: 6px;
    margin: 4px 4px 4px 0;
    border-radius: 4px;
    position: absolute;
    right: 0;
    top: 0;
    display: block;
    text-align: center;
    font-size: 17px;
    cursor: pointer;
    transition:
      background-color 1s ease,
      color 1s ease;
  }

  .navbar.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

input {
  color: #fff;
  font-size: 16px;
  width: 100%;
  padding: 4px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  background-color: #3d3d3d;

  &:focus {
    outline: 1px solid white;
  }

  &::placeholder {
    color: grey;
  }
}

a {
  text-decoration: none;
  color: #00a8fc;
}

p {
  color: #fff;
}

.message-text-medium-gray {
  color: #a9a9a9;
  font-size: 12px;
  margin: 0;
}

.message-text-large {
  color: #fff;
  font-size: 16px;
  margin: 0;
}

.contact-menu .contact-grid a {
  display: inline-flex;
  align-items: center;
  padding: 8px;
  border-radius: 4px;
  transition: background-color 1s ease;
  margin: 0 -8px;

  &:hover {
    background-color: #ffffff1a;
    transition: background-color 0.25s ease;
  }
}

.menu {
  width: fit-content;
  background-color: #282a2bbf;
  margin: 16px;
  z-index: 2;
  padding: 16px;
  border-radius: 8px;
  opacity: 0;
  animation:
    slideIn-menu 1s forwards,
    fadeIn 1s forwards;
  align-content: center;
}

.contact-menu {
  width: fit-content;
  background-color: #282a2bbf;
  margin: 16px;
  z-index: 2;
  padding: 16px;
  border-radius: 8px;
  opacity: 0;
  animation:
    slideIn-menu 1s forwards,
    fadeIn 1s forwards;
  align-content: center;
}

.contact-grid {
  padding: 0 8px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
}

@keyframes slideIn-page {
  0% {
    margin-top: -16px;
  }

  100% {
    margin-top: 0;
  }
}

@keyframes slideIn-menu {
  0% {
    margin-top: 0;
  }

  100% {
    margin-top: 16px;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.grid-home {
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.grid-item {
  flex: 0 0 25%;
  padding: 16px;
  transition: all 0.2s ease-in-out;

  &:hover {
    transform: scale(1.1);
  }

  @media (min-width: 600px) {
    flex: 0 0 16.66%;
  }

  @media (min-width: 1000px) {
    flex: 0 0 8.33%;
  }
}

.grid-image {
  width: 352px;
  height: 198px;
  object-fit: cover;
  object-position: top;
  margin: 10px 0 0;
  border-radius: 10px;
}
