@import url("https://fonts.googleapis.com/css2?family=Arvo:ital,wght@1,400;1,700&family=Josefin+Slab:ital,wght@0,100;0,200;0,400;0,500;0,600;0,700;1,200;1,300&display=swap");

body {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: "Josefin Slab", serif;
}

a {
  text-decoration: none;
  color: inherit;
}

header {
  position: fixed;
  top: 0;
  height: 80px;
  width: 100%;
  padding: 20px 60px;
  display: flex;
  align-items: center;
  z-index: 100;
  background-color: white;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

#brand {
  color: #3d5d79;
  letter-spacing: 5px;
  flex-grow: 1;
  text-align: center;
  font-family: "Arvo", serif;
  text-transform: uppercase;
}

#logo {
  flex-grow: 1;
  height: 95%;
}

#logo img {
  height: 100%;
}

#sidebar {
  position: fixed;
  right: -500px;
  top: 0;
  height: 100%;
  width: 300px;
  padding: 80px 30px 0 30px;
  background-color: #000000c9;
  transition: right 0.5s;
  z-index: 1;
}

#sidebar ul {
  list-style: none;
  margin-top: 65px;
  padding: 0;
}

#sidebar li a {
  display: block;
  padding: 10px;
  margin: 30px 0;
  color: white;
  text-align: center;
  font-size: x-large;
}

#sidebar li a:hover {
  background-color: #3d5d79;
}

.icons {
  width: 120px;
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
  padding-right: 80px;
}

.icons i {
  font-size: 24px;
  cursor: pointer;
  color: #3d5d79;
}

.icons i:hover {
  color: #5e8fbb;
}

#menu-icon {
  position: fixed;
  right: 60px;
  top: 45px;
  z-index: 2;
}

p {
  font-size: 22px;
  line-height: 2rem;
  margin-bottom: 3rem;
}

.button {
  background-color: #3d5d79;
  color: white;
  padding: 1rem 3rem;
  margin: 1rem 0;
  font-size: 18px;
  font-weight: 500;
  border-radius: 10px;
}

.button:hover {
  background-color: #5e8fbb;
}

.image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#hero {
  color: white;
  margin-top: 8rem;
  width: 100vw;
  height: 80vh;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: relative;
}

#hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#hero h1#mainHeading {
  position: absolute;
  font-size: 50px;
  text-align: center;
  text-transform: uppercase;
}

main {
  box-sizing: border-box;
  height: max-content;
  padding: 2rem 7rem;
  margin: 2rem 0;
}

main h1 {
  font-size: 35px;
}

main h2 {
  font-size: 30px;
}

main h3 {
  font-weight: 700;
  font-size: 24px;
  color: #3d5d79;
}

main .inside-section {
  padding: 0 2rem;
  margin: 3rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: rgb(70, 70, 70);
}

.inside-section .title {
  width: 35%;
  text-align: center;
}

.inside-section .title h1 {
  line-height: 3rem;
  font-family: "Arvo", serif;
  color: #3d5d79;
  text-transform: capitalize;
}

.inside-section .brief {
  width: 55%;
  text-align: center;
}

footer {
  display: grid;
  place-items: center;
}

@media screen and (max-width: 820px) {
  #hero {
    height: 40vh;
  }

  main {
    padding: 0 2rem;
  }

  main h1 {
    font-size: 32px;
  }

  main h2 {
    font-size: 28px;
  }

  main h3 {
    font-size: 20px;
  }

  main .inside-section {
    padding: 0 0;
    margin: 3rem 0;
  }

  .inside-section .title {
    width: 60%;
  }

  .inside-section .brief {
    width: 80%;
  }
}

@media screen and (max-width: 576px) {
  header {
    padding: 20px 30px;
  }

  #brand {
    font-size: medium;
  }

  #logo {
    height: 70%;
  }

  #sidebar {
    background-color: #000000f3;
  }

  #menu-icon {
    right: 30px;
  }

  #hero h1#mainHeading {
    font-size: 32px;
  }

  .inside-section .title {
    width: 100%;
  }

  .inside-section .brief {
    width: 100%;
  }

  main h1 {
    font-size: 24px;
  }

  main h2 {
    font-size: 20px;
  }

  main h3 {
    font-weight: 700;
    font-size: 18px;
    color: #3d5d79;
  }

  p {
    font-size: 16px;
    line-height: 2rem;
  }
}
