@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;1,300;1,400;1,500&display=swap');

@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@700&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,900&family=Montserrat:wght@300;600;900&family=Oswald&family=Paytone+One&family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,600;1,200&family=Shadows+Into+Light&display=swap");

/* Icon set - http://ionicons.com/ */
@import url(https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);
@import url(https://fonts.googleapis.com/css?family=Raleway:400,800);


*,
*::before,
*::after {
    box-sizing: border-box;
    
}

html {
    font-size: 18px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'Kanit', sans-serif;
    background-color: #e9e6e6;
}

nav{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 60px;
  background: #c3c7ce;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  z-index: 99;
}
nav .navbar{
  height: 100%;
  max-width: 1250px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  /* background: red; */
  padding: 0 50px;
}
.navbar .logo a{
  font-size: 30px;
  color: #777;
  text-decoration: none;
  font-weight: 600;
}
.navbar .logo img{
 height: 70px;
 margin-top: 5px;
}
nav .navbar .nav-links{
  line-height: 70px;
  height: 100%;
}
nav .navbar .links{
  display: flex;
}
nav .navbar .links li{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  padding: 0 14px;
}
nav .navbar .links li a{
  height: 100%;
  text-decoration: none;
  white-space: nowrap;
  color: #777;
  font-size: 20px;
  margin-bottom: 1rem;
  font-weight: 500;
}
nav .navbar .links li a:hover{
  color: #313030;
}
.links li:hover .htmlcss-arrow,
.links li:hover .js-arrow{
  transform: rotate(180deg);
  }
nav .navbar .links li .arrow{
  /* background: red; */
  height: 100%;
  width: 22px;
  line-height: 70px;
  text-align: center;
  margin-bottom: 1rem;
  display: inline-block;
  color: #777;
  transition: all 0.3s ease;
}
nav .navbar .links li .sub-menu{
  position: absolute;
  top: 70px;
  left: -100%;
  line-height: 40px;
  background: #c3c7ce;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  border-radius: 0 0 4px 4px;
  display: none;
  z-index: 2;
}
nav .navbar .links li:hover .htmlCss-sub-menu,
nav .navbar .links li:hover .js-sub-menu{
  display: block;
}
.navbar .links li .sub-menu li{
  padding: 0 22px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.navbar .links li .sub-menu a{
  color: #777;
  font-size: 15px;
  margin-bottom: 0;
  font-weight: 500;
  margin-left: -40px;
}
.navbar .links li .sub-menu .more-arrow{
  line-height: 40px;
}
.navbar .links li .htmlCss-more-sub-menu{
  /* line-height: 40px; */
}
.navbar .links li .sub-menu .more-sub-menu{
  position: absolute;
  top: 0;
  left: 100%;
  border-radius: 0 4px 4px 4px;
  z-index: 1;
  display: none;
}
.links li .sub-menu .more:hover .more-sub-menu{
  display: block;
}

.navbar .nav-links .sidebar-logo{
  display: none;
}
.navbar .bx-menu{
  display: none;
}
@media (max-width:920px) {
  nav .navbar{
    max-width: 100%;
    padding: 0 25px;
  }
  nav .navbar .logo a{
    font-size: 27px;
  }
  nav .navbar .links li{
    padding: 0 10px;
    white-space: nowrap;
  }
  nav .navbar .links li a{
    font-size: 15px;
  }
  nav .navbar .links li .sub-menu{
    position: absolute;
    top: 50px;
    left: -300%;
    line-height: 30px;
    background: #c3c7ce;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 4px 4px;
    display: none;
    z-index: 2;
  }
  .navbar .links li .sub-menu a{
    color: #777;
    font-size: 12px;
    margin-bottom: 0;
    font-weight: 500;
    margin-left: -40px;
  }
}
@media (max-width:800px){

  nav .navbar{
    max-width: 100%;
    padding: 0 17px;
  }
  nav .navbar .logo a{
    font-size: 27px;
  }
  nav .navbar .links li{
    padding: 0 2px;
    white-space: nowrap;
  }
  nav .navbar .links li a{
    font-size: 12px;
  }
  .navbar .logo img{
    height: 50px;
    margin-top: 5px;
   }
}



  @media screen and (min-width: 380px)and (max-width:430px) {
  html{
    font-size: 12px;
  }
  nav .navbar{
    max-width: 100%;
    padding: 0 2px;
  }
  nav .navbar .logo a{
    font-size: 27px;
 
  }
  nav .navbar .links li{
    padding: 0 2px;
    white-space: nowrap;
    
  }
  nav .navbar .links li a{
    font-size: 12px;
  
  }
  .navbar .logo img{
    height: 40px;
    margin-top: 1px;
   }
  
}
@media screen and (min-width: 300px)and (max-width:380px) {
  html{
    font-size: 8px;
  }
  nav .navbar{
    max-width: 100%;
    padding: 0 1px;
  
    display: flex;
  
  }
  nav .navbar .logo a{
    font-size: 27px;
  }
  nav .navbar .links li{
    padding: 0 1px;
    white-space: nowrap;
  }
  nav .navbar .links li a{
    font-size: 10px;
  }

  .navbar .logo img{
    height: 30px;
    margin-top: 1px;
   }
   nav .navbar .links li{
    position: relative;
    align-items: left;
    justify-content: space-between;
    list-style: none;
    padding: 0 3px;
  }
  
}
@media (max-width:370px){
  nav .navbar .nav-links{
  max-width: 100%;
} 
}


.image-container img {
  width: 100%;
  max-height: 600px;
}

.content {
  padding: 18px 24px;
  text-align: left;
}

.content p {
  margin-top: 10px;
  letter-spacing: 0.08em;
  line-height: 1.6em;
}

#abc .planery{
  
    max-width: 1000px;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    font-size: 40px;
    font-weight: bold;
    color: white;
    margin-left: 5rem;
}
.planery{
    position: absolute;
}


#abc{
    
    height: 100%;
    background-image:radial-gradient(#5f58587f, #26242450), url(images/final.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width:100%;
    height:100vh;
   
  
  }
  
 


  #abc h1{
    color: white;
    text-align: center;
    font-size: 50px;
    margin-top: 7rem;
  }
  #abc p{
    color: white;
    text-align: center;
    font-size: 20px;

  }
  #abc .button{
