@import url('https://fonts.googleapis.com/css2?family=Yesteryear&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Allura&display=swap');

*,
*::before,
*::after{
    box-sizing: none;
}


body{
font-family: 'Sarabun', sans-serif;
margin:5px;
padding:0px;
margin-top:0px;
background-color: black;
}

.logo{
	position: absolute;
	display: inline-block;
	margin: -15px 10px;
	width: 110px;
	height: auto;
	align-items: center;
}


nav{
    height: 8vh;
           
}

.nav-links{
    display: flex;
    list-style: none;
    width:50%;
    height: 100%;
    justify-content: space-around;
    align-items: center;
    margin-left: auto;
    z-index: 1000;
}

.nav-links li a{
    color: white;
    text-decoration: none;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid   white;
    transition: all 0.5s ease-in-out;
    position: relative;
    padding: 10px;
    border-radius: 5px;
}

.nav-links li a:hover{
    border: 1px solid  #15f4ee;
    background-color: #15f4ee;
    color: black;
    box-shadow: 0px 0px 10px 1px #15f4ee inset, 0px 0px 20px 1px #15f4ee,
                0px 0px 10px 1px #15f4ee inset, 0px 0px 20px 1px #15f4ee;
    text-shadow: 0px 0px 1px black, 0px 0px 1px black;
    
}


@media screen and (max-width: 768px){
    .line{
        width: 30px;
        height: 3px;
        background: white;
        margin: 5px;
        
    }
    nav {
        position: relative;
    }

    .hamburger {
        position: fixed;
        cursor: pointer;
        right: 2%;
        top: 5%;
        transform: translate(-5%, -50%);
        z-index: 1000;
    }

    .nav-links{
        position: fixed;
        background: black;
        height: 100vh;
        width: 100%;
        flex-direction: column;
        clip-path: circle(100px at 90% -15%);
        -webkit-clip-path:circle(100px at 90% -15%);
        transition: all 1s ease-out;
        pointer-events:none;
        margin-top: 0px;
    }

    .nav-links.open{
        clip-path: circle(1000px at 90% -15%);
        -webkit-clip-path:circle(1000px at 90% -15%);
        pointer-events: all;
        z-index: 10;
    }

    .nav-links li {
        opacity: 0;
    }

    .nav-links li a {
        font-size: 25px;
    }

    .nav-links li:nth-child(1){
        transition: all 0.5s ease 0.2s
    }
    .nav-links li:nth-child(2){
        transition: all 0.5s ease 0.4s
    }
    .nav-links li:nth-child(3){
        transition: all 0.5s ease 0.6s
    }
    .nav-links li:nth-child(4){
        transition: all 0.5s ease 0.8s
    }
    li.fade{
        opacity: 1;
    }
    
}


.content{
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;    
}

.content h1{
    display: flex;
    font-family: 'Ubuntu', sans-serif;
    font-size: 3em;
    height: 100vh;
    z-index: 2;
    align-items: center;
    justify-content: center;

}

svg text {
    stroke: antiquewhite;
    fill: antiquewhite;
    font-family: 'Allura', cursive;
    font-size: 100px;
    font-weight: 600;
    stroke-width: 3;
    stroke-dasharray: 1800;
    opacity: 10;
    animation: animate 3s cubic-bezier(0,0.23,1,.1);
        
 }
 
 @keyframes animate{
     0%{
         opacity: 0;
         fill: none;
         stroke-dashoffset: 1800;
     }
     30%{
         opacity: 10;
         fill: none;
         stroke-dashoffset: 1800;
     }
     90%{
         fill: rgba(255,255,255,0);
     }
     100%{
         opacity: 10;
         fill: rgba(255,255,255,1);
         stroke-dashoffset: 0;
     }
 }


.about{
    height: 300vh;
    display: flex;
    color: white;
    z-index: 1;
}

.about-title {
    padding: 10px;
    width:50%;
    height:100vh;
    display: flex;
    align-items: top;
    justify-content: center;
    background:black;
    margin: 0!important;
       
}

