@import url('https://fonts.googleapis.com/css2?family=Tilt+Neon&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400&family=Tilt+Neon&display=swap');
html{

    overflow-x: hidden;
}

/* Change the cursor to a red dot using CSS */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    position: relative;
    min-height: 100vh;
    background-color: #ccc;
    cursor: none;
}

h1 {
    font-family: 'Tilt Neon', sans-serif;
    text-align: left;
    font-size: 2.5em;
    padding-left: 20px;
    padding-right: 20px;
    line-height: 1em;
    transition: transform 0.2s ease, font-size 0.2s ease; /* Default transition for font-size */
    z-index: 1;
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Add a drop shadow */
  }

  .textbox h1 {
    font-size: 3em;
    max-width: 800px;
    text-align: center;
    transition: none; /* Cancel any transition */
    animation: none; /* Cancel any animation */
    color: rgb(9, 193, 248);
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.2s ease, font-size 0.2s ease; /* Default transition for font-size */
}



a {
    cursor: none; /* Remove the default hand pointer */
}

h2{font-family: 'Quicksand', sans-serif;
    max-width: 500px;
    text-align: left;
    font-weight: 300;
font-size: 1.5em;
padding-left: 20px;
padding-right: 20px;
transition: transform 0.2s ease, font-size 0.5s ease; /* Default transition for font-size */
/* text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5); /* Add a drop shadow */
}

.title{

    width:100%;
    color: rgb(34, 34, 34);
}
    

.title h2{

    max-width: 100% !important;
    font-weight: 400;
    text-align: center;
    font-family: 'Tilt Neon', sans-serif;
    font-size: 2em;

}

.inner-feature-box h1{

    color: #000;
    font-family:Arial, Helvetica, sans-serif;
    font-size: 2.25em;
    color: #333;
    margin-bottom: 0px;


}


.inner-feature-box p{

    color: #000;
    font-family:Arial, Helvetica, sans-serif;
    font-size: 1em;
    color: #262626;
    text-shadow:none;
    text-align: left;


}


p{font-family: 'Quicksand', sans-serif;
    max-width: 800px;
    text-align: center;
    font-weight: 300;
font-size: 1.20em;
padding-left: 20px;
padding-right: 20px;
margin-right: auto;
margin-left: auto;
transition: transform 0.2s ease, font-size 0.5s ease; /* Default transition for font-size */
}

.textbox{

    padding-left:0;
    padding-right:0;
}

.feature-box {
    display: flex;
    justify-content: center; /* Center the inner boxes horizontally */
    align-items: flex-start; /* Align items to the top of the inner boxes */
    gap: 10px; /* Add a small gap between the inner boxes */
    width: 100%;
    margin-bottom: 10px;
  }
  

  .inner-feature-box {
    max-width: 400px; /* Adjust the width as needed */
    height: auto;
    position: relative;
    border-radius: 0px;
    display: flex;
    flex-direction: column; /* Set the inner boxes as flex containers */
  }



  .inner-header-box {
    max-width: 500px; /* Adjust the width as needed */
    height: auto;
    position: relative;
    border-radius: 20px;
    display: flex;
    flex-direction: column; /* Set the inner boxes as flex containers */
  }

  .inner-form-box {
    max-width: 545px; /* Adjust the width as needed */
    height:auto;
    position: relative;
    border-radius: 20px;
    display: flex;
    flex-direction: column; /* Set the inner boxes as flex containers */
  }

  .inner-about-box {
    max-width: 545px; /* Adjust the width as needed */
    height:auto;
    position: relative;
    border-radius: 20px;
    display: flex;
    flex-direction: column; /* Set the inner boxes as flex containers */
  }

 
  .inner-case-box {
    max-width: 545px; /* Adjust the width as needed */
    height:600px;
    position: relative;
    border-radius: 0px;
    display: flex;
    flex-direction: column; /* Set the inner boxes as flex containers */
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }


  .inner-case-box img {
    max-width: 50%;
    opacity: 0.75;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.inner-case-box:hover img {
    transform: scale(1.2);
    opacity: 1;
}



  .inner-case-box p{

    text-align: left;


  }


  .slider-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    border-radius: 0px;
  }

  .slider {
    display: flex;
    width: 300%; /* Increase width to accommodate duplicate images */
    transition: transform 0.5s ease-in-out;
  }

  .slider img {
    width: 33.33%; /* Adjust width based on the number of images */
    height: auto;
    cursor: pointer;
    object-fit: cover; /* Ensure the image covers the entire container */
  
  }

  .arrow {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    font-size: 24px;
    transform: translateY(-50%);
  }

  .arrow-left {
    left: 10px;
  }

  .arrow-right {
    right: 10px;
  }

  /* Modal styles */
  .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
  }

  .modal-content {
    max-width: 80%;
    max-height: 80%;
    margin: auto;
  }

  .modal img {
    width: 100%;
    height: auto;
  }

  
  .inner-services-box {
    max-width: 545px; /* Adjust the width as needed */
    height:auto;
    position: relative;
    border-radius: 20px;
    display: flex;
    flex-direction: column; /* Set the inner boxes as flex containers */
  }



