@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;
  background: whitesmoke;
  animation: transitionIn 0.75s;
  background-color: #fff;
}

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

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

/*-----------------------------------*/
/*             BANNER               */
/*---------------------------------*/
.container {
  width: 100%;
  height: 30vh;
  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%;
  margin-bottom: 40px;
}
.position {
  margin-top: 30px;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 45px;
}
.position h3 {
  color: rgb(255, 255, 255);
  text-align: center;
  font-family: var(--nav-font_6);
  font-size: clamp(1.5rem, 0.075rem + 5.2vw, 3rem);
  font-weight: 500;
}
/*-----------------------------------*/
/*         END OF BANNER            */
/*---------------------------------*/

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



  /*----------------------------------------*/
 /*               NAVBAR                   */
/*----------------------------------------*/
nav {
  padding: 10px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
span {
  color: #57bb8a;
  font-family: var(--nav-main-font);
  font-weight: 600;
}
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 {
  margin-top: 10px;
  padding: 10px 0;
  background-color: #348e62ca;
  margin-bottom: -5px;
  margin-top: -5px;
}
.footer ul {
  margin-top: 0px;
  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        */
/*--------------------------*/

  /*--------------------------*/
 /*     Contact Forms        */
/*--------------------------*/
.contact {
  max-width: 1100px;
  width: 100%;
  background: #ffffff;
  border-radius: 6px;
  padding: 20px 60px 30px 40px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  margin: 0 auto;
  margin-bottom: 10px;
}
.contact .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.contact .content .left-side {
  width: 30%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 15px;

}
.content .left-side::before {
  content: "";
  position: absolute;
  height: 70%;
  width: 2px;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  background: #afafb6;
}
.content .left-side .details {
  margin: 14px;
  text-align: center;
}
.content .left-side .details i {
  font-size: 25px;
  color: #57bb8a;
  margin-bottom: 10px;
}
.content .left-side .details .topic {
  font-size: 18px;
  font-weight: 500;
  color: #000000;
}
.content .left-side .details .text-one,
.content .left-side .details .text-two {
  font-size: 14px;
  color: #313134;
}

.contact .content .right-side {
  width: 75%;
  margin-left: 75px;
}
.content .right-side .topic-text {
  font-size: 23px;
  font-weight: 600;
  color: #57bb8a;
}
p {
  color: #000000;
}
label {
  color: #000000;
}
.right-side .input-box {
  height: 55px;
  width: 100%;
  margin: 12px 0;
}
.right-side .input-box input,
.right-side .input-box textarea {
  height: 100%;
  width: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  background: #f0f1f8;
  border-radius: 6px;
  padding: 0 15px;
  resize: none;
}
.right-side .message-box {
  min-height: 110px;
}
.right-side .input-box textarea {
  padding-top: 6px;
}
.right-side .button {
  display: inline-block;
  margin-top: 12px;
}
.right-side .button input[type="submit"] {
  color: #fff;
  font-size: 18px;
  outline: none;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  background: #57bb8a;
  cursor: pointer;
  transition: all 0.3s ease;
}
.button input[type="submit"]:hover {
  background: #57bb8a;
}

@media (max-width: 950px) {
  .contact {
    width: 90%;
    padding: 30px 40px 40px 35px;
  }
  .contact .content .right-side {
    width: 75%;
    margin-left: 55px;
  }
}
@media (max-width: 820px) {
  .contact {
    margin: 40px 0;
    height: 100%;
    margin-left: 20px;
  }
  .contact .content {
    flex-direction: column-reverse;
  }
  .contact .content .left-side {
    width: 100%;
    flex-direction: row;
    margin-top: 40px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .contact .content .left-side::before {
    display: none;
  }
  .contact .content .right-side {
    width: 100%;
    margin-left: 0;
  }
}

  /*---------------------------------------------*/
 /*         START OF MEDIA QUERIES              */
/*---------------------------------------------*/
@media screen
    and (max-device-width: 640px) {
      .container {
        width: 100%;
        height: 20vh;
        padding-top: 10px;
        padding-left: 12%;
        padding-right: 2%;
      }
      
      .position h3 {
        font-family: var(--nav-font_6);
        font-size: 22px;
        word-spacing:normal;
        margin: 0 auto;
        margin: 40px 1px 10px 1px;
        align-items: center;
        text-align: center;
        justify-content: center;
      }
      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;
      }
      img {
        width: 180px;
        height: auto;
      }
      .footer ul li a {
        font-size: 0.8rem;
      }
      .footer .copyright {
        margin-top: 2px;
        font-size: 0.6rem;
      }
      .form-container{
        margin: 40px 0;
        height: 100%;
      }
      .form-container{
        margin: 10 auto;
        margin-left: 20px;
        height: 100%;
        justify-content: center;
      }
      .form-container .content{
        flex-direction: column-reverse;
      }
     .form-container .content .left-side{
       width: 100%;
       flex-direction: row;
       margin-top: 40px;
       justify-content: center;
       flex-wrap: wrap;
     }
     .form-container .content .left-side::before{
       display: none;
     }
     .form-container .content .right-side{
       width: 100%;
       margin-left: 0;
     }
    
    }
@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: 35px;
      }
    }
@media screen
    and (max-device-width: 428px) {
      .content .right-side .topic-text{
        font-size: 16px;
      }
      .right-side .button input[type="submit"]{
        font-size: 14px;
        padding: 6px 8px;
      }
      .content .left-side .details i{
        font-size: 16px;
        color: #57bb8a;
        margin-bottom: 8px;
      }
      .content .left-side .details .topic{
        font-size: 15px;
      }
      .content .left-side .details .text-one,
      .content .left-side .details .text-two{
        font-size: 12px;
      }
      .content .right-side .topic-text{
        font-size: 18px;
        font-weight: 600;
        color: #57bb8a;
      }
      .right-side .input-box input,
      .right-side .input-box textarea{
        font-size: 14px;
      }
    }
@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                */
/*---------------------------------------------*/
