* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Space Grotesk", sans-serif;
  background-color: hsl(240deg 11% 96% / 75%);
}

/* .myimage {
  width: 200;
  height: 200;
  background-color: red;
  z-index: 3;
} */

#header {
  background-color: hsl(0deg 0% 0%);
  display: flex;
  align-items: center;
  height: 45px;
  padding-left: 20px;
  padding-right: 20px;
  justify-content: space-between;
  user-select: none;
}

#header .logo {
  font-weight: 700;
  font-size: 25px;
  color: hsl(0deg 0% 100%);
  width: 100px;
  cursor: pointer;
}

#res_nav,
#menu_button {
  display: none;
}

#header nav ul {
  list-style-type: none;
  display: flex;
  font-weight: 500;
  font-size: 16px;
  color: hsl(0deg 0% 100%);
  white-space: nowrap;
}

#header .flex_support {
  width: 100px;
}

#header nav ul li {
  cursor: pointer;
  user-select: none;
}

#header nav ul li:nth-child(1) {
  margin-right: 20px;
}

#header nav ul li:nth-child(3) {
  margin-left: 20px;
}

#header nav ul li:last-child {
  position: absolute;
  right: 20px;
}

#promotion {
  background-color: hsl(0deg 0% 100%);
  display: flex;
  justify-content: center;
  align-items: center;
}

#promotion .hero {
  padding-top: 10px;
}

#promotion .hero h1 {
  font-weight: 900;
  font-size: 80px;
  color: hsl(0deg 0% 7%);
  letter-spacing: -3px;
  line-height: 90px;
}

#promotion .hero p {
  font-size: 20px;
  font-weight: 500;
  color: hsl(0deg 0% 20%);
  line-height: 20px;
  margin-top: 20px;
}

#promotion .hero .button {
  padding: 15px 30px;
  max-width: fit-content;
  background-color: hsl(0deg 0% 0%);
  margin-top: 30px;
  color: hsl(208deg 100% 97%);
  font-size: 20px;
  border-radius: 65px;
  margin-top: 30px;
  font-weight: 600;
}

#promotion .mockup img {
  /* width: 375px;
  height: 500px; */
  position: relative;
  /* z-index: -1; */
  margin: 80px 0 0 50px;
  padding-left: 30px;
}

#menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 137px;
  margin: -20px 0 0 0;
  backdrop-filter: blur(8px);
  padding: 0px 16px;
  background-color: hsl(240deg 11% 96% / 75%);
}

#menu h1 {
  font-size: 30px;
  color: hsl(0deg 0% 20%);
}
#menu .horizontal_menu ul {
  list-style-type: none;
  display: flex;
  color: hsl(0deg 0% 0%);
  align-items: center;
}

#menu .horizontal_menu ul li {
  margin: 0 20px 0 0;
  background-color: hsl(0deg 0% 100%);
  padding: 10px 18px;
  border-radius: 65px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0 7px 10px 0 hsl(0deg 0% 0% / 20%);
}

#menu .horizontal_menu ul li:hover {
  background-color: hsl(0deg 0% 0%);
  color: hsl(0deg 0% 100%);
}

#menu .dropdown {
  position: relative;
  display: inline-block;
  font-size: 18px;
  font-weight: 600;
  border-radius: 65px;
  color: hsl(0deg 0% 0%);
}

#menu .dropdown input[type="checkbox"] {
  display: none;
}

#menu .dropdown label {
  display: inline-block;
  background-color: hsl(0deg 0% 100%);
  padding: 10px 18px;
  border-radius: 65px;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 7px 10px hsl(0deg 0% 0% / 20%);
}

#menu .dropdown label .whitearrow {
  display: none;
}

#menu .dropdown ul {
  position: absolute;
  list-style: none;
  text-align: center;
  width: 100%;
  z-index: 1;
  margin: 0;
  padding: 5px;
  display: none;
}

#menu .dropdown ul li {
  padding: 10px;
  background-color: hsl(0deg 0% 100%);
  color: hsl(0deg 0% 0%);
  margin-bottom: 2px;
  cursor: pointer;
  border-radius: 15px;
}

#menu .dropdown ul li:hover {
  background-color: hsl(0deg 0% 0%);
  color: hsl(0deg 0% 100%);
}

