    /* Basic styling for the dialog */
    .popup {
        display: flex; /* Hidden by default */
        position: fixed; /* Stay in place */
        z-index: 1; /* Sit on top */
        left: 0;
        top: 0;
        width: 100%; /* Full width */
        height: 100%; /* Full height */
        overflow: auto; /* Enable scroll if needed */
        background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
        justify-content: center; /* Center content horizontally */
        align-items: center; /* Center content vertically */
    }

    .popup-content {
        background-color: #fefefe;
        color: #333333;
        margin: auto; /* Center the popup content */
        padding: 20px;
        border: 1px solid #888;
        width: 80%; /* Adjust as needed */
        max-width: 500px; /* Max width for larger screens */
        border-radius: 8px;
        text-align: center;
    }  
    
    /* Base styles for mobile */

    body {
        max-width: 500px;
        min-width: 300px;
        margin: 0 auto;        
        background-color: black;
        color: white;
        font-family: "Montserrat", serif;
        /* font-family: "Poppins", serif; */
        font-optical-sizing: auto;    
        font-style: normal;
        line-height: 1;
    } 

    header, main, footer {
        max-width: 100%;
    }

    h1 {
        line-height: 1;
        text-align: center;
        font-weight: 700;
        text-shadow: 3px 5px #1fb81fb2;
    }
        
    a {
        text-decoration: none;
        color: black;             
    }

    a:hover {
        color: #58CD36;
    }

    ul {
        padding: 0;         
    }

    li {
        list-style: none;
    }

    .center {
        text-align: center;
    }

    img {
        max-width: 100%;
    }

    span {
        color: #58CD36;
        font-weight: 700;
    }

    button {
        padding: 15px 40px;
        margin-bottom: 20px;        
        font-weight: bold;
        border-radius: 5%;
        background-color: #58CD36;        
    }

    button:hover {
        background-color: black;
        color: #58CD36;        
    }

    
   

  /* ----------HEADER & NAVIGATION---------- */  

    header {
        border-bottom: 2px solid #58CD36;
    }

    .logo-1 {
        display: none;
    }

    /* Style the navigation menu */
    .topnav {
        width: 100%;
        overflow: hidden;
        background-color: black;
        position: relative;         
    }

    .logo-2 img {
        width: 25%;
        padding-top: 10px;
    }
    
    /* Hide the links inside the navigation menu (except for logo/home) */
    .topnav #myLinks {
        display: none;
    }

    .topnav .social-media {
        display: flex;
        justify-content: center;
        text-align: center;        
    }
   
    .topnav .social-media img {
        /* background-color: white; */
        border-radius: 100%;
        width: 50%;
    } 
       
    /* Style navigation menu links */
    .topnav a {
        color: white;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 17px;
        display: block;
        font-weight: 700;
        text-shadow: 2px 3px #1fb81fb2;
    }
    
    /* Style the hamburger menu */
    .topnav a.icon {
        background: black;
        display: block;
        position: absolute;
        right: 0;        
        top: 0;
        line-height: 3;        
    }
    
    /* Add a green text color on mouse-over */
    .topnav a:hover {
        /* background-color: #ddd; */
        color: #58CD36;
    }

    /* Style the active link (or home/logo) */
    /* .active {
        background-color: #04AA6D;
        color: white;
    } */

    .navbar {
        text-align: center;
    }
    
   