.about-title h2{
    font-size: 1.125rem;
    color: white;
    max-width: 60ch;
}

.about-pages{
    width: 50%;
}

.about-pages div{
    height: 100vh;
    display: flex;
    /*position: relative;*/
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    color: white;
}

.about-pages div> p1, p2, p3{
    width: auto;
    font-size: 18px;
    font-family: 'Sarabun', sans-serif;
    line-height: 30px;
    color:white;
    text-align: center;
    padding: 5em;
    
}

p1{
background-color:rgba(3, 59, 87, 0.9);
}

p2{
background-color:rgba(128, 3, 38, 0.7);
}

p3{
background-color:rgba(227, 89, 9, 0.9);
}

.about-pages div:nth-child(1){
    background-color: steelblue;
    background-image: url(images/montege.jpg);
   background-position: center center;
    background-size: cover;
   background-blend-mode: overlay;
   font-family: 'Ubuntu', sans-serif;
    color:white;
    font-size: 30px;
    border-radius: 5px;
      
}
.about-pages div:nth-child(2){
    background-image: url(images/image2.jpg), linear-gradient(steelblue, firebrick);
    background-position: center center;
    background-size: cover;
    background-blend-mode: overlay;
    font-family: 'Ubuntu', sans-serif;
    color:white;
    font-size: 30px;
    border-radius: 5px;     
}

.about-pages div:nth-child(3){
    background-color: rgb(227, 89, 9,);
    background-image: url(images/montege2.jpg);
    background-position: center center;
    background-size: cover;
    background-blend-mode: lighten;
    font-family: 'Ubuntu', sans-serif;
    color:white;
    font-size: 30px;
    border-radius: 5px;
      
}
 
 
 .fancy-link {
    text-decoration: none;
    color:    rgba(31,88,112,1);
    position: relative;
    
    z-index: 1;
  }
  
  

.footermain{
    background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(31,88,112,1) 69%);
    font-family: 'Ubuntu', sans-serif;
          
}
.testimonials{
  padding: 2rem;
  position: relative;
  background-blend-mode: multiply;
  color: antiquewhite;
  text-align: center;
}

.container{
    display: flex;
    justify-content: space-between;
    font-family:'Sarabun', sans-serif;
    text-align: center;
    margin-top: 0px;
    flex-wrap: wrap;
}

.contentBx {
position: relative;
border-radius: 5px;
padding: 2rem;
width: 40%;
background-color: rgba(31,88,112,1);
background-size: cover;
background-blend-mode: multiply;
justify-content: center;
align-items: center;
color:white;
text-align: left;
}

.contentBx_title{
position: relative;
color:antiquewhite;
/*font-style: italic;*/
max-width: 60ch;
z-index: 1;
display: inline-block;
margin-bottom: 1rem;
}

.contentBx_title::after{
content: "";
position: absolute;
top: -0.25rem;
left: -2rem;
bottom:-0.25rem;
width:calc(100% + 4rem);
background: #ee6352;
z-index: -1;
transform: scaleX(0.035);
transform-origin: left;
transition: transform 350ms ease-in;
}

.contentBx:hover .contentBx_title::after{
transform: scaleX(1);

}
.contentBx_body{
position: relative;
width: 100%;
text-align: end;
font-weight: 700;
color:transparent;
margin: 0;
z-index: 1;
transition: color 150ms 350ms;
}


.contentBx_body::after{
    content: "";
    position: absolute;
    top:-0.75rem;
    bottom:-0.75rem;
    left:-0.75rem;
    right:-2rem;
    background: white;
    z-index: -1;
    transform: scaleY(0);
    transition: transform 350ms ease-in 350ms;
    transform-origin: top;
}

.contentBx:hover .contentBx_body{
    color: rgba(31,88,112,1);
}

.contentBx:hover .contentBx_body::after{
transform: scaleY(1);
}

.contact{
    max-width: 60;
    padding: 100px;
    background: transparent;
    text-align: center;
    color: #fff;
}

