/*   CSS   */

body {
  margin: 0;
  padding: 0;
  font-family: "Arial", sans-serif;
  /*    color: rgba(0, 0, 0, 0.69);*/
  line-height: 1.4;
  min-width: 300px;
}

nav {
  background-color: #000;
  padding: 0;
  display: flex;
  border-bottom: 1px solid #282828;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  height: fit-content;
  min-height: 57px;
  z-index: 1000;
}

.logo img {
  width: 100%;
  max-width: 200px;
}

.nav-items {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0 0 0 97px;
  padding: 0;
}

.nav-item {
  margin: 0 15px;
  position: relative;
  width: max-content;
}

.nav-item:hover {
  border-bottom: solid 3px #5252f2;
}

.navigLink {
  color: #fff;
  text-decoration: none;
  display: block;
  font-size: 17px;
  text-align: center;
  line-height: 50px;
  border: 0;
  height: 4rem;
  margin: 7px 0rem -7px 0;
  padding: 0 1rem;
}

.navigLink:hover {
  height: calc(4rem - 3px);
}

.submenu {
  display: none;
  position: absolute;
  text-decoration: none;
  list-style: none;
  top: 100%;
  left: 0;
  width: max-content;
  background-color: #282828;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px;
  z-index: 1001;
}

.nav-item:hover .submenu {
  display: none;
}

.submenu li {
  margin: 8px 0;
}

.submenu a {
  color: #fff;
  text-decoration: none;
}

/*
burger menu
*/

.burger-menu {
  display: none;
  cursor: pointer;
}

.burger-menu img {
  max-width: 30px;
}

@media screen and (max-width: 939px) {
  nav {
    padding: 0;
    justify-content: space-around;
  }

  .nav-items {
    flex-direction: column;
    align-items: flex-end;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

  .burger-menu {
    display: block;
  }

  .nav-items {
    display: none;
    width: 100%;
    background-color: #000;
    position: absolute;
    top: 70px;
  }

  .nav-items.show {
    display: flex;
    flex-direction: column;
    margin-left: -25px;
    font-size: 2rem;
    background-color: #282828;
    width: max-content;
    position: absolute;
    top: 100%;
    right: 15px;
  }

  .submenu {
    font-size: 17px;
    left: -100px;
    top: 99%;
  }

  .navigLink {
    margin: -15px 0;
  }
}

@media screen and (min-width: 940px) {
  nav {
    justify-content: flex-start;
  }
}

.content {
  margin: 58px 0 0 0;
  width: 100%;
  height: fit-content;
}

.content p {
  font-size: 1.125rem;
  line-height: 1.562rem;
  color: rgba(0, 0, 0, 0.62);
}

.content img {
  width: 100%;
}

.content a {
  color: #0071e3;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: bold;
}

.container {
  width: 100%;
  height: fit-content;
}

.section1 {
  background-color: #191919;
  color: #fff;
}

.section1 p {
  color: rgba(255, 255, 255, 0.62);
}

.section2 {
  margin: 64px 52px;
  width: calc(100% - 64px);
  height: fit-content;
}

.section2-title {
  margin: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.section2-contents {
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
}

.section2-card {
  padding: 10px;
  margin: 6px;
  background-color: rgba(0, 0, 0, 0.03);
}

.section2-card-img {
  width: 75%;
  
}

.section2-card-title {
  font-weight: bold;
  font-size: 1.375rem;
  line-height: 1.625rem;
}

.section2-card-content {
  text-align: center;
}

@media only screen and (min-width: 1224px) {
  h1 {
    font-size: 3rem;
  }

  .section1 {
    padding: 5rem 3.5rem;
    max-width: calc(100% - 7rem);
    width: 100%;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1223px) {
  .section1 {
    padding: 1.5rem 3.5rem;
    max-width: calc(100% - 7rem);
    width: 100%;
  }

  .section2-contents {
    flex-direction: row;
  }
}

@media only screen and (min-width: 1223px) {
  h2 {
    font-size: 2rem;
  }
}

@media only screen and (min-width: 768px) {
  .section2-card {
    width: calc(100% / 4 - 44px);
  }
}

@media only screen and (max-width: 767px) {
  .section1 {
    padding: 0.5rem 1.5rem;
    max-width: calc(100% - 3rem);
    width: 100%;
  }

  .section2-contents {
    flex-direction: column;
  }

  .section2-card {
    max-width: 100%;
  }
}

.footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 15px;
}