#menu .dropdown input[type="checkbox"]:checked ~ label {
  background-color: hsl(0deg 0% 0%);
  color: hsl(0deg 0% 100%);
  border-bottom-right-radius: 0%;
}

#menu .dropdown input[type="checkbox"]:checked ~ label img.blackarrow {
  filter: invert();
}

#menu .dropdown input[type="checkbox"]:checked ~ ul {
  display: block;
}

#section {
  background-color: hsl(240deg 11% 96% / 75%);
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-around;
  margin-left: 24px;
  margin-right: 24px;
  /* column-gap: 40px;
  row-gap: 30px; */
}

#section .card {
  background-color: hsl(0deg 0% 100%);
  margin: 0px 0px 48px 0px;
  border-radius: 8px;
}

#section .card .media {
  width: 320px;
  height: auto;
  overflow: hidden;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

#section .card .media img {
  width: inherit;
  height: auto;
  object-fit: fill;
}

#section .card h1 {
  font-size: 20px;
  padding: 15px 15px 10px;
}

#section .card .owner {
  display: flex;
  justify-content: space-between;
  padding: 0 15px 15px 15px;
}

#section .card .owner .ownerinfo {
  display: inline-flex;
  align-items: center;
}

#section .card .owner .ownerinfo img {
  width: auto;
  height: 28px;
  border-radius: 100%;
}

#section .card .owner .ownerinfo .ownername {
  margin-left: 8px;
}

button {
  max-width: fit-content;
  margin: 26px auto 26px auto;
  background-color: hsl(0deg 0% 100%);
  padding: 10px 18px;
  border: none;
  border-radius: 65px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0 7px 10px 0 hsl(0deg 0% 0% / 20%);
  display: flex;
  justify-content: center;
  user-select: none;
  color: hsl(0deg 0% 35%);
}
button:hover {
  background-color: hsl(0deg 0% 0%);
  color: hsl(0deg 0% 100%);
}

#footer {
  height: 155px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: hsl(0deg 0% 0%);
  padding: 0 16px 0 16px;
}

#footer aside .logo {
  font-weight: 700;
  font-size: 25px;
  color: hsl(0deg 0% 100%);
}

#footer aside p {
  color: hsl(0deg 0% 100%);
  font-size: 16px;
  margin-top: 10px;
}

#footer nav ul {
  display: flex;
  list-style-type: none;
}

#footer nav ul li {
  margin: 0 10px 0 0;
  color: hsl(0deg 0% 100%);
}

.click {
  cursor: pointer;
  user-select: none;
}

/*******************************************************/

@media only screen and (max-width: 1080px) {
  /* body {
    filter: blur(2px);
    z-index: -2;
  } */

  #header .logo {
    z-index: 2;
  }

  #menu_button {
    display: flex;
    /* position: fixed; */
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    text-align: center;
    /* background-color: red; */
    z-index: 2;
    margin: 10px 20px 0 0;
  }

  #header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
  }

  #menu_button img.close {
    display: none;
  }

  #res_nav:checked ~ label img.menu {
    display: none;
  }

  #res_nav:checked ~ label img.close {
    display: block;
  }

  #header #res_nav ~ ul {
    display: none;
  }

  #header #res_nav:checked ~ ul {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
    background-color: hsl(0deg 0% 0% / 85%);
    backdrop-filter: blur(8px);
  }

  #header #res_nav:checked ~ ul li {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 20px 0;
    font-size: 28px;
    position: relative;
    right: 0;
  }
  /***************************/
  #menu .horizontal_menu {
    display: none;
  }

  /*************************/
  #promotion {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #promotion .hero h1 {
    text-align: center;
    margin-top: 50px;
  }

  #promotion .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #promotion .mockup img {
    position: relative;
    margin: 50px 0 0 0px;
    padding-left: 0;
  }

  /***************************/

  #footer {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #footer .logo {
    text-align: center;
    margin-top: 10px;
  }

  #footer aside p {
    text-align: center;
  }

  #footer nav {
    margin-bottom: 20px;
    font-weight: bold;
  }
}

@media only screen and (max-width: 450px) {
  #promotion .hero h1 {
    line-height: 70px;
    font-size: 70px;
  }

  #promotion .hero p {
    text-align: center;
  }
}

/*

/* refresh*/
/* refresh*/
