
:root {
    --background-color: #f4f9e3;
    --nav-background-color: #f4f9e3;
    --about-font-color: white;
    --about-border-color: black;
    --default-font-color: #4d2600;
    --main-font-color: #4a5b17;
    --button-hover-color: #323d0f;
    --nav-hover-color: #748f24;
    --darker-font-color: #331a00;
    --contactus-font-color: white;
    --contactus-border-color: black;
    --contactus-mobile-font-color: white;
    --contactus-hover-color: #748f24;
}

html {
  font-size: 18px;
}

body {
  background-color: var(--background-color);
  color: var(--default-font-color);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

p {
  line-height: 1.9;
}

a {
  transition: all 0.3s ease;
}

a:hover,
a:focus {
  text-decoration: none;
}

a:focus {
  outline: none;
}

.tm-section-pad-top {
  padding-top: 135px;
}
.tm-section-pad-small {
  padding-top: 50px;
}

.tm-text-primary {
  color: var(--main-font-color);
}

.tm-font-big {
  font-size: 1.25rem;
}

/* ------------------- Container defined in header.php -------------------  */
@media (min-width: 1200px) {
  .container {
    max-width: 1275px;
  }
  .tm-container-gallery {
    max-width: 1290px;
  }
  .tm-container-contact {
    max-width: 1063px;
  }
}

@media (max-width: 480px) {
  .tm-gallery-container {
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
  }

  .slick-dots li {
    margin: 0 8px;
  }

  .tm-gallery-item {
    margin: 0;
  }
}
@media (max-width: 991px) {
  .tm-intro-text-container {
    padding-left: 15px;
    padding-top: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  .tm-intro-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .tm-btn-submit {
    margin-left: 0;
    margin-top: 20px;
  }
}


/* ------------------- BUTTONS -------------------  */
.btn {
  padding: 8px 32px;
}
/* button for show more snakes */
.tm-btn-list {
    width:50%;
    margin: 0 auto;
    color: white;
    background-color: var(--main-font-color);
    padding: 14px 35px;
    border-radius: 30px;
    margin-top: 50px;
}
/* general button */
.tm-btn-primary {
  color: white;
  background-color: var(--main-font-color);
  padding: 14px 35px;
  border-radius: 30px;
}
.tm-btn-primary:hover,
.tm-btn-primary:focus {
  color: white;
  background-color: var(--button-hover-color);
}
/* button for contact me */
.tm-btn-contact {
  width:300px;
  font-size: 0.8rem;
  color: white;
  background-color: var(--main-font-color);
  padding: 5px 25px;
  border-radius: 30px;
}

/*  generally small window (only 992px) */
/*  and Iphone X landscape */
@media (max-width: 992px) ,
only screen
and (min-device-width : 375px)
and (max-device-width : 812px)
and (-webkit-device-pixel-ratio : 3)
and (orientation : landscape) {
    .tm-btn-contact {
        width:75%;
    }
    .tm-intro-text {
        font-size: 1.0rem;
    }
    .tm-btn-list {
        width:80%;
        font-size: 1.0rem;
        margin-top: 70px;
        padding: 14px 25px;
    }
   .tm-btn-primary{
       font-size: 1.0rem;
    }
   
   .tm-contact-item-link i,
   .tm-contact-item-link span {
     color: var(--contactus-font-color) !important;
     transition: none !important;
   }
}

.tm-btn-submit {
  margin-left: 20px;
}
@media (max-width: 420px) {
  .tm-btn-submit {
    display: block;
    margin-left: 0;
    margin-top: 20px;
  }
}


/* ------------------- Navbar -------------------  */

.tm-navbar {
  font-size: 1.1rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: all 0.3s ease;
}

.tm-navbar.scroll {
  background-color: var(--nav-background-color);
  border-bottom: 1px solid #e9ecef;
}

.navbar-brand {
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
}

.navbar-brand:hover,
.tm-navbar.scroll .navbar-brand:hover {
  color: var(--nav-hover-color);
}

.tm-navbar.scroll .navbar-brand {
  color: var(--default-font-color);
}

.nav-item {
  list-style: none;
}

.tm-nav-link {
  color: white;
   text-shadow: 3px 3px 3px black;
}

.tm-navbar.scroll .tm-nav-link {
  color: var(--default-font-color);
   text-shadow: 0px 0px 0px #8f8f8f;
}

.tm-navbar.scroll .tm-nav-link:hover,
.tm-navbar.scroll .tm-nav-link.current,
.tm-nav-link:hover {
  color: var(--nav-hover-color);
}

.navbar-toggler {
  border: 1px solid var(--default-font-color);
  padding-left: 10px;
  padding-right: 10px;
}

.navbar-toggler-icon {
  color: var(--default-font-color);
  padding-top: 6px;
}

.tm-navbar.scroll .navbar-toggler {
  border: 1px solid #8f8f8f;
}

.tm-navbar.scroll .navbar-toggler-icon {
  color: #8f8f8f;
}

@media (min-width: 769px) {
  .tm-intro-text-container {
    padding-left: 65px;
  }
  
  .navbar-expand-md .navbar-nav .nav-link {
    padding-right: 25px;
    padding-left: 25px;
  }
}

/*  Nav bar collapse is hardcoded in bootstratp.min.css to 992.  You need to change there too*/

/*  Small resolution */
@media only screen and (max-width: 992px),
/*  and Iphone X landscape */
only screen
and (min-device-width : 375px)
and (max-device-width : 812px)
and (-webkit-device-pixel-ratio : 3)
and (orientation : landscape)  {
    
  .tm-btn-submit {
    margin-left: 20px;
    margin-top: 0;
  }

  .navbar-nav {
      max-width:200px;
    text-align: right;
  }

  .navbar-collapse {
      background-color: var(--nav-background-color);
      z-index: 1000;
      border-bottom: 1px solid #e9ecef;
  }
  .navbar-collapse {
    color: var(--default-font-color);
  }
  .navbar-collapse:hover {
    color: var(--nav-hover-color);
  }

  .navbar-collapse .nav-link {
      color: var(--default-font-color);
       text-shadow: 0px 0px 0px #8f8f8f;
  }
 .nav-link:hover {
      color: var(--nav-hover-color);
  }

}


/* ------------------- About section -------------------  */

#compare {
  background-image: url(../images/backgrounds/snake.jpg);
  background-repeat: no-repeat;
  height: 200vh;
  min-height: 375px;
  position: relative;
  /*  30% is overwritten in parallax.js
      background-position: 30% <someOffset>px;
   */
}

.tm-hero-text-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: column;
  justify-content: center;
}