/* ----------MAIN---------- */
    /* change the appearance of button:hover */
    /* .green, .black:hover {
        background-color: #58CD36;
        color: black;
        border: none;
        border-radius: 10px;
    } */

    /* .black, .green:hover {
        background-color: black;
        color: #cd7a36;
        border: none;
        border-radius: 10px;
    } */

    section {
        padding: 1%;
        /* line-height: 2;  */
    }

    section h2 {
        line-height: 1.25;
        text-align: center;
    }    

    section li {
        margin: 1%;
        padding: 0 1%;
        /* text-align: justify; */
    }

    section li p {
        text-align: justify;
    }

    .intro {
        background: url(../img/ANIMATE-Laser-Clean-Part.gif);
        background-size: cover;
        background-position: center;
        /* background-attachment: fixed; */
        height: 600px;
        color: black;
    }

    .serving ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0;        
    }

    .serving li {
        list-style: none;
        margin: 2px;
        /* width: 48%;        */
    }

    .innovation, .technicians {
        background-color: #333333;
        color: #B8B8B8;                  
    }

    .innovation .side {
        width: 45%;
        margin: auto;
    }   

    .innovation .side, .owners .side, .technicians .side, .technicians .button {
        text-align: center;
    }

    .owners img {
        width: 100%;        
    }

    .owners article {
        padding: 10px;
        margin-bottom: 10px;
        border-bottom: 2px dotted #58CD36;
    }

    .founder img, .techs img {
        width: 50%;
    }

    .podcast {
        max-width: 50%;
        text-align: center;
        margin: 0 auto;
    }


    .power img {
        margin-top: 5%;
    }

    .uses img{
        max-width: 50%;
    }

    .partners {
        color: white; 
        margin: 0;
        padding: 0;             
    }

    .cerakote {
        background: url(../img/cerakote_application_banner.jpg);
        background-size: center;
        background-position: center; 
        height: 500px;        
    }

    .sherwin {
        background: url(../img/sherwin-williams_banner.jpg);
        background-size: cover;
        background-position: top center; 
        height: 300px;
    }

    .mission {
        background: url(../img/Mission.jpg);
        background-size: cover;
        background-position: center; 
        height: 500px; 
        color: white;
        padding-top: 20%;         
    }

    .mission p {
        background-color: rgba(42, 90, 56, 0.3);
        border-radius: 10px;
    }

    .explained {
        background-color: #333333;
        color: white;
    }

    .explained .side img {
        border-radius: 10px;
    }

    .testimonials {
        background: url(../img/Testimonial_background.jpg);
        background-size: cover;
        background-position: center;
        max-height: 250px;
        /*max-width: 500px;*/
        color: black;
        padding: 1%; 
    }

    .testimonials p {
        /* text-shadow: .5px .5px #999; */
        font-weight: 400;  
        background-color: rgba(121, 110, 110, 0.062);       
    }

    /* Slideshow container */
    .slideshow-container {
        max-width: 800px;
        position: relative;
        margin: auto;
    }

    /* Hide the images by default */
    .mySlides {
        display: none;
    }

    /* Next & previous buttons */
    /* .prev, .next {
        cursor: pointer;
        position: absolute;
        top: 50%;
        width: auto;
        margin-top: -22px;
        padding: 16px;
        color: white;
        font-weight: bold;
        font-size: 18px;
        transition: 0.6s ease;
        border-radius: 0 3px 3px 0;
        user-select: none;
    } */

    /* Position the "next button" to the right */
    /* .next {
        right: 0;
        border-radius: 3px 0 0 3px;
    } */

    /* On hover, add a black background color with a little bit see-through */
    /* .prev:hover, .next:hover {
        background-color: rgba(0,0,0,0.8);
    } */

    /* Caption text */
    /* .text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
    } */

    /* Number text (1/3 etc) */
    /* .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
    } */

    /* The dots/bullets/indicators */
    /* .dot {
        cursor: pointer;
        height: 15px;
        width: 15px;
        margin: 0 2px;
        background-color: #bbb;
        border-radius: 50%;
        display: inline-block;
        transition: background-color 0.6s ease;
    }

    .active, .dot:hover {
        background-color: #fa0b0b;
    } */

    /* Fading animation */
    /* .fade {
        animation-name: fade;
        animation-duration: 1.5s;
    } */

    /* @keyframes fade {
        from {opacity: .4}
        to {opacity: 1}
    } */

    /* Benefits Section */
    .cards li {
        height: auto;
        background-color: #F4F2F3;
        border-radius: 10px;
        border: 1px solid #333333;
        box-shadow: 5px 5px #B8B8B8;
        color: black; 
        padding: 4% 10% 2% 10%;
        margin-bottom: 20px; 
        line-height: 1;      
    }

    .cards li:hover {        
        box-shadow: 10px 10px #58CD36;      
    }

    .connect {
        color: white;         
    }
    

    footer {
        color:#B8B8B8;
    }

    footer a {
        color: #B8B8B8;
    }

    .contact {
        background-color:#333333;
        color: white;
        padding: 2% 5%;
    }

    /* Footer */

    footer section {
        flex: none;
        display: block;
    }    

    footer .flex {
        display: flex;
    }

    footer .social-media {
        max-width: 60%;
    }
    
    footer .social-media ul {
        display: flex;
        justify-content: center;
    }

    .bottom {
        background-color: rgba(255, 255, 255, 0.37);
        color: black;
        text-align: center;
        font-weight: 700;
        text-shadow: 3px 3px #0520051e;
    }
     



