@font-face {
    font-family: oswald;
    src: url("/fonts/oswald.ttf");
}

* {
  box-sizing: border-box;
}

body {
  width: 100vw;
  margin: 0px;
  color: #fafafa;
  background-color: #27272a;
  background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%233f3f46' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
  font-family: system-ui, -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

a {
  color: #d4d4d8; 
  text-decoration: none;
}

ul {
  list-style: none;
}

header {
  height: 100vh;
  background-image: url("/images/scratch.png");
  background-size: cover;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

#logo {
    font-size: 2.5rem;
    margin: 0;
    font-family: oswald;
}

header div {
  font-size: 1.5rem;
  padding: 0 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

header p {
  max-width: 30rem;
  margin: 0.25rem 0;
}

header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-left: auto;
}

#services {
  width: 100%;
  display: grid;
  justify-content: center;
  align-items: center;
  grid-template-columns: 20rem 20rem 20rem;
  grid-auto-rows: auto;
  gap: 4rem;
  padding: 4rem;
}

.serviceBox {
  width: 90%;
  max-width: 20rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: #18181b;
  box-shadow: 0 0.5rem 0.5rem 0 #18181b44;
  margin: 0 auto;
}

.serviceBox p {
  width: 100%;
  font-size: 1rem;
  padding: 1rem;
}

.serviceBox img {
  display: block;
  width: 20rem;
  height: 20rem;
  object-fit: cover;
  border-bottom: 3px solid #991b1b; 
}

#services > img {
  grid-column: span 2;
  width: 100%
}

#info {
  display: flex;
  min-height: 100vh;
}

#prices {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#prices p {
  text-align: center;
  font-size: 2rem;
}

#video-container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8rem;
  gap: 8rem;
  font-size: 1.25rem;
  line-height: 1.875rem;
}

#vid {
  width: 90%;
  max-width: 30rem;
  height: auto;
  border-radius: 1rem;
  box-shadow: 1rem 1rem 0 0 #18181b;
}

#contact {
  display: flex;
  width: 50%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#contact ul {
  padding: 0;
}

#contact h2 {
  font-size: 2rem;
  margin: 0;
}

#contact li {
  list-style: none;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  margin: 0.5rem 0;
}

#copyright {
  width: 100%;
  text-align: center;
  background-color: #18181b;
  padding: 10px;
  margin: 0;
}

#email {
  background-image: url("/images/email.svg");
}

#phone {
  background-image: url("/images/phone.svg");
}

#facebook {
  background-image: url("/images/facebook.svg");
}

#instagram {
  background-image: url("/images/instagram.svg");
}

.icon {
  width: 2rem;
  height: 2rem;
  margin-right: 1rem;
  margin-top: 0.25rem;
  display: block;
  background-size: 100%;
  background-position: center;
  filter: invert(100%);
}

.socialLink {
  display: flex;
}

@media only screen and (max-width: 900px) {
  #services {
    grid-template-columns: 1fr 1fr;
  }

  #video-container {
    flex-direction: column;
    padding: 1rem;
  }
}

@media only screen and (max-width: 720px) {
  #logo {
    font-size: 1.5rem;
  }

  header {
    grid-template-columns: 2fr 1fr;
  }

  header div {
    padding: 0 2rem;
    font-size: 1rem;
  }
  
  #services {
    grid-template-columns: 1fr;
    padding: 4rem 0;
  }

  #info {
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
  }

  #prices, #contact {
    width: 100%;
    margin: 1rem 0;
  }

  #contact li a {
    font-size: 1rem;
    display: flex;
    align-items: center;
  }

  #services > img {
    grid-column: span 1;
  }
}

@media only screen and (max-width: 350px) {
  .icon {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.5rem;
  }

  #contact li {
    font-size: 1rem;
  }

  #video-container p {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}