margin-left: 40%;
margin-right: 40%;
background-color: #12034c;
  }
  .button {
    background-color: #12034c;
    border-radius: 15px;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    cursor: pointer;
  }
  .button:hover {
    
        letter-spacing: .2rem;
       
}

  /*******banner********/


  .discover{
    margin-left: 5rem;
    margin-right: 5rem;
    text-align: justify;
  }
  .discover h2{
    font-weight: normal;
    text-align: center;
  }
  .discover h1{
    font-weight: lighter;
    text-align: center;
  }
  .discover p{
    font-size: 17px;
    text-align: center;
  }


  /******tips*******/
.tips{
  margin-right: 2rem;
  margin-left: 1rem;

}
.tips ul li{
  display: inline-block;
  padding: 2rem;
}
.tips h1{
  text-align: center;
}

.card__heading h3{
  color: #fff;
}
  .cards {
    
     
    background-color: #12034c;
    min-height : 500px;
  }
 .cards h1{
  text-align: center;
  color: white;
  margin-top: 1rem;
  margin-bottom: 3rem;
  font-size: 35px;
  font-weight: normal;
 }

  .card h3{
    color: black;
  }
  .cards .container {
    position : ;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width : 800px;
    align-items : center;
    padding : 10px;  
  }
  
  .container .card {
   
    max-width : 200px;
    height : 150px;  
    background-color : #fff;
    margin : 30px 10px;
    padding : 20px 10px;
    margin-right: 5rem;
    display : flex;
    flex-direction : column;
    box-shadow : 0 5px 20px rgba(0,0,0,0.5);
    transition : 0.3s ease-in-out;
    border-radius : 15px;
  }
  .container .card:hover {
    height : 200px;    
  }
  
  
  .container .card .image {
    position : relative;
    width : 260px;
    height : 250px;
    
    top : -40%;
    left: 8px;
    box-shadow : 0 5px 20px rgba(0,0,0,0.2);
    z-index : 1;
  }
  
  .container .card .image img {
    max-width : 100%;
    border-radius : 15px;
  }
  .hero-section h1{
    color: black;
  }
  
  .container .card .content {
    position : relative;
    top : -80px;
    padding : 6px 12px;
    color : #fff;
    text-align : center;
    
    visibility : hidden;
    opacity : 0;
    transition : 0.3s ease-in-out;
      
  }
  
  .container .card:hover .content {
     margin-top : 10px;
     height: 20px;
     visibility : visible;
     opacity : 1;
     transition-delay: 0.2s;
    
  }

  /******tips********/
