 /* Reset some default styles */
 body {
  background-color: #ffffff;
}
        body, ul {
            margin: 0;
            padding: 0;
        }

/* Header styles */
        body {
    font-family: Calibri, verdana, helvetica, sans-serif;
  font-weight: 500;
  color: #333333;
  }

header {
    background-color:transparent;
    color: #fff;
    padding: 10px 0;
}
p {
  font-family: Calibri, verdana, helvetica, sans-serif;
  font-weight:none;
  font-variant:inherit;
  font-size: 24px;
  color: #333333;
  line-height: 1.6;
  width: auto;
  margin-bottom: 3em; /* adds 1 unit of spacing after each paragraph */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.navbar .logo img {
    height: 90px; /* Adjust logo height */
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: space-around;
    margin: 0;
    padding: 0;
    text-transform:uppercase;
}

.nav-links li {
    padding: 8px 15px;
}

.nav-links a {
    color: #004225;
    text-decoration: bold;
    transition: color 0.3s ease;
    
}

.nav-links a:hover {
    color: #FFD700; /* Change color on hover */
}

/* Hamburger menu icon for mobile */
.icon {
    display: none;
    color: white;
    font-size: 1.5em;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .nav-links.show {
        display: flex;
    }

    .icon {
        display: block;
    }
}
function toggleMenu() {
    var navLinks = document.getElementById("navLinks");
    if (navLinks.style.display === "flex") {
        navLinks.style.display = "none";
    } else {
        navLinks.style.display = "flex";
    }
}
  
/* Button */
.button {
  background-color: #F60606;
  border: none;
  color: #ffffff;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}
/* Container holding the image and the text */
.container {
  position: relative;
  text-align: center;
  color: white;
}

/* Bottom left text */
.bottom-left {
  position: absolute;
  bottom: 8px;
  left: 16px;
}

/* Top left text */
.top-left {
  position: absolute;
  top: 8px;
  left: 16px;
}

/* Top right text */
.top-right {
  position: absolute;
  top: 8px;
  right: 16px;
}

/* Bottom right text */
.bottom-right {
  position: absolute;
  bottom: 8px;
  right: 16px;
}

/* Centered text */
.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.row {  
  display: flex;
  flex-wrap: wrap;
  background-color: #000000;
}
.row2 {  
  display: flex;
  flex-wrap: wrap;
  background-color: #008000;
}

.container {
width: 100%;
padding: 15px:
 }
 .content {
    max-width: 800px; /* Adjust maximum width as needed */
    margin: 0 auto;
    padding: 20px;
    overflow: hidden; /* Clear float */
    background-color: #FFFFFF
}

.image {
    float: left;
    margin-right: 20px;
    max-width: 50%; /* Image takes up to half of the content width on large screens */
}

.text {
    overflow: hidden; /* Clear float */
}

.text h2 {
    margin-top: 0;
}

/* Responsive layout for smaller screens */
@media (max-width: 768px) {
    .image {
        float: none;
        max-width: 100%; /* Image takes full width on smaller screens */
        margin-right: 0;
        margin-bottom: 20px; /* Add space between image and text */
    }

    .text {
        text-align: center; /* Center align text on smaller screens */
    }
}

/* Create two unequal columns that sits next to each other */
/* Sidebar/left column */
/* Main column */
.main {
  flex: 75%;
  background-color: #ffffff;
  padding: 20px;
}
.side {
  flex: 25%;
  background-color: #F6F6F6;
  padding: 20px;
}
.side img {
            width: 100%;
            height: auto;
            display: block;
}
 .side h4 {
            font-size: 18px;
            font-weight: 500;
            margin-top: 15px;
        }
        .side h5 {
            font-size: 14px;
            color: #333;
        }
        @media (max-width: 768px) {
            .side {
                width: 100%;
                padding: 15px;
            }
            .side h4 {
                font-size: 16px;
            }
            .side h5 {
                font-size: 12px;
            }
        }
.main2 {
  flex: 70%;
  background-color: #008000;
  padding: 20px;
   font-variant: normal;
  font-size: 20px;
  font-family: Verdana, Geneva, sans-serif;
  line-height: 1.5;
}

.box {
  flex: 33%;
  background-color: #ffffff;
  padding: 20px; 
}
.box2 {
  flex: 33%;
  background-color: #333333;
  padding: 20px; 
}
.box3 {
  flex: 35%;
  background-color: #ffffff;
  padding: 20px; 
}
.flex-container {
  display: flex;
  flex-wrap: wrap;
  background-color: white;
}

.flex-container > div {
  background-color: #ffffff;
  width: 350px;
  margin: 10px;
}
.resp-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
}
.resp-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.resp-container2 {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
}

/* Add a card effect for articles */
.card {
  background-color: FFFFFF;
  padding: 20px;
  margin-top: 20px;
  border:solid;
  border-color: #333333;
}

/* Footer */
footer {
    background-color: #004225;
    color: #fff;
    padding: 20px 0;
    position: relative; /* Ensure relative positioning for child elements */
}

.footer-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links, .footer-social {
    flex: 1;
}

.footer-links h3, .footer-social h3 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 10px;
}