.inner-feature-box h1 {
    margin-top: 75px;
  transition: margin-top 0.5s ease;

}

  .inner-feature-box:hover h1{
    margin-top: 30px;
  }



  .inner-feature-box::before {
    content: "";
    display: block;

  }

  .fb-ani {
    height: 250px;
    width: 250px;
    opacity: 0.5;
    transition: height 0.5s ease, width 0.5s ease, opacity 0.5s ease;
  }

  .inner-feature-box:hover .fb-ani {
    height: 350px;
    width: 350px;
  }


  .feature-box .fb-ani {
    transition: height 0.5s ease, width 0.5s ease, opacity 0.5s ease;
  }
  
  
  
  
  .inner-feature-box {
    background: #efefef;
  }
  
  .feature-box .inner-feature-box {
    width: 48%;
    position: relative;
    border-radius: 30px;
    transition: background-color 0.5s ease; /* Add transition for background-color */
  }
  
  .feature-box .inner-feature-box:hover {
    background: #efefef;
  }
  
  .small{
    display:none;
  }

  .videobox {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
  }

  video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
  }

  .custom-controls {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(4, 217, 255, 0.7);
    padding: 20px;
    padding-left:25px;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 30px;
    width:40px;
    height: 40px;
  }

  .videobox:hover .custom-controls {
    opacity: 1;
  }

 
  
  /* Media query for screens 600px or below */
  @media (max-width: 1024px) {


    #cursor-dot {

      display: none;
    }



    #main-image{

width:80%;

    }

    .videobox{

      
    }




  .large{

    display:none;
  }

  .small{
display: inherit;
    text-align: center;
  }



    .feature-box {
      flex-direction: column; /* Change to a column layout */
      align-items: center; /* Center items vertically for smaller screens */
      margin-bottom: 10px;
    }
  
    .inner-feature-box {
        margin-left: auto;
        margin-right: auto;
      min-width: 360px; /* Both boxes take full width */
    }

    .inner-services-box {
      margin-left: auto;
      margin-right: auto;
    min-width: 360px; /* Both boxes take full width */
  }

 

    .inner-feature-box h1{

      font-size:1.5em;
      margin-left: 0px;
    }


    .boxreverse{

      flex-direction: column-reverse;
      
  
  
  }


  }
  

/* Style the red dot cursor */
#cursor-dot {
    position: fixed; /* Set the position to fixed */
    width: 10px;
    height: 10px;
    background-color: rgb(9, 193, 248);
    border-radius: 50%;
    pointer-events: none;
    transition: width 0.3s, height 0.3s;
    z-index: 999;
}
/* Expand the cursor dot on hover */
#cursor-dot.expanding {
    width: 20px;
    height: 20px;
}