h1{
  text-align: center;
}
  .hero-section{
    align-items: flex-start;
    background-image: linear-gradient(15deg, #0f4667 0%, #2a6973 150%);
    background-color: #12034c;
    display: flex;
    max-height: 100%;
    justify-content: center;
    padding: var(--spacing-xxl) var(--spacing-l);
  
  }
  
  .card-grid{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-column-gap: var(--spacing-l);
    grid-row-gap: var(--spacing-l);
    max-width: var(--width-container);
    width: 70%;
    
  }
  
  @media(min-width: 540px){
    .card-grid{
      grid-template-columns: repeat(2, 1fr); 
    }
  }
  
  @media(min-width: 960px){
    .card-grid{
      grid-template-columns: repeat(4, 1fr); 
    }
  }
  
  .grid{
    list-style: none;
    position: relative;
    margin-left: 1rem;
    margin-right: 1rem
  }
  .hero-section p{
    color: white;
    font-size: 20px;
  }
  .grid:before{
    content: '';
    display: block;
    padding-bottom: 150%;
    width: 100%;
  }
  
  .card__background{
    background-size: cover;
    background-position: center;
    border-radius: var(--spacing-l);
    bottom: 0;
    
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transform-origin: center;
    trsnsform: scale(1) translateZ(0);
    transition: 
      filter 200ms linear,
      transform 200ms linear;
  }
  
  .grid:hover .card__background{
    transform: scale(1.05) translateZ(0);
  }
  
  .card-grid:hover > .card:not(:hover) .card__background{
    filter: brightness(0.5) saturate(0) contrast(1.2) blur(20px);
  }
  
  .card__content{
    left: 0;
    padding: var(--spacing-l);
    position: absolute;
    top: 0;
  }
  
  .card__category{
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-s);
    text-transform: uppercase;
  }
  
  .card__heading{
    color: var(--text-lighter);
    font-size: 1.9rem;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.2);
    line-height: 1.4;
    word-spacing: 100vw;
  }

  /******unique*******/
 
  /* Footer ====================================*/
  footer{
    background: #c3c7ce;
    background: #c3c7ce;
    background-color: ;
    padding-top: 1rem;
    font-size: 13px;
    
    color: #777;
  }
  .footer-container{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-left: 0rem;
    margin-right: 0;
    
  }
  .footer-container > div h4{
  margin-bottom: 1.2rem;
  color: #777;
  
  }
  .footer a{
    text-decoration: none;
  }
  .footer-2 a{
    text-decoration: none;
    list-style: none;
  }
  .footer-1 p{
  list-style: none;
    color: #777;
  }
  footer ul li{
   list-style: none;
    color: #777;
    list-style: none;
  }
  footer ul li a{
    color: #777;
    list-style: none;
  }
  footer ul li a:hover{
    text-decoration: underline;
  }
  .footer a{
    color: #777;
  }
  .footer-2 a{
    font-size: 13px;
  }
  .footer ul li a{
    font-size: 13px;
    line-height: 1;
    list-style: none;
    text-decoration: none;
  }
  .footer-socials{
    display: flex;
   
    font-size: 13px;
    margin-top: 2rem;
  }
  .footer-copyright{
    text-align: center;
    margin-top: 1rem;
    font-size: 25px;
    padding: 1.2rem;
    border-top: 1px solid var(--color-bg2);
  }
  .footer-4{
  margin-right: 0rem;
  }
  @media screen and (max-width:800px) {
    
    .footer-container{
      grid-template-columns: repeat(2, 1fr);
      text-align: center;
      gap: 2rem;
      margin-left: 2rem;
      margin-right: 2rem;
  }
  .footer-1 p{
      margin: 1rem auto;
  }
  }
  
  @media screen and (min-width: 200px)and (max-width:500px) {
    html{
      font-size: 12px;
    }
   
    .footer-container{
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .footer-1 p{
        margin: 1rem auto;
    }
  }
  

 
  

  @media (max-width:1200px){
    .container .card {
       
      max-width : 180px;
      height : 150px;  
      background-color : #fff;
      margin : 15px 10px;
      padding : 20px 10px;
      margin-right: 2rem;
    }
     
    .container .card .image {
      position : relative;
      width : 180px;
      height : 250px;
      
      top : -40%;
      left: 8px;
      box-shadow : 0 5px 20px rgba(0,0,0,0.2);
      z-index : 1;
    }
    
    .container .card .content {
      position : relative;
      top : -70px;
      padding : 2px 8px;
      color : #fff;
      text-align : center;
      
      visibility : hidden;
      opacity : 0;
      transition : 0.3s ease-in-out;
        
    }
    
    .container .card:hover .content {
       margin-top : 5px;
       height: 6px;
       visibility : visible;
       opacity : 1;
       transition-delay: 0.2s;
      
    }
    .container .card:hover .content {
      margin-top : 10px;
      height: 20px;
      visibility : visible;
      opacity : 1;
      transition-delay: 0.2s;
     
    }
    
    }


  @media (max-width:900px){

  .cards .container {
    position : ;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width : 700px;
    align-items : center;
    padding : 10px;  
  }
  .container .card {
   
    max-width : 250px;
    height : 150px;  
    background-color : #fff;
    margin : 15px 4px;
    padding : 20px 5px;
    
  }
   
  .container .card .image {
    position : relative;
    width : 250px;
    height : 250px;
    
    top : -40%;
    left: 8px;
    box-shadow : 0 5px 20px rgba(0,0,0,0.2);
    z-index : 1;
  }
  
  .container .card .content {
    position : relative;
    top : -70px;
    padding : 2px 8px;
    color : #fff;
    text-align : center;
    
    visibility : hidden;
    opacity : 0;
    transition : 0.3s ease-in-out;
      
  }
  
  .container .card:hover .content {
     margin-top : 5px;
     height: 6px;
     visibility : visible;
     opacity : 1;
     transition-delay: 0.2s;
    
  }
  .container .card:hover .content {
    margin-top : 10px;
    height: 20px;
    visibility : visible;
    opacity : 1;
    transition-delay: 0.2s;
   
  }
  
}


@media (max-width:710px){
  html{
    font-size: 12px;
    overflow-x: hidden;
  }
  #abc h1{
    color: white;
    text-align: center;
    font-size: 40px;
    margin-top: 7rem;
  }
  #abc p{
    color: white;
    text-align: center;
    font-size: 20px;
    margin-left: 15%;
    margin-right: 15%;

  }
  #abc .button{
    margin-left: 35%;
    margin-right: 30%;
}
#abc .planery{

  margin-left: 1rem;
}


  .cards .container {
    width : 600px;
  }
}


