@media (max-width: 500px) {

p1 {
display: block;
font-size: 35px;
line-height: 37px;
text-align: left;
padding-top: 10px;
font-weight: 600;
color: white;
font-family: 'Roboto Slab', serif;
}

p2 {
display: block;
font-size: 26px;
line-height: 29px;
text-align: left;
padding-top: 20px;
padding-bottom: 35px;
font-weight: 800;
color: white;
font-family: 'Source Serif Pro', serif;
}


p5 {
display: block;
font-size: 26px;
line-height: 29px;
text-align: left;
padding-top: 20px;
padding-bottom: 35px;
font-weight: 800;
color: white;
font-family: 'Source Serif Pro', serif;
}

p3 {
display: block;
font-size: 33px;
line-height: 45px;
text-align: left;
padding-top: 5px;
padding-bottom: 5px;
font-weight: 400;
color: white;
font-family: 'Pacifico', cursive;
}

p4 {
display: block;
font-size: 33px;
line-height: 45px;
text-align: left;
padding-top: 5px;
padding-bottom: 4px;
font-weight: 400;
color: white;
font-family: 'Source Serif Pro', serif;
margin-bottom: 0px;
}

#reset {
background-color: rgba(0, 255, 255, 0);
}

#digiclass {
display: none;
}

#newer {
width: 130px;
height: 70px;
line-height: 22px;
color:rgba(240, 248, 255, 0.803);
/* color: transparent;
/* text-shadow: 0 0 2px rgb(182, 178, 178); */
font-family: Arial, Helvetica, sans-serif;
font-weight:lighter;
font-size: 20px;
/* background-color: rgb(19, 19, 19); */
z-index: 5000;
border-radius: 8px;
opacity: 1 !important;
}

#zero {
display: none;
width: 52px;
}

.sections {
line-height: 43px;
}

#icon {
display: block;
position: fixed;
right: 25px;
top: 25px;
cursor: pointer;
color: rgb(254, 84, 62);
z-index: 10000;
}

#close {
display: block;
}

.ourproduct {
display: none;
}

.arc {
display: none;
}

#main {
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    z-index: 5000;
    position: relative;
    display: none;
    background-color: rgb(14, 14, 14);
    padding-left: 10px;
    margin-left: 0;
}


about {
width: 100%;
height: auto;
position: relative;
float: left;
z-index: 5000;
margin-bottom:12px;
}

#about-content {
width: 88%;
height: auto;
position: relative;
float: left;
}

services {
width: 100%;
height: auto;
position: relative;
float: left;
z-index: 5000;
margin-bottom:12px;
}

#services-content {
width: 88%;
height: auto;
position: relative;
float: left;
}

flagship {
width: 100%;
height: auto;
position: relative;
float: left;
z-index: 5000;
}

#flagship-content {
width: 88%;
height: auto;
position: relative;
float: left;
}

values {
width: 100%;
height: auto;
position: relative;
float: left;
z-index: 5000;
}

#values-content {
width: 88%;
height: auto;
position: relative;
float: left;
/* padding-top:25px; */
}

contact {
width: 100%;
position: relative;
float: left;
z-index: 5000;
}

#contact-content {
width: 88%;
height: auto;
position: relative;
float: left;
}

#logo{
width:85px;
height:277px;
background-size: contain;
background-repeat: no-repeat;
margin-top:10px;
margin-bottom:5px;
background-color: rgba(19, 19, 19, 0);
}

.productholder_m {
padding-top: 50px;
display: grid;
grid-template-columns: repeat(1, auto);
gap: 5px;
row-gap: 12px;
width: fit-content;
z-index: 30000;
opacity: 1;
}

.product_a {
background-size: contain;
background-repeat: no-repeat;
width: fit-content;
height: 100%;
position: relative;
z-index: 30000;
border: 1px solid #2a2a2a;
padding-bottom: 7px;

}

.text{
color:rgba(125, 123, 123, 0.702);
font-size:13px;
opacity:1;
text-align: center;
}

.text.active_a{
font-size:15px;
opacity:1;
}

.overlay-content {
position: relative;
width: 80%;
float:left;
font-family: monospace;
font-size: 18px;
margin-top: 0px;
margin-right:30px;
}

.overlay-content input[type=text],
select,
textarea {
padding: 7px;
text-align: left;
}

.overlay-content {
font-size: 15px;
padding-top: 0;
margin-top: 0; 
width: 84%;
}

.overlay-content .btn {
text-align: left;
padding: 7px 7px;
}

#message{
height:120px;
margin-top: 1px;
}

#contact-content {
margin-bottom:80px ;
}

#hider{
display: none !important;
} 


#founder {
width: 80px;
height: 80px;
/* border-radius: 50%; */
background-image: url('lgoo.png'); /* Replace with your actual image path */
background-size: cover; /* Slight improvement over 'contain' for this use */
background-position: center;
background-repeat: no-repeat;
background-clip: border-box; /* Makes sure image goes behind the border */
/* border: 2px solid rgba(254, 254, 254, 0.6); */
margin-top: 18px;
box-sizing: border-box; /* Ensures border is included in size */
background-color: rgb(19, 19, 19) !important;
border-radius: 8px;
z-index: 5000;

}





}