/* Define a pulse animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@media only screen {
    html, body {
      background: #fff;
      
      height: 100%;
    }

  }

    @media only screen and (min-width:5em) {
    .icon-softcrowd-logo {
        margin-top: -75px;
      font-size: 3rem;
    }

    .icon-softcrowd-solid-logo {
        margin-top: -75px;
      font-size: 3rem;
    }
  }



  #solid-logo {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease; /* Adjust the duration and easing as needed */
}

#colour-logo {
    opacity: 1;
    transition: opacity 0.5s ease; /* Adjust the duration and easing as needed */
}

/* Logo and nav container styles */
.logo-nav-container {
    display: flex;
    align-items: center;
    max-width: 1150px;
    transition: transform 0.2s ease, width 0.5s ease; /* Default transition for margin */
    z-index: 1; /* Higher z-index value */
}


/* Logo placeholder styles */
.logo-placeholder {
    width: 250px; /* Set the width of the logo placeholder */
    height: 100px; /* Set the height of the logo placeholder */
    /* You can further style the logo placeholder, such as adding a background image */
    transition: transform 0.2s ease, position 0.5s ease; /* Default transition for margin */
    z-index: 1; /* Higher z-index value */
    background-image: url('../images/logo-small.png');
    background-repeat: no-repeat;
    background-size:contain;
    background-size: 90%;
    margin-top: 50px;

}


/* Nav styles (align to center) */
nav {
    flex-grow: 1; /* Expand to fill available space */
    text-align: center; /* Center the text within the nav element */
}

/* Logo and nav container styles */
.header-content {
    display: flex;
    align-items: center;
    width:1000px;
    transition: transform 0.2s ease, width 0.5s ease; /* Default transition for margin */
    

}


header {
    background-color: rgba(255, 255, 255, 0.5); /* Semi-transparent black background */
    color: #fff;
    padding: 10px 0;
    height: 110px;
    padding-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px); /* Apply a blur effect to elements behind the header */
    pointer-events: none;
    z-index: -1; /* Render the pseudo-element below the header content */
}

nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

nav li {
    display: inline;
    margin: 0 20px;
    transition: transform 0.2s ease, margin 0.5s ease; /* Default transition for margin */
}



.menu-item{

color: #9d9d9d;
font-size: 1em;
text-transform: uppercase;
font-weight: bold;
transition: transform 0.2s ease, font-size 0.5s ease; /* Default transition for font-size */

}
nav .menu-item.active {
    color: rgb(0, 0, 0); /* Style the active menu item with a different color */
}

.logo-placeholder .menu-item a {

    color: #fff;
    margin: -50px;


}

nav a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

nav a:hover {
    color: rgb(2, 213, 250);
}

main {
    text-align: center;
    padding: 20px;
    position: relative;
}



.page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    display: none;
    transform: translateY(-100px);
    transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
    animation: fadeIn 1s ease-in-out, bounceIn 1s ease-in-out;
}

.page.active {
    top: 0;
    opacity: 1;
    display: inherit;
    transform: translateY(0);
}

@keyframes bounceIn {
    0% {
        transform: translateY(-100px);
    }
    60% {
        transform: translateY(20px); /* Adjust the bounce height as needed */
    }
    100% {
        transform: translateY(0);
    }
}


@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

footer {
    background-color: #554848;
    color: #222;
    text-align: center;
    padding: 20;
    font-size: 16px;
    position: fixed;
    opacity: 0;
    bottom: 0px;
    width: 100%;
    min-height: 250px;
    transition: bottom 0.3s ease; /* Add a transition for the 'bottom' property */
}


.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap; /* Allow columns to wrap on smaller screens */
  max-width: 1200px; /* Maximum width for each column */
  margin-left: auto; margin-right: auto;
  margin-top: 50px;
}

.footer-column {
  flex: 1; /* Each column takes equal width */
  max-width: 500px; /* Maximum width for each column */
  margin: 10px; /* Add margin between columns */
  text-align: left;
  color: #919191;
  text-transform:uppercase;
  font-size: 1em;
}
.terms{
  text-transform:none;

}
#terms p{

  font-size: 16px;
  text-align: left;

}