.touchBx{
    width: 100%;
    background-color:transparent;
}

.form .inputBx{
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top:0px;
    margin-bottom: 10px;
}


.form .inputBx input{
    width:50%;
    background: transparent;
    box-shadow: none;
    border:none;
    outline:none;
    padding: 20px 0;
    font-size: 1.125rem;
    font-weight: 400;
    color:#fff;
    border-bottom: 2px solid #fff;
}

.form .inputBx input::placeholder{
    color: #fff;
}

.form .inputBx textarea{
    width:50%;
    background: transparent;
    box-shadow: none;
    border:none;
    outline:none;
    padding: 10px 0;
    font-size: 18px;
    font-weight: 300;
    color:#fff;
    min-height: 150px;
    border-bottom: 2px solid #fff;
}

.form .inputBx textarea::placeholder{
    color: #fff;
}

.form .inputBx input[type="submit"]{
    width:100px;
    color: white;
    text-decoration: none;
    font-weight: 14px;
    text-transform: uppercase;
    border: 1px solid   white;
    transition: all 0.5s ease-in-out;
    position: relative;
    padding: 7px;
    border-radius: 5px;
}

.form .inputBx input[type="submit"]:hover{
    cursor: pointer;
    border: 1px solid  #15f4ee;
    background-color: #15f4ee;
    color: black;
    box-shadow: 0px 0px 10px 1px #15f4ee inset, 0px 0px 20px 1px #15f4ee,
                0px 0px 10px 1px #15f4ee inset, 0px 0px 20px 1px #15f4ee;
    text-shadow: 0px 0px 1px black, 0px 0px 1px black;
}

.footer{
    margin-top:-10px;
    padding:20px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer ul{
    display:flex;
    justify-content: center;
    align-items: center;
}

.footer ul li{
    list-style: none;
}

.footer ul li a{
    text-decoration: none;
    display:inline-block;
    margin: 0 10px;
}
.icons {
margin-top: 2px;
display:flex;
align-items: center;
}

.icons::before {
    display: inline-block;
    color: rgba(255, 255, 255, 0.75);
    font-style: normal;
    font-variant: normal;
    font-size: 2em;
    margin-right: 0.5rem;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

  .fa-solid fa-phone::before {
    font-family: "Font Awesome 5 Brands"; font-weight: 400; content: "\f09a";
  }

  .fa-regular fa-light fa-envelope::before {
    font-family: "Font Awesome 5 Brands"; font-weight: 400; content: "\f099";
  }

.text2 {
margin-top: 20px;
font-size: 1.05em;
align-items: center;
color: white;
}

@media only screen and (max-width: 600px){ /*screen and (max-height:400px)*/
    
    .content h1{
        display: flex;
        font-size: 3em;
        z-index: 2;
    }
    
    content {
        height: 35vh;
    } 

    svg text {
        font-size: 200px;
    }

    
    .about{
        flex-direction: column;
    }
    
    .about-title {
        padding:10px;
        text-align: center;
        width: 100%;
        height: auto;
        /*margin: 0!important;*/
    }


    .about-pages{
        width: 100%;
        text-align: center;
        height: auto;
        /*height: auto;*/
    }

    .about-pages div> p1, p2, p3{
    padding: 10px;
    }

    .testimonials h2{
        margin-top: 130px;
        padding: 40px;
        text-align: center;
    }
    .container {
        padding: 5px;
        /*margin-bottom: 5px;*/

    }
    .contentBx {
        margin-top:10px;
        width: 100%;
    }

    .contact{
        margin-top: 0px;
        padding: 10px;
    }

    form .inputBx input[type="submit"]{
        width:100px;
    }

    .footer{
        flex-direction: column;
        text-align: center;
        min-height: 25vh;
        height: auto;
    }

    .footer h2{
    margin-top: 10px;
    justify-content: bottom;
    font-size: 2rem;
    text-align: center;
    }

    .icons{
        font-size:0.7rem;
    }
    
    .text2{
        font-size:0.8rem;
        text-align: center;
    }



    
    
    
}
