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

color: #f0f0f0;

}

p{
    text-align: justify;
    font-size: 1.3em;
    margin: 2.5%;
}

.container {
    display: flex;
    width: 100%;
    margin-top: 20px;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;

}






    * {box-sizing: border-box}
body {font-family: 'Times New Roman', Times, serif; margin:0}

img {
    width: 100%;
    margin-top: 3%;
    
}

.center{
    margin-left: 2%;
}

.top-right-heading {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    font-size: 20px;
}



h1 {
            margin: 2%;
            margin-top: 3%;
            padding-top: 5%;
            text-align: center;
            font-family: 'CustomFont', serif;
            font-size: 3.5rem;
            color: #000000;
            font-weight: 500;
            letter-spacing: 1.5px;
            
        }
        
h2 {
            margin: 2%;
            margin-top: 3%;
            padding-top: 5%;
            text-align: center;
            font-family: 'CustomFont', serif;
            font-size: 2.5rem;
            color: #ffffff;
            font-weight: 300;
            letter-spacing: 1.5px;
            
        }



.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%;
            animation: scrollText 20s linear infinite;
        }
.head-text p{
    font-size: 5em;
    font-family: "headlineFont",serif;

}


.right-img{
    position: relative;
    border-bottom-left-radius: 15%;
    width: 20%;
    margin:1%;
    margin-bottom: 2.5%;
    margin-right: 0%;

}
.left-img{
    position: relative;
    border-top-right-radius: 15%;
    width: 20%;
    margin:1%;
    margin-bottom: 2.5%;
    margin-left: 0%;

}
.main-img{
    border-top-left-radius:15% ;
    border-bottom-left-radius: 15%;
    width: 40%;
    z-index: -1;
    right: 0%;
}

.process-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 95%;
    margin: 3%;
}

.step {
    background: linear-gradient(to bottom, rgba(139, 69, 19, 0.308), #fffced);
    padding: 15px 30px;
    border-radius: 10px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    text-align: center;
    color: rgb(0, 0, 0);
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.3s ;
}

p{
text-align: justify;
}

.scroll-wrapper {
  width: 100%; /* Ensures it stays within the viewport */
  overflow: hidden;
}

.scroll-container {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  gap: 10px;
  padding: 5px;
}

.scroll-container p {
  min-width: 150px;
  max-width: fit-content;
    margin: 1%;
  border-radius: 5px;
}

.content {
           
            
            padding: 1%;
                display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    text-overflow: ellipsis;
        }

        .card {
            background:var(--primary-color);
            padding: 20px;
            box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            text-align: justify;
            margin: auto;
        align-self: center;
    
    justify-content: center;
 
   
    width: 350px;
    height: 400px;
    resize: horizontal;
    transition: transform 0.3s;
         white-space: wrap; /* Keeps text in a single line */
    text-overflow: ellipsis; /* Adds ellipsis when text overflows */

        }

        .card img {
            width: 100%;
            height: auto;
            border-radius: 8px;
        }

        .card p {
    font-size: clamp(12px, 2vw, 16px); /* Responsive font size */
    max-width: 100%; /* Prevents text from exceeding container width */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space:wrap;
    margin: 1%;
    padding: 2.5%;
    text-align: center;
    
}

@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        height: auto;
    }
    .placardset {
        flex-direction: column;
        gap: 15px;
    }
    .blur {
        width: 90%;
        padding: 20px;
    }
}

@media (max-width: 768px) {
        h2 {
        font-size: 1.8rem;
    }
h1 {
        font-size: 1.8rem;
    }
    p{
      font-size: .9rem;
    }
    .headline {
        padding: 10%;
        height: fit-content;
        font-size: clamp(1.5rem, 3vw, 2.5rem);
    }
    .container {
        flex-direction: column;
        align-items: center;
    }
    .side-container {
        width: 95%;
        margin: auto;
    }
    .placard img {
        width: 100%;
    }
    .button {
        width: 80%;
    }
    .left-img{
        visibility: hidden;
    }
    
    .right-img{
        visibility: hidden;
    }
    .center{
        width: 80%;
        margin: 0%;
    }
    .card img{
        width: 75%;
    }
    .menu {

        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

}

@media (max-width: 480px) {
    .container{
        justify-content: center;
        align-items: center;
        margin: auto;
        width: 100%;
    }
    .container img{
        visibility: hidden;
        height: min-content;
        width: 0%;
    }
    .center{
        justify-content: center;
        align-items: center;
        margin: auto;
        width: 100%;
        padding: 1%;
    }
    .content{
        width: fit-content;
    }
    .card img{
        width:300px ;
        height: auto;
    }
    .menu {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    
    }
    .blur {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
    h1 {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .center p {
        font-size: 0.8rem;
        width: 100%;
    }
}


        @keyframes scrollText {
            from {
                left: 100%;
            }
            to {
                left: -100%;
            }
        }
