    @font-face {
    font-family: 'headlineFont';
    src: url( '/static/users/fonts/BodoniModa-VariableFont_opsz,wght.ttf') format('truetype');
}

    * {box-sizing: border-box}
body {font-family:'Times New Roman', Times, serif; margin:0;}
.mySlides {display: none;
    align-self: center;
}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

.slideshow-container img{
  justify-self: center;
  justify-content: center;
  margin: 2.5%;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 25px;
  margin-top: -22px;
  color: rgb(0, 0, 0);
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  -webkit-user-select: blur(10px);
  user-select: none;
  margin-left: 0.5%;
  margin-right: 0.5%;

}

/* 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: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}

h1{
    margin: 2%;
            margin-top: 5%;
            text-align: left;
            font-size: 3.5rem;
            font-weight: 500;
            color: #333;
            
            letter-spacing: 1.2px;
            animation: fadeIn 1s ease-in-out;
            font-family: 'CustomFont', serif;
}


h2 {
            margin: 2%;
            margin-top: 5%;
            text-align: left;
            font-size: 2.5rem;
            
            color: #ffffff;
            font-weight: 300;
            letter-spacing: 1.2px;
            animation: fadeIn 1s ease-in-out;
            font-family: 'CustomFont', serif;
        }
    .recent-blogs {
        padding: 20px;
        
    }

    .recent-blogs h2 {
        text-align: center;
        color: rgb(6,36,67);
        margin-bottom: 20px;
        
    }

    .blog-list {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .blog-item {
        background-color:var(--button-color);
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .blog-item:hover {
        transform: scale(1.02);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    }

    .blog-item h3 {
        margin-top: 2%;
        margin-bottom: 1%;
        margin-left: 0%;
        font-size: 1.75em;
        font-family: 'h1Font',serif;
        color:rgb(6,36,67);
    }

    .blog-item p {
        margin: 10px 0 0;
        color: rgb(6,36,67);
        overflow: hidden;
    }

.container {
    display: flex;
    margin-top: 20px;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
    background-image: url('/static/users/img/main8.jpg');
    background-size:cover;
    width: auto;
    height: 650px;
    z-index: -1;
  vertical-align: bottom;
}



.blur{
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background-color: #ffeeee51;
    z-index: 1;
    opacity: 100%;
    width: 500px;
    shape-margin: 10%;
    border-radius: 2%;
    width: 80%;
    margin-top: 2.5%;
    justify-content: center;
    align-items: center;
    margin-left: 10%;
    margin-bottom: 5%;
    height: auto;
  vertical-align: bottom;
}

.side-container {
    display: flex;
    flex-direction: row;
    align-items: left;
    width: 50%;
    vertical-align: middle;
    padding-top: 5%;
    border-radius: 5%;
    margin-top: 2.5%;
    margin: 1%;
    vertical-align: bottom;
}

.center {
    width: 75%;
    margin-top: 5%;
    justify-content: center;
    align-items: center;
    margin: 2.5%;
    vertical-align: bottom;
}

.side-img{
    position: absolute;
    right:-10% ;
    bottom: -17.5%;
    width: 38%;
    margin-bottom: .5%;
}

.headline {
            width: 100%;
            white-space: nowrap;
            color: rgb(53, 53, 53);
            padding: 3%;
            position: relative;
            height: 100%;
            margin: 1%;
            font-family: "headlineFont",serif;
            font-size: 2.1em;
            position: relative;
            overflow-x: hidden;
            overflow-y: visible;

        }

 .head-text {
        display: inline-block;
            position: absolute;
            left: 100%;
            overflow-x: hidden;
            animation: scrollText 20s linear infinite;
         
        }
.head-text p{
    font-size: 5em;
    font-family: "headlineFont",serif;

}

        @keyframes scrollText {
            from {
                left: 100%;
            }
            to {
                left: -100%;
            }
        }
/* Responsive Design */
@media (max-width: 768px) {
  h2 {
        font-size: 1.8rem;
    }
    h1 {
        font-size: 1.8rem;
    }
    p{
      font-size: .9rem;
    }
    .blog-list {
        flex-direction: column;
    }

    .container {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }

    .blur {
        width: 90%;
        margin: 5%;
    }

    .side-img{
      visibility: hidden;
    }

    .headline{
      width: 100%;
            white-space: nowrap;
            color: rgb(53, 53, 53);
            padding: 10%;
            position: relative;
            height: 100%;
            margin-top: 5%;
            margin-bottom: 5%;
            font-size: 1.5em;
            position: relative;
            overflow-x: hidden;
            overflow-y: visible;

    }
    .head-text{
      display: inline-block;
      margin: 0%;
      overflow-x: hidden;
    }
    body{
      overflow-x: hidden;
    }
    .side-container{
      display: inline;
    }
}

@media (max-width: 480px) {
  .container {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }
    .container img{
      width: 100%;
      height: auto;
    }
    h2 {
        font-size: 1.8rem;
    }
h1 {
        font-size: 1.8rem;
    }
    p{
      font-size: .9rem;
    }
    .blog-item {
        padding: 10px;
    }
    .side-img{
      visibility: hidden;
    }
    .prev, .next {
        font-size: 14px;
        padding: 10px;
    }
    .headline{
      font-size: 1em;
      overflow-x: hidden;
    }
    .head-text{
      margin:0%;
      padding: 0%;
      overflow-x: hidden;
    }
}