#cookies p{

  font-size: 16px;
  text-align: left;

}
#cookies ul{

  font-size: 16px;
  text-align: left;
max-width: 800px;
margin-left: auto;
margin-right: auto;

}

.footer-column a{

  color: #919191;
  text-decoration: none;
  line-height:1.5em;

}

.footer-column a:hover{

  color: #e8e5e5;
  text-decoration: none;
  line-height:1.5em;

}

.social-icon {
  display: inline-block; /* Display icons side by side */
  margin-right: 10px; /* Add spacing between icons */

}


/* Media query for screens below 800px */
@media screen and (max-width: 800px) {
  .footer-column {
      flex: 1 0 100%; /* Each column takes full width */
      max-width: none; /* Remove maximum width */
      margin-left: 100px;
      margin-bottom: 50px;
  }
}

section{
    margin-left: auto;
    margin-right: auto;
    left: 0px;
    right:0px;
    max-width: 1500px;
    padding-top: 200px;
    padding-bottom: 600px;
    min-height: 500px;
    color: #333;
}


/* Media query for screens with a width of 1200px */
@media (max-width: 1200px) {



    nav li {
        display: inline;
        margin: 0 15px;
    }

    .menu-item{

        font-size: 0.9em;

    }

    .logo-nav-container {
        padding:20px;

       width: 100%;


    }

    .header-content{

        width:900px;
    
    
    }

}

/* Nav styles (default visibility) */
nav {
    display: block;
}

/* Menu button styles (initially hidden) */
.menu-button {
    display: none;
    flex-direction: column;
    width: 30px;
    margin-left: auto;
    z-index: 99; /* Higher z-index value */
}

.line {
    width: 100%;
    height: 3px;
    background-color: #333;
    margin: 0.19em 0;
    border-radius: 10px;
    transition: transform 0.3s ease, opacity 0.3s ease; /* Add transition properties */
    transform-origin: left; /* Set the transform origin to the left */
}

/* Mask styles (initially hidden) */
.mask {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0; /* Start with a height of 0, initially hidden */
    background: linear-gradient(to right bottom, rgb(30, 186, 248), rgb(52, 239, 242)); /* Gradient from semi-transparent to darker orange */
    transition: height 0.3s ease; /* Add a transition property for height */
    z-index: 0; /* Lower z-index value */
}

.vertical-menu {
    display: none;
    position: fixed;
    top: -100%; /* Initially hidden above the viewport */
    left: 0;
    width: 100%;
    font-size: 1.75em;
    font-weight: bold;
text-transform: uppercase;
    text-align: center;
    transition: top 0.4s, opacity 2s;
    opacity: 0;
    z-index: 1;
}

.vertical-menu a {
    display: block;
    padding: 15px 0;
    text-decoration: none;
    color: #fff;
    
}

.copyright {
    color: #919191;
    position: absolute;
    bottom: 0;
    padding: 20px;
    text-align: right;
    width: 100%;
    margin-left:-100px;
}

/* Button style */


