@import url("https://fonts.googleapis.com/css2?family=Agdasima:wght@400;700&family=Kanit:wght@300;400;500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600&family=Roboto+Mono:wght@200;300;400;500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bitter:wght@400;500;600;700&family=Kanit:wght@300;400;500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Aleo:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Calistoga&display=swap");

:root {
  --nav-font_1: "Agdasima";
  --nav-font_2: "Roboto Mono";
  --nav-font_3: "Bitter";
  --nav-font_4: "Aleo";
  --nav-font_5: "Montserrat";
  --nav-font_6: "Calistoga";
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Karla", sans-serif;
}


  /*-------------------------------------------*/
 /*               PAGE  TRANSITION            */
/*-------------------------------------------*/
body {
  color: #fff;
  animation: transitionIn 0.75s;
}

@keyframes transitionIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
  /*-------------------------------------------*/
 /*         END OF  PAGE  TRANSITION          */
/*-------------------------------------------*/


  /*---------------------------------------------*/
 /*               B A N N E R                   */
/*---------------------------------------------*/
.container {
  width: 100%;
  height: 35vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(./image/bg_color_about.jpg);
  background-position: center;
  background-size: cover;
  padding-top: 10px;
  padding-left: 8%;
  padding-right: 8%;
}
.position {
  margin-top: 30px;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 45px;
}
.position h1 {
  color: rgb(255, 255, 255);
  text-align: center;
  font-family: var(--nav-font_6);
  font-size: 60px;
  font-weight: 500;
}
.position p {
  color: #fff;
  font-family: var(--nav-font_6);
  font-size: 22px;
}
  /*---------------------------------------------*/
 /*       E N D  O F  B A N N E R               */
/*---------------------------------------------*/



  /*---------------------------------------*/
 /*            START OF LOGO              */
/*---------------------------------------*/
.logo {
  display: flex;
  flex-direction: row;
  gap: 5px ;
}
nav .logo img {
  width: 1.8rem;
  height: auto;
}
.logo a {
  font-size: 1.5rem;
  text-decoration: none;
  font-family: var(--nav-font_1);
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 1);
}
span {
  color: #57bb8a;
  font-family: var(--nav-main-font);
  font-weight: 600;
}
  /*---------------------------------------*/
 /*      END OF  START OF LOGO            */
/*---------------------------------------*/


  /*--------------------------*/
 /*     START OF NAVBAR      */
