body {
    /* background-color: #F8F8F8; */
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
    height: 100vh;
}

.back-to-top {
    position: fixed;
    right: clamp(1rem, 4vw, 2rem);
    bottom: clamp(1rem, 4vw, 2rem);
    padding: 0.65rem 1.4rem;
    border: none;
    border-radius: 999px;
    background-color: #2A5649;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:focus-visible {
    outline: 3px solid rgba(42, 86, 73, 0.35);
    outline-offset: 3px;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Dosis", sans-serif;
    /* background-color: #f7f1e8; */
}



.headerPic {
    width: 95%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.foto {
    width: 80%;
    margin: 0 auto;
    margin-top: 2%;
}

/* large screens */
.theme {
    color: #2A5649;
    text-align: left;
    padding: 5px;
    margin-left: 3rem; /* Adjusted margin */
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1.3rem;
}

/* Responsive texts */
.intro {
    text-align: justify;
    font-size: 1.3vw;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    padding: 5px;
    margin-left: 3rem; 
    margin-right: 3rem;
    color: darkslategray;
}

/* Responsive for small screens */
@media screen and (max-width: 768px) {
    .theme, .intro {
        margin-left: 1.5rem; 
        margin-right: 1.5rem;
    }
}

.container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 8%;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
    width: 86%;
    margin-top: .5%;
}

.gallery img {
    width: 100%;
}


.home-icons {
    display: flex;
    width: 7rem;
    justify-content: space-between;
    margin-top: 5px;
    /* margin-right: 1.7rem; */
    /* border: 1px solid red; */
    /* padding-left: 8%; */
}

.home-icons img {
    width: 1.2rem;

}

.box {
    cursor: pointer;
    transition: opacity 0.6s ease;
    border: none;
    padding: 0;
    margin: 0;
    background: transparent;

    filter: brightness(0) saturate(100%) invert(48%) sepia(5%) saturate(1974%) hue-rotate(53deg) brightness(60%) contrast(92%);
   
    
}


.home-icons:hover > :not(:hover) {
    opacity: 0.5;
}

/* .home-icons:not(:hover) {
    opacity: 0.5;
} */

#facebook img {
    width: 1.3rem;
    transform: translate(0, -10%);

}

#instagram  img{
    width: 1.1rem;
    padding-bottom: 1px;
 
}

#twitter img {
    width: 1.1rem;
}

#linkedin img {
    width: 1.1rem;
}

#github img {
    width: 1.1rem;
}

/* #mobile-twitter img{
    width: 1.1rem;
} */




nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    position: static;
    flex-wrap: wrap;

}



.index-logo {
    cursor: default;
    transform: none;
}

#index-logo2 {
    width: clamp(250px, 25vw, 250px);
    height: auto;
    cursor: pointer;
}

#index-logo3 {
    width: clamp(350px, 35vw, 350px);
    height: auto;
    cursor: pointer;
}

#blog-door-logo {
    width: clamp(350px, 35vw, 350px);
    height: auto;
    cursor: pointer;
}

#newsletter-door-logo {
    width: clamp(350px, 35vw, 350px);
    height: auto;
    cursor: pointer;
}
@media (max-width: 768px) {
    .index-logo2 {
        transform: none;
        z-index: auto;
    }
    
    #index-logo {
        width: clamp(100px, 20vw, 180px);
    }
}

@media (min-width: 1920px) {
    #index-logo2 {
        width: clamp(250px, 25vw, 250px);
        height: auto;
    }
}


.logo-container {
    display: flex;
    align-items: center;
    margin-left: 1.5%;
}

.logo {
 
    cursor: pointer;
}

.trade-mark {
    font-weight: lighter;
    font-size: 0.3em;
    vertical-align: super;
    margin-left: 3px;
}

.logoimg{
    border-radius: 50%;
    width: auto;
    height: 5vh;
    margin-right: 10px;
   
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
    flex-grow: 1; 
    margin-right: 1.5%;
    flex-wrap: wrap; 
    z-index: 10;
}

/* .nav-links li {
    margin-left: 2.5rem;
 
  
    
} */



.nav-links li a {
    color: rgb(141, 139, 139);
    text-decoration: none; 
    font-size: .9rem;
    font-family: "Josefin Sans", "Montserrat", sans-serif;
    font-weight: 500;
    position: relative; 
}

.nav-links li a::after{
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #333333;
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease;
}

.nav-links li a:hover {
    color: #333333;
}

.nav-links li a:hover::after{
    width: 100%;
    
}

@media screen and (min-width: 768px) {
    .navbar {
        padding: 1rem 2rem; 
    }

    .nav-links {
        margin-left: auto;
    }

    .nav-links li {
        margin-left: 1.5rem; 
    }
}

@media screen and (min-width: 1024px) {
    .nav-links {
        gap: 3rem; 
    }
}