.button-left {

    position:relative;
    width: 150px;
    padding: 15px 20px; /* Adjust the padding as needed */
    background-color: #222;
    color: #fff; /* Text color */
    border: 2px solid #ffffff; /* Border color */
    border-radius: 10px 10px 10px 10px; /* 20px border-radius on the left side */
    font-size: 1.25em;
    overflow: hidden;
    margin-right: auto;
    margin-left: 20px;
    transition: background-color 0.3s ease; /* Add the transition property */
  }

  #loadMoreBtn{

    position:fixed;
    width: 150px;
    padding: 15px 20px; /* Adjust the padding as needed */
    background-color: #222;
    color: #fff; /* Text color */
    border: 2px solid #ffffff; /* Border color */
    border-radius: 10px 10px 10px 10px; /* 20px border-radius on the left side */
    font-size: 1em;
    overflow: hidden;
    margin-right: auto;
    margin-left: auto;
    bottom: 500px;
    left: 0px;
    right:0px;
    transition: background-color 0.3s ease; /* Add the transition property */
  }


  .button-form {

    position:relative;
    width: 100%;
    padding: 15px 20px; /* Adjust the padding as needed */
    background-color: #222;
    color: #fff; /* Text color */
    border: 2px solid #ffffff; /* Border color */
    border-radius: 10px 10px 10px 10px; /* 20px border-radius on the left side */
    font-size: 1.25em;
    overflow: hidden;
    margin-right:auto;
    left: 0px;
    transition: background-color 0.3s ease; /* Add the transition property */
  }


  

  section .menu-item a {
    text-decoration: none;
    text-transform: none;
  }

  section .menu-item {
    text-decoration: none;
    text-transform: none;
  }

  .button-center {

    position:relative;
    width: 150px;
    padding: 15px 20px; /* Adjust the padding as needed */
    background-color: #222;
    color: #fff; /* Text color */
    border: 2px solid #ffffff; /* Border color */
    border-radius: 10px 10px 10px 10px; /* 20px border-radius on the left side */
    font-size: 1.25em;
    overflow: hidden;
    margin-right: auto;
    margin-left: auto;
    transition: background-color 0.3s ease; /* Add the transition property */
  }
  

  
  
  .button-center:hover {
    background-color: #333; /* Adjust the color for hover state */
  }

  .button-left:hover {
    background-color: #333; /* Adjust the color for hover state */
  }

  .button-form:hover {
    background-color: #333; /* Adjust the color for hover state */
  }



.hero{


  background-image: url('https://prestigecareproducts.com/product-images/image8.jpg');
  background-repeat: no-repeat;
  background-size:cover;
  background-position: center;
  height:400px;
  border-radius:10px;
  padding-top: 25%;



}

#main-image{
  background-image: url('https://prestigecareproducts.com/images/home-image.png');
  background-position: center;
  background-size:contain;
  background-repeat: no-repeat;
    position:relative;
    width:400px;
    height: 500px;
    margin-left: auto;
    margin-top: 0px;
  
}

#mscroll{
width:75px;
margin-left: auto;
margin-right: auto;

}

#mscroll2{
width:75px;
margin-left: auto;
margin-right: auto;
    
}

#mscroll3{
width:75px;
margin-left: auto;
margin-right: auto;
}

#data-driven-ani{
width: 250px;
margin-top: -20px;
margin-left: auto;
margin-right: auto;
}

#custom-sol-ani{
width: 250px;
margin-top: -20px;
margin-left: auto;
margin-right: auto;
}


#exp-team-ani{
width: 250px;
margin-top: -20px;
margin-left: auto;
margin-right: auto;
}

#transparency-ani{
 width: 250px;
margin-top: -20px;
margin-left: auto;
margin-right: auto;
}

#proven-expertise-ani{
    width: 250px;
    height: 150px;
   margin-bottom: -20px;
   margin-left: auto;
   margin-right: auto;
   }

   #cutting-edge-technology-ani{
    width: 400px;
    height: 200px;
   margin-bottom: -80px;
   margin-left: auto;
   margin-right: auto;
   }   
        
   #client-centric-ani{
    width: 400px;
    height: 300px;
   margin-bottom: -30px;
   margin-left: auto;
   margin-right: auto;
   }   


   #transparency-about-ani{
    width: 350px;
    height: 250px;
   margin-bottom: -30px;
   margin-left: auto;
   margin-right: auto;
   }   
            

