:root {
  --bg-color: rgb(228, 228, 228);
  --main-color: rgb(255, 255, 255);
  --sub-color: rgb(212, 212, 212);
  --accent-color: rgb(4, 86, 250);
  --blog-color: rgb(250, 89, 89, 0.3);
  --gallery-color: rgb(4, 86, 250, 0.3);
  --link-color: rgb(0, 0, 0);
  --main-font: "M PLUS 1p";
  --news-color: rgb(255, 255, 255);
  --news-sub-color: rgb(220, 220, 220);
  --fonts-size: 35px;
}

a {
  text-decoration: none;
  color: var(--link-color);
}
body {
  font-family: var(--main-font);
  font-size: 20px;
  background: var(--bg-color);
  overflow: hidden scroll;
}

#splash {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 999;
  background: var(--bg-color);
  text-align: center;
  color: #e7e3e3;
  background: url(../IMG/image/top-small.JPG);
}

#splash_logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#splash_logo svg {
  width: 500px;
}

#mask path {
  fill-opacity: 0;
  transition: fill-opacity 0.5s;
  fill: none;
  stroke: #000000;
}

#mask.done path {
  fill: rgb(14, 13, 13);
  fill-opacity: 1;
  stroke: none;
}

.index {
  width: 70vw;
  height: 70vh;

  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 1vh 2vw;
}
section {
  width: 100vw;
  height: 100vh;
  padding: 15vh 15vw;
}
.title {
  font-size: var(--fonts-size);
  border-bottom: 1px solid #000;
  margin-bottom: 7vh;
}

.sub-title {
  font-size: 25px;
  line-height: 1.5;
  border-bottom: 1px solid #000;
}
.words {
  font-size: 18px;
  line-height: 1.9;
}

.pagination {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1em;
  z-index: 10;
  list-style: none;
  background-color: rgba(167, 166, 166, 0.5);
  padding: 1vh 0.5vw 1vh 1vw;
  border-radius: 5px;
}

.pagination a {
  display: block;
  height: 20px;
  margin-bottom: 5px;
  color: #fff;
  position: relative;
  padding: 4px;
}

.pagination a.active:after {
  box-shadow: inset 0 0 0 5px;
}

.pagination a .hover-text {
  position: absolute;
  right: 15px;
  top: 0;
  opacity: 0;
  -webkit-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
  padding-right: 15px;
  background: rgba(167, 166, 166, 0.5);
  padding: 3px;
  border-radius: 2px;
}

.pagination a:hover .hover-text {
  opacity: 1;
}

.pagination a:after {
  -webkit-transition: box-shadow 0.5s ease;
  transition: box-shadow 0.5s ease;
  width: 10px;
  height: 10px;
  display: block;
  border: 1px solid;
  border-radius: 50%;
  content: "";
  position: absolute;
  margin: auto;
  top: 0;
  right: 3px;
  bottom: 0;
}

.header {
  position: fixed;
  top: 5vh;
  right: 5vw;
}
.openbtn {
  position: relative;
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  width: 50px;
  height: 50px;
  opacity: 0;
  border-radius: 5px;
}

.openbtn span {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent-color);
  width: 45%;
}

.openbtn span:nth-of-type(1) {
  top: 15px;
}

.openbtn span:nth-of-type(2) {
  top: 23px;
}

.openbtn span:nth-of-type(3) {
  top: 31px;
}

.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}

.open-menus {
  position: fixed;
  top: 15vh;
  right: 2vw;
  z-index: 2;
}
.open-menu {
  display: none;
  width: 90px;
  height: 35px;
  margin-bottom: 0.5vh;
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  line-height: 1.5;
  text-align: center;
  z-index: 99;
  opacity: 1;
}

.top {
  display: flex;
  width: 100vw;
  height: 100vh;
}
.top-right {
  position: absolute;
  top: 8vh;
  right: 8vw;
}

.top-right-menu {
  display: flex;
  flex-direction: column;

  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(17.5px);
  -webkit-backdrop-filter: blur(17.5px);
  border: 1px solid rgba(255, 255, 255, 0.18);

  border-radius: 20px;
  padding: 20px;
}
.menu-btn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10% 5%;
}
.menu-btn-mono {
  background-color: var(--main-color);
  padding: 2vh 1.3vw;
  border-radius: 10px;
  text-align: center;
  font-size: 20px;
}
.top-menu-news {
  height: 80px;
  background-color: var(--news-sub-color);
  border-radius: 10px;
  margin: 13% 0 3%;
  padding: 0 5px;
}
.top-menu-news-h3 {
  position: relative;
  top: -15px;
  left: -20px;
  font-size: 20px;
  font-weight: 800;
  width: 60px;
  background-color: var(--news-color);
  line-height: 1.5;
  padding: 0 7px;
  border-radius: 5px;
}
.top-menu-news-p-top {
  font-size: 15px;
  line-height: 1.5;
  margin-top: -11px;
  margin-bottom: 10px;
  border-bottom: 0.5px solid rgb(0, 0, 0, 0.5);
}
.top-menu-news-p {
  font-size: 15px;
}

.top-right-logo img {
  text-align: center;
  padding: 5%;
  width: 200px;
  object-fit: scale-down;
}

.top-left img {
  width: 70vw;
  height: 70vh;
  object-fit: cover;
  border-radius: 50px;
}

.about {
  z-index: 1;
}

