* {
  border: 0px solid red;
  margin: 0;
  padding: 0;
  font: inherit;
}

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul,
ol,
a {
  list-style: none;
  text-decoration: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
  scroll-padding: var(--scroll-padding, 50px);
}

/* Set core body defaults */
body {
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture,
svg {
  max-width: 100%;
  display: block;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background-color: #333;
}

::-webkit-scrollbar-thumb {
  background-color: gold;
}

::-webkit-scrollbar-thumb:hover {
  background-color: goldenrod;
}

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

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

header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: fixed;
  font-family: Lexend-Regular;
  transition: 0.4s;
}

header.bgNav {
  background: #333;
}

.logo > img {
  width: 250px;
  padding: 30px;
  transition: all 0.5s;
}

.logo > img.bgNav {
  width: 200px;
  padding: 20px;
}

.hamburger {
  display: none;
}

.navbar {
  position: fixed;
  z-index: 1030;
}

.nav-bar ul {
  display: flex;
  margin: 20px;
}

.nav-bar ul li a {
  display: block;
  color: white;
  font-size: 20px;
  padding: 10px 25px;
  border-radius: 50px;
  transition: 0.2s;
  margin-inline: 20px;
}

.nav-bar ul li a:hover {
  color: #333;
  background: gold;
}

.nav-bar ul li a.active {
  color: #333;
  background: gold;
}

@media only screen and (max-width: 900px) {
  .hamburger {
    display: block;
    cursor: pointer;
  }

  .hamburger .line {
    width: 30px;
    height: 3px;
    background: white;
    margin: 6px 0;
  }

  .nav-bar.active {
    height: 450px;
  }

  .nav-bar {
    height: 0px;
    position: absolute;
    top: 120px;
    left: 0;
    right: 0;
    width: 100%;
    background: rgb(51, 51, 51, 0.7);
    backdrop-filter: blur(15px);
    transition: 0.5s;
  }

  .nav-bar.bgNav {
    top: 90px;
  }

  .nav-bar ul {
    display: none;
    flex-direction: column;
    width: fit-content;
    margin: 80px auto 0 auto;
    text-align: center;
    transition: all 0.5s;
    opacity: 0;
  }

  .nav-bar.active ul {
    opacity: 1;
    display: flex;
  }

  .nav-bar ul li a {
    margin-bottom: 12px;
  }
}

.landing {
  min-height: 100vh;
  background-image: url("/images/bg.jpg");
  background-attachment: fixed;
}

.welcomeBox {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  color: white;
  font-family: Lexend-Regular;
  font-size: 2rem;
}

.welcomeBox > img {
  width: 600px;
}

.switch {
  opacity: 0;
  transition: opacity 1s, visibility 1s;
  visibility: collapse;
}

.switch-jpn {
  position: absolute;
  top:53%;
  height: 100vh;
}

.shown {
  opacity: 1;
  visibility: visible;
}

.heroSection {
  min-height: 100vh;
  font-family: Lexend-Regular;
  font-size: 20px;
  padding: 100px;
}

.heroSection > h3 {
  font-family: Lexend-Bold;
  font-size: 40px;
  text-align: right;
  padding: 30px;
}

.row {
  display: flex;
}

.col {
  flex: 50%;
  padding: 10px;
  text-align: justify;
  margin-inline: 20px;
}

.col > p {
  margin-bottom: 45px;
}

.col > .sideimg {
  display: block;
  margin-inline: auto;
  width: 400px;
}

.servicesSection {
  min-height: 100vh;
  font-size: 20px;
  font-family: Lexend-Regular;
  padding: 20px;
  background: url("/images/contact-bg.jpg") no-repeat;
  background-color: rgba(70, 70, 70, 0.2);
  background-blend-mode: multiply;
  background-size: cover;
  backdrop-filter: blur(100px);
  background-attachment: fixed;
}

.servicesSection .rowDesc {
  display: inline-block;
  flex-wrap: wrap;
  height: 150px;
  justify-content: space-between;
}

.servicesSection > h3 {
  font-family: Lexend-Bold;
  font-size: 40px;
  text-align: center;
  padding: 40px;
  color: #fff;
}

.contactSection {
  min-height: 100vh;
  font-size: 20px;
  font-family: Lexend-Regular;
  padding: 40px;
}

.contactSection > h3 {
  font-family: Lexend-Bold;
  font-size: 40px;
  text-align: center;
  padding: 20px;
  color: black;
}

.contact-box {
  max-width: 850px;
  display: grid;
  grid-template-columns: repeat(2, 0fr);
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 20px;
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
  margin-inline: auto;
  background-color: #fff;
}

.right {
  padding: 10px 40px;
  min-width: 40vw;
}