.tm-hero-text-container-inner {
  margin-top: -90px;
}
@media (max-height: 480px) {
  .tm-hero-text-container-inner {
    margin-top: -40px;
  }

  .tm-intro-next {
    bottom: 20px;
  }
}

/*  This is the big title (domain name rightnow) */
.tm-hero-title {
  color: var(--nav-background-color);
  font-size: 3.0rem;
  text-shadow: 2px 2px 2px var(--about-border-color);
  text-align: center;
}
/*  generally small window (only 992px) */
@media (max-width: 992px) {
    .tm-hero-title {
        text-align: center;
        font-size: 1.7rem;
    }

}

/*  This is the description in the shadow container */
.tm-hero-subtit {
    color: var(--about-font-color);
    text-shadow: 3px 3px 3px var(--about-border-color);
    text-align: justify;
}
/*  generally small window (only 992px) */
@media (max-width: 992px) {
    .tm-hero-subtit {
        text-align: left;
    }

}

.tm-intro-next {
  position: absolute;
  bottom: 100px;
  left: 0;
  right: 0;
}


/* ------------------- Snake Gallery section -------------------  */
#snakegallery{
    margin:auto;
    border:0px;
    width:100%;
    height:auto;
    position:relative;
    padding: 0px 30px 50px 30px;
}
/*  generally small window (only 992px) */
@media (max-width: 992px) {
    #snakegallery {
        margin:auto;
        border:0px;
        width:100%;
        display: block;
        padding: 0px 30px 25px 30px;
        height:auto;
    }

}


/* Work */

.tm-work-description {
  max-width: 650px;
  width: 100%;
  font-size: 0.9rem;
}

.tm-gallery-container {
  padding-top: 70px;
  padding-bottom: 120px;
}

.tm-gallery-item {
  margin: 0 15px;
}



/* ------------------- Contact Us section -------------------  */

#contact {
  color: var(--contactus-font-color);
  background-image: url(../images/backgrounds/snake3.jpg);
  background-position: center bottom;
  background-repeat: repeat;
  min-height: 850px;
  position: relative;
  padding-bottom: 50px;
  padding-top: 160px;
  text-shadow: 2px 2px 2px var(--contactus-border-color);
}
/*  generally small window (only 992px) */
@media (max-width: 992px) {
  #contact {
      color: var(--contactus-mobile-font-color);
   
  }
}

.tm-contact-item {
  margin-bottom: 75px;
}

.tm-contact-item-link {
  display: flex;
  align-items: center;
}

.tm-contact-item-link i,
.tm-contact-item-link span {
  color: white;
  transition: all 0.3s ease;
}

.tm-contact-item-link:hover i,
.tm-contact-item-link:hover span {
  color: var(--contactus-hover-color);
}
/*  Big line under Contact Us */
.tm-underline {
  border-top: 2px solid white;
  height: 8px;
  width: 100%;
}
.tm-underline-inner {
  width: 25%;
  height: 8px;
  background: white;
}



/* ------------------- Footer section -------------------  */
.tm-footer {
  position: absolute;
  bottom: 35px;
  left: 0;
  right: 0;
  padding: 0 15px;
}

.tm-footer-link {
  color: white;
}

.tm-footer-link:hover,
.tm-footer-link:focus {
  color: var(--main-font-color);
  text-decoration: none;
}