.footer-links ul, .footer-social ul {
    list-style: none;
    padding: 0;
}

.footer-links li, .footer-social li {
    margin-bottom: 8px;
}

.footer-links a, .footer-social a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover, .footer-social a:hover {
    color: #ffd700; /* Change color on hover */
}

.social-icons img {
    width: 20px; /* Adjust social media icon size */
    height: auto;
}

/* Position copyright text at the bottom center */
.copyright {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links, .footer-social {
        margin-bottom: 20px;
    }
}

/* The hero image */
.hero {
    width: 100%;
    height: 100vh; /* Full viewport height */
    background-image: url('https://tiptoppunter.co.uk/blog/img/hero-image.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Dark overlay for better text readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust opacity as needed */
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1; /* Ensure content is above the overlay */
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: white;
    text-align:center;
}
.hero-content h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: white;
    text-align:center;
}

.hero-content p {
    font-size: 2em;
    color: #FFFFFF;
}

.hero2 {
    width: 100%;
    height: 100vh; /* Full viewport height */
    background-image: url('https://tiptoppunter.co.uk/img/hero-image-2.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Dark overlay for better text readability */
.hero2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust opacity as needed */
}

.hero2-content {
    text-align: center;
    color: #fff;
    z-index: 1; /* Ensure content is above the overlay */
}

.hero2-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: white;
}

.hero2-content p {
    font-size: 1.5em;
    color: white;
}
/* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 700px) {
  .row, .navbar, .footer {   
    flex-direction: column;
  }
}
/* Text Elements */
span.text-element.text-1 {
   float: left;
   margin-right: 3%;
  margin-left: 3%;
  background-color: transparent;
  color: #333333;
  word-spacing: 0;
  letter-spacing: 0;
  font-weight: 500;
  font-variant: normal;
  font-size: 18px;
  font-family: Calibri, Open Sans, sans-serif;
  line-height: 1.5;
  width: auto;
}

span.text-element.text-2 {
   float: left;
   margin-right: 3%;
  margin-left: 3%;
  background-color: transparent;
  color: #333333;
  word-spacing: 0;
  letter-spacing: 0;
  font-weight: 500;
  font-variant: normal;
  font-size: 14px;
  font-family: Calibri, Open Sans, sans-serif;
  line-height: 1.5;
  width: auto;
}
span.text-element.text-3 {
   float: center;
   margin-right: 3%;
  margin-left: 3%;
  background-color: transparent;
  color: #868286;
  word-spacing: 0;
  letter-spacing: 0;
  font-weight: 500;
  font-variant: normal;
  font-size: 12px;
  font-family: Calibri, Open Sans, sans-serif;
  line-height: 1.5;
  width: auto;
}
span.text-element.text-4 {
  padding-left: 10px;
  padding-right: 10px;
   margin-right: 0;
  margin-left: 0;
   margin-bottom: 7px;
   margin-top: 7px;
  background-color: transparent;
  color: #868286;
  word-spacing: 0;
  letter-spacing: 0;
  font-weight: normal;
  font-variant: normal;
  font-size: 10px;
  font-family: Calibri, Open Sans, sans-serif;
  line-height: 1.5;
  width: auto;
}
span.text-element.text-5 {
  padding-left: 10px;
  padding-right: 10px;
   margin-right: 0;
  margin-left: 0;
   margin-bottom: 7px;
   margin-top: 7px;
  background-color: transparent;
  color: #666366;
  word-spacing: 0;
  letter-spacing: 0;
  font-weight: 400;
  font-variant: normal;
  font-size: 10px;
  font-family: Calibri, Open Sans, sans-serif;
  line-height: 1.5;
  width: auto;
  font-style:italic;
}


h1 {
  color: #333333;
  font-family: Calibri, Open Sans, sans-serif;
  background-color: transparent;
  font-size:40px;
  text-transform:capitalize;
  font-weight:bolder;
  font-stretch:wider;
  text-align:left;
   margin-right: 3%;
  margin-left: 3%;
}

h2 {
  color: #333333;
  font-family: Calibri, Open Sans, sans-serif;
  font-size: 30px;
  font-weight:900;
  text-transform:none;
  font-weight:600;
  font-stretch:expanded;
  text-align:left;
   margin-right: 3%;
  margin-left: 0%;
}

h3 {
  font-family: Calibri, Open Sans, sans-serif;
  font-size: 24px;
  color: #333333;
  font-weight:500;
  text-align:left;
  margin-right: 3%;
  margin-left: 3%;
}


h4 {
  font-family: Calibri, Open Sans, sans-serif;
  font-size: 16px;
  color: #333333;
  text-align:left;
  text-transform: none;
  margin-right: 3%;
  margin-left: 3%;
  font-weight:500;
  
 }
 
 h5 {
font-family: Calibri, Open Sans, sans-serif;
font-size: 12px;
color: #868286;
text-align:left;
 margin-right: 3%;
  margin-left: 3%;
 }
 
 a:link {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:active {
  text-decoration: underline;
}
}