@media (max-width:640px){
  html{
    font-size: 12px;
    overflow-x: hidden;
  }
  #abc h1{
    color: white;
    text-align: center;
    font-size: 40px;
    margin-top: 7rem;
  }
  #abc p{
    color: white;
    text-align: center;
    font-size: 20px;
    margin-left: 15%;
    margin-right: 15%;

  }
  #abc .button{
    margin-left: 35%;
    margin-right: 30%;
}
#abc .planery{

  margin-left: 1rem;
}

  .container .card {
       
    max-width : 150px;
    height : 100px;  
    background-color : #fff;
    margin : 15px 10px;
    padding : 20px 10px;
    margin-right: 2rem;
  }
   
  .container .card .image {
    position : relative;
    width : 150px;
    height : 150px;
    
    top : -40%;
    left: 8px;
    box-shadow : 0 5px 20px rgba(0,0,0,0.2);
    z-index : 1;
  }
  
  .container .card .content {
    position : relative;
    top : -70px;
    padding : 2px 8px;
    color : #fff;
    text-align : center;
    
    visibility : hidden;
    opacity : 0;
    transition : 0.3s ease-in-out;
      
  }
  
  .container .card:hover .content {
     margin-top : 5px;
     height: 6px;
     visibility : visible;
     opacity : 1;
     transition-delay: 0.2s;
    
  }
  .container .card:hover .content {
    margin-top : 10px;
    height: 20px;
    visibility : visible;
    opacity : 1;
    transition-delay: 0.2s;
   
  }
  
  .cards .container {
    width : 550px;
  }
}