.fieldName,
.fieldEmail,
.fieldPhone,
.field {
  display: flex;
  flex-direction: column;
  min-width: 70%;
  padding: 0.3rem 1rem;
  background-color: rgba(230 230 230 0.6);
  font-size: 0.8rem;
  margin-inline: auto;
  margin-bottom: 30px;
  border-bottom: 1px solid black;
  transition: 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.labelName,
.labelEmail,
.labelPhone {
  display: flex;
  transform: translate(120px, -55px);
  width: 150px;
  flex-direction: row;
  font-size: 14px;
  pointer-events: none;
  transition: 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.fieldName:focus,
.fieldEmail:focus,
.fieldPhone:focus,
.field {
  outline: none;
}

.fieldName:focus ~ .labelName,
.fieldName:valid ~ .labelName,
.fieldEmail:focus ~ .labelEmail,
.fieldEmail:valid ~ .labelEmail,
.fieldPhone:focus ~ .labelPhone,
.fieldPhone:valid ~ .labelPhone {
  transform: translate(90px, -85px) scale(0.8);
}

.fieldName:focus ~ .labelName::after,
.fieldName:valid ~ .labelName::after,
.fieldEmail:focus ~ .labelEmail::after,
.fieldEmail:valid ~ .labelEmail::after,
.fieldPhone:focus ~ .labelPhone::after,
.fieldPhone:valid ~ .labelPhone::after {
  transform: translateY(0%);
}

.subBtn {
  padding: 10px 20px;
  margin: 10px;
  justify-content: left;
  font-size: 18px;
  border-radius: 40px;
  background-color: #f2d388;
}

.soc-buttons {
  display: flex;
  flex-wrap: row nowrap;
  max-width: 40%;
  margin-inline: auto;
  justify-content: space-between;
}

.soc-button {
  margin-inline: 30px;
  padding: 40px;
  min-width: 120px;
  border-radius: 20px;
  cursor: pointer;
  margin-bottom: 10px;
  background-color: #fff;
  transition: 500ms;
}

.soc-button:hover {
  box-shadow: 0px 0px 23px 3px rgba(0, 0, 0, 0.1);
}

.swiper {
  width: 45vw;
  height: 100px;
  border-radius: 30px;
  box-shadow: 1px 2px 20px -3px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: 1px 2px 20px -3px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 1px 2px 20px -3px rgba(0, 0, 0, 0.75);
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;

  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.footerSection {
  min-height: 50vh;
  font-size: 20px;
  font-family: Lexend-Regular;
  padding: 40px;
  background: #333;
  color: gold;
}

.footerRow {
  min-height: 40vh;
}

.footerTitle {
  border-right: 1px solid #fff;
}

.footerLogo {
  width: 20vw;
  display: block;
  margin-inline: auto;
}

.footerLogoTitle {
  text-align: center;
  color: #fff;
  font-family: Lexend-Regular;
}

.linkTitles {
  padding: 20px;
}

.footerLinks > li > a {
  color: #fff;
  font-family: Lexend-Regular;
  font-size: 16px;
  text-decoration: none;
  padding-left: 40px;
}

.footerLinks > li > a > i {
  margin-right: 10px;
}

.copyright {
  background-color: #1f1f1f;
  text-align: center;
  color: gold;
  padding: 10px;
  font-family: Lexend-Regular;
}

@media only screen and (max-width: 950px) {
  .welcomeBox {
    padding: 20px;
    font-size: 25px;
  }
  .row {
    display: block;
  }

  .heroSection {
    padding: 10px;
  }

  .heroSection > h3 {
    text-align: center;
  }

  .swiper {
    width: 80vw;
    position: relative;
  }

  .soc-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
  }

  .right {
    padding: 10px 0px;
    min-width: 70vw;
  }
}

@media only screen and (max-width: 500px) {
  .swiper {
    width: 80vw;
    position: relative;
    right: 10px !important;
  }

  .servicesSection .rowDesc {
    height: 350px;
  }

  .linkTitles {
    padding: 20px;
    text-align: center;
  }

  .footerLogo {
    width: 50vw;
  }

  .footerTitle {
    border-bottom: 1px solid #fff;
    border-right: none;
  }

  .footerLinks > li {
    text-align: justify;
  }

  .labelName,
  .labelEmail,
  .labelPhone {
    transform: translate(55px, -55px);
  }

  .fieldName:focus ~ .labelName,
  .fieldName:valid ~ .labelName,
  .fieldEmail:focus ~ .labelEmail,
  .fieldEmail:valid ~ .labelEmail,
  .fieldPhone:focus ~ .labelPhone,
  .fieldPhone:valid ~ .labelPhone {
    transform: translate(30px, -85px) scale(0.8);
  }

  .soc-button {
    min-width: 70px;
    padding: 20px;
    margin-inline: 5px;
  }
}

.swiper-pagination-bullet-active {
  background-color: rgb(247, 181, 0) !important;
}

.modalLine,
.modalViber {
  margin: auto;
  width: 50%;
  padding: 10px;
  padding: 1em;
  max-width: 50ch;
  animation: reverse;
  animation-duration: 0.5s;
  text-align: center;
}

.modalLine h3,
.modalViber h3 {
  font-size: 20px;
  font-family: Lexend-Bold;
}

.modalLine img,
.modalViber img {
  width: 300px;
  display: block;
  margin-inline: auto;
}

.modalLine a {
  text-decoration: underline;
  color: goldenrod;
}

.close-button-lne,
.close-button-vbr {
  padding: 10px 40px;
  margin: 20px;
  border-radius: 40px;
  background-color: #f2d388;
  display: block;
  margin-inline: auto;
}