.hamburger {
    display: none;
    width: 2.4rem;
    height: 1.2rem;
    position: relative;
    cursor: pointer;
    margin-right: 7%;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #4a4a4a;
    border-radius: 2px;
    transition: transform 0.3s ease, background-color 0.3s ease, top 0.3s ease, bottom 0.3s ease;
}

.hamburger span:nth-child(1) {
    top: 4px;
}

.hamburger span:nth-child(2) {
    bottom: 4px;
}

.hamburger.is-active span {
    background-color: #333333;
}

.hamburger.is-active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) rotate(-45deg);
}

#menu-toggle {
    display: none;
    
}

.mobile-header-pic {
    display: none;
}

footer {
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    
    padding: 2rem 1rem;
    background-color: #111;
    flex-wrap: wrap;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem;
    flex-wrap: wrap;
}

.cwf {
    font-size: large;
    font-family: "Josefin Sans", sans-serif;
    margin-bottom: 1rem;
}

.quick-links, .customer-service, .sm-icon {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 1rem;
}

.quick-links p, .customer-service p, .sm-icon p {
    margin-bottom: 0.5rem;
    font-family: "Dosis", sans-serif;
    font-size: smaller;
}

.quick-links a, .customer-service a {
    color: rgb(141, 139, 139);
    text-decoration: none;
    font-size: smaller;
    font-family: "Dosis", sans-serif;
    margin-bottom: 5px;
    position: relative;
}

.sm-icon-img {
    display: flex;
    gap: 10px;
}



/*Custom underline animation */
.quick-links a::after, .customer-service a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background-color: rgb(141, 139, 139);
    bottom: -2px;
    left: 0;
    transition: width 0.3s ease-in-out;
}

.quick-links a:hover::after, .customer-service a:hover::after {
    width: 100%;
}

/* Social media icons */
.sm-icon img {
    width: 1.8vw;
    margin: 10px 0;
    cursor: pointer;
}



/* Line break */
.line-break {
    border: none;
    height: 0.5px;
    background-color: #ffffff21;
    width: 100%;
    margin-top: 1rem;
}

/* Copyright text */
.copy-right {
    font-weight: lighter;
    font-family: "Raleway", sans-serif;
    font-size: 0.875rem;
    color: #e8e8e8 !important;
    text-align: center;
    margin-top: 1rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Responsive adjustments */
@media screen and (max-width: 1024px) {
    footer {
        padding: 2rem 1rem;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .quick-links, .customer-service, .sm-icon {
        align-items: center;
        text-align: center;
    }
}



@media (max-width: 768px) {
    .gallery {
        width: 100%;
        margin-right: 10px;
        grid-template-columns: 1fr;
    }
    .nav-links {
        
        margin: 0;
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        padding: 6rem 2rem 2rem;
        background-color: #ffffff;
        text-align: center;
        z-index: 9;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.35s ease;
    }

    
    .hamburger, .logo {
        z-index: 10;
    }

    #sm-logo-links {
        position: absolute;
        left: 50%;
        bottom: 20%;
        transform: translateX(-50%);
        width: min(65%, 320px);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 30px;
        margin: 0;
        padding-top: 1rem;
   
    }
   


    .box img {
        width: 1.8rem;
    }
    
    .nav-links li {
        margin: 0;
        
        
    }

    .foto {
        width: 100%;
        /* border: 1px solid red; */
    }
    
    .headerPic {
       display: none;
    }

    
    .foto p{
        font-size: smaller;
        margin-right: 10px;
        margin-left: 10px;
        width: 90%;
        margin: 0 auto;
    }

    .mobile-header-pic {
        display: flex;
        width: 90%;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }

    .theme{
        font-weight: 700;
    }

    .intro{
        font-weight: 400;
    }

    .logo {
        transform: translate(-1%);
        /* border: 1px solid red */
    }

    .hamburger {
        display: flex;
        transform: translate(70%);
        
    }

    #menu-toggle:checked + .hamburger + .nav-links {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    #menu-toggle:checked + .hamburger + .nav-links li a {
        font-size: 1rem;
        font-weight: 400;
        letter-spacing: 0.05em;
    }

    #menu-toggle:checked + .hamburger + .nav-links .home-icons {
        display: flex;
        flex-direction: row;
    }

    .nav-links #sm-logo-links img {
        width: 1.5rem !important;
        height: 1.5rem;
        object-fit: contain;
    }

    .cwf {
        left: 25px;
        margin-top: 15px;
        font-size: larger;
  
      }
      .quick-links {
          left: 10px;
          margin-top: 15px;
          display: grid;
          gap: 10px;
          font-size: small;
          transform: translate(0, 10%);
        
      }
     
      .sm-icon {
      
    
        font-size: small;
        /* transform: translate(-10%, 60%); */
        justify-content: space-around;
        display: flex;
        
        
         

      }
      .sm-icon-img {
        display: flex;
        flex-direction: row;
        transform: translate(-.5rem, 0);
        gap: 10px;
     
      }
      .sm-icon img {
            width: .4rem;
            /* Increase icon size for smaller devices */
        }
      #mobile-twitter {
   
        position: absolute;
      
        width: 200%;
        /* transform: translate(0, -30%); */
      }
  
      .line-break {
          display: none;
          
      }
  
      .copy-right {
          font-size: 0.75rem;
          text-align: center;
          display: flex;
          align-items: center;
          justify-content: center;
          right: 10px;
          transform: translate(0,-1rem);
          /* position: absolute; */
      }
  
      /* footer {
          height: 40vh;
      } */

      .footer-container {
      width: 100%;
      height: 100%;
      max-width: 1200px;
    }
  
}