@media (max-width:540px){
  .container .card {
       
    max-width : 150px;
    height : 100px;  
    background-color : #fff;
    margin : 15px 10px;
    padding : 20px 10px;
    margin-right: 2rem;
  }
   
  .container .card .image {
    position : relative;
    width : 150px;
    height : 150px;
    
    top : -40%;
    left: 8px;
    box-shadow : 0 5px 20px rgba(0,0,0,0.2);
    z-index : 1;
  }
  
  .container .card .content {
    position : relative;
    top : -70px;
    padding : 2px 8px;
    color : #fff;
    text-align : center;
    
    visibility : hidden;
    opacity : 0;
    transition : 0.3s ease-in-out;
      
  }
  
  .container .card:hover .content {
     margin-top : 5px;
     height: 6px;
     visibility : visible;
     opacity : 1;
     transition-delay: 0.2s;
    
  }
  .container .card:hover .content {
    margin-top : 10px;
    height: 20px;
    visibility : visible;
    opacity : 1;
    transition-delay: 0.2s;
   
  }
  .cards .container {
    width : 500px;
  }
}
@media (max-width:500px){
  .cards .container {
    width : 400px;
  }
}
@media (max-width:400px){
  .cards .container {
    width : 300px;
  }
  .cards .container {
    grid-template-columns: 1fr;
  }
  .container .card {
       
    max-width : 150px;
    height : 100px;  
    background-color : #fff;
    margin : 15px 10px;
    padding : 20px 10px;
    margin-right: 2rem;
    margin-left: 6rem;
  }
   
  .container .card .image {
    position : relative;
    width : 150px;
    height : 150px;
    
    top : -40%;
    left: 8px;
    box-shadow : 0 5px 20px rgba(0,0,0,0.2);
    z-index : 1;
  }
  
  .container .card .content {
    position : relative;
    top : -70px;
    padding : 2px 8px;
    color : #fff;
    text-align : center;
    
    visibility : hidden;
    opacity : 0;
    transition : 0.3s ease-in-out;
      
  }
  
  .container .card:hover .content {
     margin-top : 5px;
     height: 6px;
     visibility : visible;
     opacity : 1;
     transition-delay: 0.2s;
    
  }
  .container .card:hover .content {
    margin-top : 10px;
    height: 20px;
    visibility : visible;
    opacity : 1;
    transition-delay: 0.2s;
   
  }
  .tips{
    margin-right: 5rem;
    margin-left: 5rem;
  
  }
}

@media (max-width:300px){
  .cards .container {
    width : 200px;
  }
  .container .card {
       
    max-width : 100px;
    height : 100px;  
    background-color : #fff;
    margin : 10px 10px;
    padding : 15px 5px;
    margin-right: 2rem;
  }
   
  .container .card .image {
    position : relative;
    width : 150px;
    height : 150px;
    
    top : -20%;
    left: 8px;
    box-shadow : 0 5px 20px rgba(0,0,0,0.2);
    z-index : 1;
  }
  
  .container .card .content {
    position : relative;
    top : -20px;
    padding : 2px 8px;
    color : #fff;
    text-align : center;
    
    visibility : hidden;
    opacity : 0;
    transition : 0.3s ease-in-out;
      
  }
  
  .container .card:hover .content {
     margin-top : 5px;
     height: 6px;
     visibility : visible;
     opacity : 1;
     transition-delay: 0.2s;
    
  }
  .container .card:hover .content {
    margin-top : 5px;
    height: 5px;
    visibility : visible;
    opacity : 1;
    transition-delay: 0.2s;
   
  }
  .cards .container {
    grid-template-columns: 1fr;
    width : 700px;;
    padding : 10px;  
  }
}
@media (max-width:300px){
  .cards .container {
    width : 150px;
  }
}