.contact-form {
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .form-group-inline {
    display: flex;
    gap: 10px; /* Adjust the gap between inline elements */
  }
  
  .name-field {
    flex: 1; /* Allow the fields to take equal width */
    position: relative;
    margin-bottom: 5px;
  }
  
  .name-field input {
    width: 100%;
    padding: 10px;
   
    background-color: #000;
    color: #ccc;
    border-radius: 4px;
    margin-top: 8px;
    margin-bottom: 8px;
    box-sizing: border-box;
    outline: none;

  }
  
  .name-field input:focus {
    border-color: #007bff;
    background-color: #333;
  
  }
  
  .name-field input:not(:placeholder-shown) + label,
  .contact-form textarea:not(:placeholder-shown) + label {
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25em;
  }
  
  .name-field input:placeholder-shown + label,
  .contact-form textarea:placeholder-shown + label {
    top: 0;
    transform: translateY(0);
    font-size: 18px;
  }
  
  .name-field:last-child {
    margin-left: auto;
  }
  
  .name-field:last-child input {
    margin-left: 0; /* Adjusted to 0 to keep it on the left side */
  }
  
  .name-field:last-child label {
    left: 20px; /* Adjusted to 10px to keep it on the left side */
    right: auto;
  }
  
  .form-group {
    position: relative;
    margin-bottom: 5px;
  }
  
  input[type="email"],
  input[type="tel"],
  input[type="text"],
  input[type="url"],
  textarea {
    width: 100%;
    padding: 30px;
    
    background-color: #dfdfdf;
    color: #636363;
    border-radius: 8px;
    margin-top: 8px;
    margin-bottom: 8px;
    box-sizing: border-box;
    outline: none;
    border: none;

    font-size: 1.5em;
  }
  
  input[type="email"]:focus,
  input[type="tel"]:focus,
  input[type="text"]:focus,
  input[type="url"]:focus,
  textarea:focus {
    border-color: #007bff;
    background-color: #cac7c7;
  }
  
  label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25em;
    transition: all 0.3s ease-out;
    pointer-events: none;
    color: #919191;
  }
  
  input[type="email"]:focus + label,
  input[type="email"]:valid + label,
  input[type="tel"]:focus + label,
  input[type="tel"]:valid + label,
  input[type="text"]:focus + label,
  input[type="text"]:valid + label,
  input[type="url"]:focus + label,
  input[type="url"]:valid + label,
  textarea:focus + label,
  textarea:valid + label {
    top: 10;
    transform: translateY(0);
    font-size: 18px;
  }
  
  .checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .form-button {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .form-button:hover {
    background-color: #0056b3;
  }

  
  
  


                          





/* ... (your existing CSS code) ... */

.thumbnail {
  max-width: 100px;
  max-height: 100px;
  object-fit: cover; /* Maintain aspect ratio */
}

.full-image {
  max-width: 100%;
  height: auto;
}


.large-container {
  display: flex;
  flex-direction: column;
  max-width: 40%;
  height: 850px;
  margin-bottom: 20px;
  background-color: #333;
  float: left;
  margin-right: 20px;
  border-radius: 10px;
  
}

.large-container img{
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;

}

.large-container p{
  text-shadow: none;
  color: #ccc;
}

.small-container p{
  text-shadow: none;
  color: #ccc;
}

.small-container img{
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;

}

.large-container h2{
  font-family:Arial, Helvetica, sans-serif;
  font-size: 2.25em;
  line-height: 1em;
  color: #fff;
}

.small-container {
  display: flex;
  flex-direction: column;
  max-width: 19.25%; /* Adjusted width for subsequent posts */
  height: 415px;
  margin-bottom: 20px;
  float: left;
  background-color: #333;
  margin-right: 20px;
  border-radius: 10px;
}

.small-container h2{
  font-family:Arial, Helvetica, sans-serif;
  font-size: 1.2em;

  color: #fff;
}

.large-container .thumbnail {
  max-width: 100%;
  max-height: 50%;
  object-fit: cover;
 
}

.small-container .thumbnail {
  max-width: 100%;
  max-height: 50%;
  object-fit: cover;
}


.content {
  position: relative;
  flex-grow: 1;
}

.content p {
  text-align: left; font-family: Arial, Helvetica, sans-serif;
  font-size: 1em;
}

.content a {
  position: absolute;
  bottom: 0;
  left: 0;
  margin-bottom: 10px; /* Adjusted margin for spacing */
  margin-left: 20px;
  color:#e97639;
}

.author{ text-align: left; font-family: Arial, Helvetica, sans-serif; font-size: 20px;}




#modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 99;
}