/* index code*/

.index-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.slider-frame {
    position: relative;
    width: 100%;
    height: 100vh;
    /* margin: 20px auto; */
    overflow: hidden;
}

.slider-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider-images img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fade 25s infinite;
}

.slider-images img:nth-child(1) {
    animation-delay: 0s;
}

.slider-images img:nth-child(2) {
    animation-delay: 4s;
}

.slider-images img:nth-child(3) {
    animation-delay: 8s;
}

.slider-images img:nth-child(4) {
    animation-delay: 12s;
}

.slider-images img:nth-child(5) {
    animation-delay: 16s;
}

.slider-images img:nth-child(6) {
    animation-delay: 20s;
}

/* .slider-images img:nth-child(7) {
    animation-delay: 30s;
} */

@keyframes fade {
    0% {
        opacity: 0;
    }
    3% {
        opacity: 1;
    }
    25% {
        opacity: 1;
    }
    30% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

.right-page {
    display: flex;
    align-items: center;
    justify-content: center;
    /* border: 1px solid red; */
    /* background-color: #111; */
    /* position: absolute; */
  
    
}

.right-page-container {
    position: absolute;
    /* width: 50%;
    height: 50%; */
    /* border: 1px solid red; */
    margin-top: -40%;
    padding: 3vw;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.right-page .home-icons {
    margin-top: 45%;
    /* margin-right: 60%; */
    /* border: 1px solid red; */
    position: absolute;
    /* border: 1px solid red; */
    width: 110px;
    opacity: 0.7;

 
}

.live-to-tell-stories {
    display: flex;
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    height: 100vh; 
    text-align: center; 
    position: relative;
}

.live-to-tell-stories h1 {
    font-family: "Barlow", sans-serif;
    font-weight: 500;
    color: #556857;
}

.live-to-tell-stories h2 {
    font-family: "Barlow", sans-serif;
    font-weight: bold;
    font-size: small;
    color: rgba(153, 135, 56, 0.753);
    font-style: italic;
}

.live-to-tell-stories h1,
.live-to-tell-stories h2,
.live-to-tell-stories a {
    margin: 10px 0; 
    
}

.live-to-tell-stories a {
    text-decoration: none;
    padding: 10px 10px;
  
    color: #fff; 
    font-size: .8rem;
    font-family: "Barlow", sans-serif;
    font-weight: bold;
    color: #556857;
    margin-top: 20px;
    border: 2px solid #556857;

}

.live-to-tell-stories a:hover {
    
    background-color: #556857;
    color: white;    

}


@media (max-width: 768px) {
    .index-container {
        display: grid;
        grid-template-rows: 1fr;
        grid-template-columns: 1fr;
    }

    .slider-frame {
        position: relative;
        width: 100vw;
        height: 50vh;
        margin: 0 auto;
        
        overflow: hidden;
    }
    .right-page {
       width: 100vw;
       min-height: 50vh;
       display: flex;
       flex-direction: column;
       align-items: center;
       justify-content: flex-start;
        /* width: 50%;
        height: 50%; */
        /* border: 1px solid yellow; */
        
    }

    .right-page-container {
        position: relative;
        margin-top: 0;
        margin-bottom: 1rem;
        padding: 0;
    }

    .live-to-tell-stories {
        height: auto;
        min-height: auto;
        padding: 1rem 20px;
    }
    
    .right-page .home-icons {
        margin-top: 70%;
        /* margin-right: 60%; */
        /* border: 1px solid red; */
        position: absolute;
        display: flex;
        /* border: 1px solid red; */
        width: 30%;
       
        margin-left: 20px;
        opacity: 1;
    }

    #instagram img{
        width: 3.5vw;
    }
    #facebook img{
        width: 4.5vw;
    }
    #twitter img{
        width: 3.5vw;
    }
    #linkedin img{
        width: 3.5vw;
    }
    #github img{
        width: 3.5vw;
    }
    
  
}