/*--------------------------*/
nav {
  padding: 10px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
nav ul li {
  display: inline-block;
  list-style: none;
  margin: 10px 15px;
}
nav ul li a {
  text-decoration: none;
  color: #fff;
  font-size: clamp(0.5rem, 0.075rem + 5.2vw, 1.5rem);
  font-weight: 500;
  font-family: var(--nav-font_1);
  padding: 5px 10px;
  border-radius: 10px;
  transition: all 0.3s ease;
}
nav ul li a:hover {
  background: #57bb8a;
  color: black;
}
  /*--------------------------*/
 /*       END OF NAVBAR      */
/*--------------------------*/


/*--------------------------*/
/*    START OF FOOTER       */
/*--------------------------*/
.footer {
  padding: 10px 0;
  background-color: #348e62ca;
  margin-bottom: -5px;
  margin-top: -5px;
}
.footer ul {
  margin-top: 0;
  padding: 0;
  list-style: none;
  text-align: center;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 0;
  gap: 15px;
}
.footer ul a {
  color: black;
  text-decoration: none;
  opacity: 0.8;
  font-family: var(--nav-font_5);
  font-weight: 500;
}

.footer ul li {
  display: inline-block;
  padding: 0 10px;
}

.footer ul li a {
  text-decoration: none;
  color: #0c0c0c;
  font-size: 1.2rem;
  font-weight: 600;
  font-family: var(--nav-font_1);
  transition: all 0.3s ease;
}

.footer ul li a:hover {
  font-size: 1.1rem;
  color: rgb(4, 4, 4);
  border-bottom: 3px solid #fefefe;
}
.footer .copyright {
  margin-top: 2px;
  text-align: center;
  font-size: 0.8rem;
  color: #000000;
  font-family: var(--nav-font_2);
  margin-bottom: -5px;
  word-spacing: 2px;
}
  /*--------------------------*/
 /*     END OF FOOTER        */
/*--------------------------*/


a{
  color: #ffffff;
}
.link {
  margin-top: 30px;
}

.card {
  margin-top: 50px;
  margin: 10px;
  border-bottom: 3px solid #57BB8A;
}
.services {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.card-01, 
.card-02, 
.card-03, 
.card-04 {
  position: relative;
  flex: 1;
  max-width: 300px;
  height: 300px;
  margin-top: 10px;
  margin-bottom: 80px;
  margin-left: 10px;
  margin-right: 10px;
}
.card-01,
.card-02,
.card-03,
.card-04, img {
  width: 220px;
  height: 220px;
  transition: all 0.3s ease;
}
.card-01,
.card-02,
.card-03,
.card-04, img:hover {
  width: 200px;
  height: 200px;
}
.card-01,
.card-02,
.card-03,
.card-04, p {
  color: black;
  font-family: var(--nav-font_6);
  font-size: 18px;
  text-align: center;
}

.container-info {
  margin: 10px 10px 10px 10px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 60px ;
  color: black;
  text-align: center;
}

iframe {
  width: 35vw;
  height: 50vh;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  margin-bottom: 20px;
  margin-top: 50px;
}

.right {
  line-height: 15px;
}
.right h1  {
  margin-bottom: 14px;
  font-family: var(--nav-font_4);
  font-size: 1.8rem;

}
.right h2 {
  margin-bottom: 14px;
  font-family: var(--nav-font_4);
  font-size: 1.2rem;
}
.right p {
  font-size: 14px;
  font-family: var(--nav-font_4);
  margin-bottom: 20px;
  line-height: 0.10;
}



  /*----------------------------------------------------------*/
 /*                    START OF MEDIA QUERIES                */
/*----------------------------------------------------------*/
@media screen
    and (max-device-width: 640px) {
      .container {
        width: 100vw;
        height: 20vh;
        padding-top: 10px;
        padding-left: 12%;
        padding-right: 2%;
      }
      .position {
        margin-top: 40px;
        line-height: 25px;
      }
      .position h1 {
        font-size: 30px;
      }
      .position p {
        font-size: 15px;
      }
      nav {
        width: 100%;
      }
      nav ul li {
        margin: 1px 1px;
      }
      nav ul li a {
        font-size: clamp(0.5rem, 0.075rem + 5.2vw, 0.8rem);
        padding: 10px 10px;
      }
      .logo {
        gap: 2px ;
      }
      nav .logo img {
        width: 1rem;
        height: auto;
      }
      .logo a {
        font-size: 1rem;
        margin-right: 5px;
        word-spacing: 1px;
      }
      .card-01,
      .card-02,
      .card-03,
      .card-04, img {
      width: 130px;
      height:130px;
      }
      .card-01,
      .card-02,
      .card-03,
      .card-04, img:hover {
      width: 140px;
      height: 140px;
  }
      .card-01,
      .card-02,
      .card-03,
      .card-04, p {
    font-size: 13px;
  }
  iframe {
    width: 88vw;
    height: 40vh;
    border-radius: 10px;
    margin-bottom: 5px;
    margin-top: 10px;
    margin-right: 15px;
  }
  .right {
    margin-bottom: 10px;
  }
  .right h1  {
    margin-top: -30px;
    margin-bottom: 14px;
    font-family: var(--nav-font_5);
    font-size: 1.3rem;
  
  }
  .right h2 {
    margin-bottom: 14px;
    font-family: var(--nav-font_5);
    font-size: 1rem;
    line-height: 1px;
  }
  .right p {
    font-size: 0.8rem;
    font-family: var(--nav-font_5);
    line-height: 1px;
  }
  .card {
    margin-top: 0;
    margin-bottom: 15px;
    margin-left: 5px;
    margin-right: 5px;
    border-bottom: 3px solid #57BB8A;
  }
  .services {
    margin-bottom: 5px;
  }
  .footer ul li a {
    font-size: 0.8rem;
  }
  .footer .copyright {
    margin-top: 2px;
    font-size: 0.6rem;
  }
    }
    @media screen
    and (max-device-width: 414px) {
      .container {
        width: 100vw;
        height: 20vh;
        padding-top: 10px;
        padding-left: 12%;
        padding-right: 2%;
      }
      .position {
        margin-top: 40px;
        line-height: 25px;
      }
      .position h1 {
        font-size: 30px;
      }
      .position p {
        font-size: 15px;
      }
    @media screen
    and (max-device-width: 375px) {
        .container {
          width: 100vw;
          height: 20vh;
          padding-top: 10px;
          padding-left: 12%;
          padding-right: 2%;
        }
      }
      .position {
        margin-top: 20px;
        line-height: 25px;
      }
      .position h1 {
        font-size: 30px;
      }
      .position p {
        font-size: 11px;
      }
      nav {
        width: 100%;
      }
      nav ul li {
        margin: 1px 1px;
      }
      nav ul li a {
        font-size: clamp(0.5rem, 0.075rem + 5.2vw, 0.8rem);
        padding: 10px 10px;
      }
      .logo {
        gap: 2px ;
      }
      nav .logo img {
        width: 1rem;
        height: auto;
      }
      .logo a {
        font-size: 1rem;
        margin-right: 5px;
        word-spacing: 1px;
      }
      .card-01,
      .card-02,
      .card-03,
      .card-04, img {
      width: 130px;
      height:130px;
      }
      .card-01,
      .card-02,
      .card-03,
      .card-04, img:hover {
      width: 140px;
      height: 140px;
  }
      .card-01,
      .card-02,
      .card-03,
      .card-04, p {
    font-size: 13px;
  }
  iframe {
    width: 88vw;
    height: 40vh;
    border-radius: 10px;
    margin-bottom: 5px;
    margin-top: 10px;
    margin-right: 15px;
  }
  .right {
    margin-bottom: 10px;
  }
  .right h1  {
    margin-top: -30px;
    margin-bottom: 14px;
    font-family: var(--nav-font_5);
    font-size: 1.2rem;
  
  }
  .right h2 {
    margin-bottom: 14px;
    font-family: var(--nav-font_5);
    font-size: 1rem;
    line-height: 1px;
  }
  .right p {
    font-size: 0.8rem;
    font-family: var(--nav-font_5);
    line-height: 1px;
  }
  .card {
    margin-top: 0;
    margin-bottom: 15px;
    margin-left: 5px;
    margin-right: 5px;
    border-bottom: 3px solid #57BB8A;
  }
  .services {
    margin-bottom: 5px;
  }
  .footer ul li a {
    font-size: 0.8rem;
  }
  .footer .copyright {
    margin-top: 2px;
    font-size: 0.6rem;
  }
    }
@media (min-width:768px) {
  nav ul li a {
    font-size: clamp(0.5rem, 0.075rem + 5.2vw, 1.2rem);
  }
}
@media (min-width:1024px) {
  nav ul li a {
    font-size: clamp(0.5rem, 0.075rem + 5.2vw, 1.3rem);
  }
}
@media (min-width:1280px) {
  nav ul li a {
    font-size: clamp(0.5rem, 0.075rem + 5.2vw, 1.5rem);
  }
}
  /*---------------------------------------------*/
 /*         END OF MEDIA QUERIES                */
/*---------------------------------------------*/

    }
 