@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@200&family=Open+Sans+Condensed:ital,wght@1,300&family=Oswald:wght@200&family=Pattaya&display=swap');

html,body
{
    padding: 0;
    margin: 0;
    color: #285A84;
    background-color: #f2f2f2;
    overflow-x:hidden ;
    
}

header{
height: 50vh;    
background-image: linear-gradient(to right bottom,#5EA669,rgba(8, 85, 59, 0.137)),url('../images/headerImg.png');
background-size: cover;
background-position: top;
position: relative;
display: block;
padding: 20px;
clip-path: polygon(0 0 ,100% 0 ,100% 40vh ,0 100%);
text-align: center;}
#logo
{
  text-align: left;
  width: 40%;
}
 .logo img
{
    width: 8rem;
    font-family: 'Pattaya', sans-serif;
    color: #fff;
    
}

header #navbarContainer li
{
    display: inline-block;
    margin: .0rem .5rem;
    font-size: .9rem;
    /* background-color: #fff;
    padding: .8rem;
    border-radius: 20px;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700; */
    
}
#navbarContainer
{
  display: flex;
}
header #navbarContainer ul
{
  text-align: right;
  width: 60%;
  padding-top: 18px;
}
.para-title
{
    display: block;
    font-size: 4rem;
    font-weight: 1000;
    letter-spacing: 4rem;
    padding-left:100px;
    text-transform: uppercase;
}
.header-para
{
    color:#fff ;
    display: block;
    font-size: 1rem;
    font-weight: 700;
    text-align: justify;
    margin-left:28%;
    font-family: 'Nunito Sans', sans-serif;
    letter-spacing: 2px;
   
    
    
}
.space
{
  padding-left:50px;
    margin-right: 100px;
}
#navbarContainer li a
{
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 15px;
  display: inline-block;
  border-radius: 10rem;
  transition: all .2s;
  position: relative;
  right: 50px;
  font-size: .8rem;
  border: none;
  cursor: pointer;
  background-color: #fff;
  color: #777;
  font-weight: bolder;
  font-family: 'Nunito Sans', sans-serif;
  color: #285A84;
}
#navbarContainer li a:hover
{
  background-color:rgba(40,180,133,0.8) ;
    animation: moveInBottom 0.5s ease-in-out infinite both;
    color: #fff;
    /* padding: 10px 40px; */
}



@keyframes moveInBottom {
    0% {
        box-shadow: 0 0 20px 0px #fff;
                
      }
      50% {
        
        box-shadow: 0 0 10px 0px #fff;
      }
      100% {
        
        box-shadow: 0 0 20px 0px #fff;
      }
    
}
.header-btn button:active
{
    animation: none;
    border: 1px solid #fff;
    /* padding: 10px 15px; */
}
/* ----------------------------------------------------------- */
/* ------------------------------------------------------- */
main {
  margin-bottom: 123px;
}
 

  @import url(http://fonts.googleapis.com/css?family=Concert+One);

#firsthead{
  
  
    width: 100%;
    text-align: center;
    margin-top: 20px;
   color:white;
    margin-top:-30px;
  
  animation:glow 10s ease-in-out infinite;
  
  

/* For less laggy effect, uncomment this:
  
  animation:none;
  -webkit-text-stroke:1px #fff; 
  
=========== */
  
}







figure {
  animation:wobble 5s ease-in-out infinite;
  transform-origin:center center;
  transform-style:preserve-3d;
}

@keyframes wobble {
  0%,100%{ transform:rotate3d(1,1,0,40deg); }
  25%{ transform:rotate3d(-1,1,0,40deg); }
  50%{ transform:rotate3d(-1,-1,0,40deg); }
  75%{ transform:rotate3d(1,-1,0,40deg); }
}



@keyframes glow {
  0%,100%{ text-shadow:0 0 30px red; }
  25%{ text-shadow:0 0 30px orange; }
  50%{ text-shadow:0 0 30px black; }
  75%{ text-shadow:0 0 30px cyan; }
}

/*//------------Form----------- */

/* #form  {
  text-align: center;
  margin: 0 auto;
} */



.name1  {
  text-align: center;
  font-size: larger;
  margin-left: 200px;
  /* color: black; */
  font-weight: 800;
}


.email2  {
  text-align: center;
  font-size: larger;
  margin-left: 200px;
  /* color: black; */
  font-weight: 800;
}

.center1  {
  text-align: center;
  font-size: larger;
  margin-left: 170px;
  /* color: black; */
  font-weight: 800;
}


main form input ::placeholder {
  color: gray;
  padding-left: 20px;
}



  input[type=text], select {
    width: 50%;
    padding: 12px 20px;
    margin: 8px 0;
    display: block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: center;
  }

  input[type=number], select {
    width: 50%;
    padding: 12px 20px;
    margin: 8px 0;
    display: block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: center;
  }

  input[type=email], select {
    width: 50%;
    padding: 12px 20px;
    margin: 8px 0;
    display: block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: center;
  }
#hour
{
  width: 50%;
  padding: 12px 20px;
    margin: 8px 0;
    display: block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: center;
}
  input[type=date], select {
    width: 50%;
    padding: 12px 20px;
    margin: 8px 0;
    display: block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: center;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
  }


  input[type=submit] {
    width: 50%;
    background-color: #04AA6D;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }

  input[type=submit]:hover {
    background-color: #45a049;
  }

 .container {
    border-radius: 5px;
    margin-top:-20px;
    background-color: #f2f2f2;
    
  }

  .h2 {
    border-radius: 5px;
    background-color: #f2f2f2;
    padding-left: 90px;
    text-align: center;
  } 


  
  /* -------------------------------------------- */

 .formBox
 {
   width: 60%;
   height: 40%;
   background-color: rgb(255, 255, 255);
   position: absolute;
   margin:50% 0 0 20%;
   display: none;
  
   padding: 10px;
   border-radius: 20px;
   text-align: center;
   box-shadow: 0 0 8px rgba(0, 0, 0, 0.514);
   
 }
 
 #close
 {
   float: right;
   display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
    cursor: pointer;
 }

 #close:hover
 {
  background-color: #791922;
  border-color: #791922;
 }
 .boxContant span
 {
   font-size: 1.5rem;
   font-weight: bold;
   background-color: rgb(243, 243, 243);
   padding: 10px;
   border-radius: 20px;
   color: black;

 }
 
 .boxContant p
 {
    font-weight: 700;
    margin-top: 20px;
    color: black;

 }

 .boxContant .green
 {
   color: green;
   text-shadow: 0 0 4px  rgb(255, 255, 255);
   text-decoration: underline;
 }

 .info-p
 {
   font-size: 1.2rem;
   font-weight: bold;
 }




 /* ---------------------------------------------------------- table -----------------*/

 
.header {
  background-color: #327a81;
  color: white;
  font-size: 1.5em;
  padding: 1rem;
  text-align: center;
  text-transform: uppercase;
}

img {
  border-radius: 50%;
  /* height: 60px; */
  width: 60px;
}

.table-users {
  border: 1px solid #327a81;
  border-radius: 10px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
  max-width: calc(100% - 2em);
  margin: 1em auto;
  overflow: hidden;
  text-align: left;
  width: 800px;
}
.table-users td
{
  text-align: left;
}
table {
  width: 100%;
}
table td, table th {
  color: #2b686e;
  padding: 10px;
}
table td {
  text-align: center;
  vertical-align: middle;
}
table td:last-child {
  font-size: 0.95em;
  line-height: 1.4;
  text-align: left;
}
table th {
  background-color: #daeff1;
  font-weight: 300;
}
table tr:nth-child(2n) {
  background-color: white;
}
table tr:nth-child(2n+1) {
  background-color: #edf7f8;
}

@media screen and (max-width: 700px) {
  table, tr, td {
    display: block;
  }

  td:first-child {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
  }
  td:not(:first-child) {
    clear: both;
    margin-left: 100px;
    padding: 4px 20px 4px 90px;
    position: relative;
    text-align: left;
  }
  td:not(:first-child):before {
    color: #91ced4;
    content: "";
    display: block;
    left: 0;
    position: absolute;
  }
  td:nth-child(2):before {
    content: "Name:";
  }
  td:nth-child(3):before {
    content: "Email:";
  }
  td:nth-child(4):before {
    content: "Phone:";
  }
  td:nth-child(5):before {
    content: "Comments:";
  }

  tr {
    padding: 10px 0;
    position: relative;
  }
  tr:first-child {
    display: none;
  }
}

.table-users tr:nth-child(2) td
{
  text-align: left;
  box-shadow: 0 0 4px #327a81 inset;
}

.userform
{
  margin-left: 0;
}


.imgTD
{
  background-color: white;
}

.imgTD img
{
  
  
}



/* --------------------------------footer----------------------- */
  
footer
{
    height: 35vh;    
    background-size: cover;
    background-image: linear-gradient(to right bottom,#5EA669,rgba(8, 85, 59, 0.8));
    background-position: top;
    position: relative;
    display: block;
    clip-path:  polygon(0% 50% ,100% 0 ,100% 100% ,0 100%);
    overflow: hidden;
    margin-top: -120px;
    z-index: 80;
   text-align: center;
    color:#4b4c4d;
    
}
.footer-basic #footer-logo
{
    margin-top: 3rem;
    font-size: 30px;
    font-family: 'Pattaya', sans-serif;
    color: #fff;
    
}
.center
{
  text-align: center;
  margin-left: 38rem;
  
}
  
  .footer-basic ul {
    padding:0;
    list-style:none;
    text-align:center;
    font-size:1.2rem;
    line-height:1.6;
    margin-bottom:0;
  }
  
  .footer-basic li {
    padding:0 10px;
    display: inline-block;
  }
  
  .footer-basic ul a {
    color:#fff;
    text-decoration:none;
    opacity:0.8;
    
  }
  .footer-basic li:hover
  {
    transform: scale(1.2);
  }
  .footer-basic ul a:hover {
    opacity:1;
    
  }
  
  .footer-basic .social {
    text-align:center;
    padding-bottom:0px;
    margin-top: -1rem;
    display: flex;
  }
  
  .footer-basic .social  a {
    font-size:24px;
    width:40px;
    height:40px;
    line-height:40px;
    display:inline-block;
    text-align:center;
    border-radius:50%;
    border:1px solid #ccc;
    margin:0 8px;
    color:#fff;
    opacity:0.75;
  }
  
  .footer-basic .social  a:hover {
    opacity:0.9;
    transform: scale(1.4);
  }
  
  .footer-basic .copyright {
   margin-top: -38px;
   text-align:center;
   font-size:13px;
   color:rgb(231, 231, 231);
   margin-bottom:0;
   font-weight: bolder;
   position: absolute;
   margin-left: -60px;

  }
  #footerQuickLink
  {
    
    width: 359px;
    height: 143px;
    float: right;
    margin-right: 9px;
    margin-top: -194px;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    
  }
  #footerQuickLink ul li
  {
    display: block;
  }
  #footerQuickLink a
  {
    font-size: .8rem;
  }
  #footerQuickLink h4
  {
    color: white;
    font-size: 1.2rem;
    margin-bottom: -17px;
    margin-top: 57px;
    
  }