.about-img {
  width: 35vw;
  height: 60vh;
  border-radius: 20px;
  margin-left: 3vw;
  object-fit: cover;
}
.about-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 60vh;
  max-width: 400px;
}

.blog-title {
  width: 20vw;
  min-width: 230px;
  text-align: left;
  font-size: var(--fonts-size);
  border-bottom: 1px solid #000;
  margin-bottom: 7vh;
}
.blog-index {
  width: 70vw;
  height: 70vh;

  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 5vh 2vw;
}
.card {
  width: 20vw;
  min-width: 235px;
  height: 65vh;
  display: flex;
  flex-direction: column;

  align-items: center;

  background-color: var(--blog-color);
  margin: 1vh 2vw;
  padding: 5vh 20px;
  border-radius: 30px;
}

.gallery-card {
  width: 20vw;
  min-width: 235px;
  height: 65vh;
  display: flex;
  flex-direction: column;

  align-items: center;

  background-color: var(--gallery-color);
  margin: 1vh 2vw;
  padding: 5vh 20px;
  border-radius: 30px;
}
.card-top {
  padding: 5vh 2vw;
  width: 20vw;
  min-width: 230px;
  height: 70vh;
  display: flex;
  flex-direction: column;

  align-items: center;
  padding: 4vh 0;
  margin: 1vh 2vw;
}
.card-img {
  width: 210px;
  height: 20vh;
  border-radius: 20px;
  object-fit: cover;
}
.blog-img {
  display: none;
}
.blog-btn {
  margin-top: 5vh;
  border-radius: 8px;
  padding: 15px 25px;
  text-align: center;
  background-color: var(--sub-color);
}
.contact-btn {
  margin-top: 5vh;
  border-radius: 8px;
  padding: 15px 25px;
  text-align: center;
  background-color: var(--gallery-color);
}

.news {
  display: none;
}

footer {
  font-size: 10px;
  text-align: center;
}

@media only screen and (min-width: 769px) and (max-width: 1160px) {
  .card {
    padding: 2vh 15px;
    width: 15vw;
  }
  .card2 {
    display: none;
  }
}

@media only screen and (min-width: 600px) and (max-width: 768px) {
  #splash_logo svg {
    width: 300px;
  }
  .pagination a .hover-text {
    display: none;
  }

  section {
    padding: 10vh 10vw;
  }
  .title {
    margin-bottom: 2vh;
    font-size: 30px;
  }
  .words {
    line-height: 1.8;
  }
  .top-left img {
    width: 80vw;
    height: 80vh;
    object-fit: cover;
    border-radius: 50px;
  }

  .index {
    height: 80vh;
    width: 80vw;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
  }
  .about-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1vh 10vw;
  }
  .about-img {
    width: 60vw;
    height: 20vh;
    margin-bottom: 4vh;
  }
  .blog-index {
    height: 80vh;
    width: 80vw;
    display: flex;
    justify-content: space-around;

    align-items: center;
  }
  .card .gallery-card {
    margin: 1vh 2vw 1vh 0;
  }
  .card2 {
    display: none;
  }
}

@media screen and (max-width: 600px) {
  #splash_logo svg {
    width: 300px;
  }
  .pagination a .hover-text {
    display: none;
  }

  section {
    padding: 7vh 7vw;
  }

  .top-right {
    position: absolute;
    top: 5vh;
    right: 5vw;
  }

  .top-right-menu {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 20px;
  }
  .menu-btn {
    margin-bottom: 20px;
  }
  .top-menu-news {
    display: none;
  }

  .title {
    margin-bottom: 2vh;
    font-size: 30px;
  }
  .blog-title {
    width: auto;
    min-width: 0px;
    text-align: center;
    font-size: 30px;
    border-bottom: 1px solid #000;
    margin-bottom: 2vh;
  }

  .words {
    line-height: 1.5;
  }
  .news-words {
    line-height: 1.5;
    font-size: 18px;
  }
  .top-left img {
    width: 86vw;
    height: 86vh;
    object-fit: cover;
    border-radius: 50px;
  }

  .index {
    height: 86vh;
    width: 86vw;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
  }
  .about-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1vh 10vw;
  }
  .about-img {
    width: 60vw;
    height: 20vh;
    margin-bottom: 5vh;
  }
  .blog-index {
    height: 86vh;
    width: 86vw;
    display: flex;
    justify-content: space-around;

    align-items: center;
  }
  .card .card-top .gallery-card {
    justify-content: space-between;
    justify-content: space-between;
    width: 60vw;
  }
  .card1 {
    display: none;
  }
  .card2 {
    display: none;
  }
  .blog-btn .contact-btn {
    margin-bottom: 5vh;
  }
  .blog-img {
    display: block;
    width: 60vw;
    height: 20vh;
    border-radius: 20px;
    object-fit: cover;
  }
  .news {
    display: block;
    height: 80px;
    background-color: azure;
    border-radius: 10px;
    margin: 13% 0 3%;
    padding: 0;
  }
  .news-title {
    position: relative;
    top: -15px;
    left: -20px;
    font-size: 20px;
    font-weight: 800;
    width: 60px;
    background-color: beige;
    line-height: 1.5;
    padding: 0 7px;
    border-radius: 5px;
  }

  .top-menu-news-p-top {
    font-size: 15px;
    line-height: 1.5;
    margin-top: -11px;
    margin-bottom: 10px;
    border-bottom: 0.5px solid rgb(0, 0, 0, 0.5);
  }
  .top-menu-news-p {
    font-size: 15px;
  }
}