#modal-content {
  background: #fff;
  padding: 10px;
  max-width: 580px; /* Adjust as needed */
  height: 100%;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch; /* Add this line for Safari */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow-x: hidden;
}



#modal-content img{
  border-radius: 10px;
}

#modal-content main h1{

  font-size: 2.25em;
}

#modal-content main p{
text-shadow: none;
text-align: left;
font-size: 1em;
font-family: Arial, Helvetica, sans-serif;

}

  .close-btn {
    text-align: right;
    background-color:#fff;
    padding-right: 10px;
    padding-left: 10px;
    width: 100%; /* Adjust as needed */
    max-width: 580px; /* Adjust as needed */
    position: absolute;
    font-size: 50px;
    top: 25px;
    left: 50%;
    cursor: pointer;
    color: rgb(105, 105, 105);
    z-index: 999;
    transform: translate(-50%, -50%);
  }

.close-btn:hover {
  color: black;
}

.contact-form {
  transition: opacity 0.5s, transform 0.5s;
}

.messageSent {
  display: none;
  opacity: 0;
  transition: opacity 1s ease-in-out; /* Adjust the duration and easing as needed */
}


.article-buffer{

  float:left;
  height:400px;
  width:100%;
  background-color: #007bff;
}

#cookie-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #fefefe;
  color: #333;
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
}

#cookie-popup p{
font-size:0.8em;
font-family: Arial, Helvetica, sans-serif;
text-shadow: none;
color: #333;

}



#cookie-popup a {
  color: #0056b3;
  text-decoration: none;
  margin-left: 5px;
}

#cookie-popup button {
  
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    border: 1px;
    border-color: #347a37;
    border-radius: 5px;
    margin-left: 5px;
    margin-right: 5px;
    cursor: pointer;
}

.hidden {
  display: none;
}


@media (max-width: 1500px) {

.news{margin-left: 10%; margin-right: 10%;}
}

/* Media query for screens with a width of 1080px */
@media (max-width: 1080px) {



  .inner-case-box p{

    text-align: center;
  }



   
  h1{ font-size: 2em; margin-left: 20px;}
  h2{ font-size: 1em; margin-left: 20px;}
  .textbox h1 {
   font-size: 1.75em;

  }
  .textbox p {
      font-size: 1em;
 
     }

  .button{margin-left: 40px;}


  /* Hide the nav menu */
  nav {
      display: none;
  }

  .footnav{ display:inline;}

  .mask{ display: inherit;}



  .vertical-menu {

      display: inherit;

  }

  /* Show the menu button */
  .menu-button {
      display: flex;
  }
  .header-content{

      width:100%;
  
  
  }

  #solid-logo {
      opacity:0;
  }
  
  #colour-logo {
      opacity:1;
  }

  #main-animation{

      opacity: 0.25;
  }

  .small-container h2{
    padding-left: 0px;
  }      


  .large-container h2{
    padding-left: 0px;
  }      






}

@media (max-width: 680px) {

  #main-animation{
      margin-top: -350px;
      opacity: 0.25;
  }

  .form-group-inline {
      flex-direction: column; /* Change to a column layout */

      gap: 5px;
    }


    .name-field:last-child {
      margin-left: 0px;
    }

    .small-container h2{
      padding-left: 0px;
    }   
    
    
    .large-container h2{
      padding-left: 0px;
    }     

    .small-container {
    
      max-width:none;
      width: 93%;
      margin-left:10px;
      

    }

    .large-container {
      max-width:none;
      width: 93%;
    
    
      margin-left:10px;
    

    }

    .news{

      margin-left: 0px;
      margin-right: 0px;


    }
#about{

  overflow-x: hidden;


}
  

    #modal-content main h1{

      font-size: 1.75em;
      margin-left: 0px;
    }

    .messageSent h2{

      font-size: 1.75em;
      margin-left: 0px;
    }
}