/* ----------------------------------------------------------------------------- */

/* Styles for tablets */
@media screen and (min-width: 768px) {
  /* body {
    font-size: 1.125rem;
  }
  .container {
    width: 750px;
    margin: 0 auto;
  } */

    body {
        max-width: 100%;
        font-size: 1.0rem;
        line-height: 1.25;
    }

    header, footer {
        display: inline-flex;
    }

    .logo-1 {
        display: inline;
        min-width: 25%;
        max-width: 25%;
        padding: 2.5%;
    }

    #hamburgerMenu {
        display: none;
    }

    .topnav {
        display: inline-flex;
        /* flex-wrap: wrap; */
    } 

    .logo-2 {
        display: none;
    }

    .topnav a {
        padding: 0;
        /* margin: auto;        */
    }

    .topnav #myLinks {
        display: flex;
        flex-wrap: wrap-reverse;
        justify-content: center;
        padding-bottom: 5%;
    }    

    .topnav #myLinks .flex {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-self: center;           
    }

    .topnav #myLinks a {
        padding: 15px ;
        /* border: 1px solid #58CD36;
        border-radius: 5px; */
        margin: 2px;
        /* font-weight: 700;
        text-shadow: 2px 3px #1fb81fb2;         */
    }

    .topnav #myLinks .social-media a {
        border: none;
    }
    
    .intro {
        width: 100%;
    }

    /* .serving ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0;        
    } */

    .serving li {
        padding: 0;
        width: 20%;
    }

    .cerakote {
        height: 700px;
    }

    .sherwin {
        height: 500px;
    }

    .testimonials {
        /* height: 280px; */
        font-size: 1rem;
    }

    .mission {
        font-size: 1.5rem;
    }

    .power img {
        margin-top: 1%;
    }

    .power .flex, .explained, .benefits .flex {
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .explained div, .power .flex li {
        width: 40%;        
    }


    .benefits .flex li {
        height: 300px;
        width: 250px;        
        padding: 2.5%;
        margin-bottom: 20px; 
        line-height: 1; 
        margin: 2%;         
    }

    /* .cards li {
            
    } */

    .owners .flex, .technicians .flex {
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-direction: row;
    }

    .owners .flex div, .technicians .flex div {
        max-width: 40%;
    }

    .franchisee img {
        min-width: 100%;
    }

    .founder img, .techs img {
        width: 75%;
    }
    
    footer {
        flex-direction: column;
        font-size: 1rem;
    }

    footer .f-flex {
        display: flex;
        justify-content: space-evenly;        
    }

    footer .third {
        max-width: 30%;        
    }

    footer .footer-nav {
        padding-left: 10%;
    }
    
}


/* Styles for desktops */
@media screen and (min-width: 1024px) {
  /* .container {
    width: 960px;
  } */

    body {
        max-width: 1600px;
        
    }

    .logo-1 {
        display: inline;
        /* min-width: 15%; */
        max-width: 15%;
        padding-top: 2%;
    } 

    .topnav #myLinks {
        max-width: 100%;
        align-self: end;
        padding-left: 5%;
        padding-bottom: 5%;        
    }

    .topnav #myLinks .flex {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .topnav #myLinks a {
        padding: 25px;
        margin-bottom: 3%; 
        font-size: 1.25rem;
    }

    .benefits li {        
        margin: 2%;
    } 

    .not-flex {
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-direction: row;
    }

    .not-flex div {
        max-width: 50%;
    }

    .franchisee img {
        min-width: 120%;
    }

    .founder img {
        max-width: 50%;
    }
}