@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Outfit", sans-serif;
}

html{
    
    font-family: "Outfit", sans-serif;
}

body{
    background-color: black;
    overflow-x: hidden;
}

nav{
    height: 50px;
    width: 100%;
    background-color: black;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    z-index: 100;
}

.unlocked_logo{
    width: 145px;    
    position: absolute;
    left: 10px;
    align-items: center;
    justify-content: center;
}

.links-container{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    
}
nav a{
    height: 100%;
    padding: 0 15px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color:white ;
    transition: .5s;
    font-size: 18px;
    font-weight: 450;    
}

nav a:hover{
   background-color: rgb(255, 0, 0);
   border-radius: 8px;
   /*color: red;*/
}
nav a.active{
   color: red;
}
nav a.active:hover{
   color: rgb(255, 255, 255);
}


nav #home-link{
    margin-left: auto;
}

nav svg{
    fill: var(--text-color);
}

.close-sidebar-button,
.open-sidebar-button{
    background-color: red;
    border-radius: 5px;
    margin: 7px;
}


#sidebar-active{
    display: none;
}
.open-sidebar-button, .close-sidebar-button{
    display: none;
}

@media (max-width: 720px) {
    .links-container{
        flex-direction: column;
        align-items: flex-start;
        position: fixed;
        top: 0;
        right: -100%;
        width: 50%;
        z-index: 10000;
        background-color: #000000;
        box-shadow: -5px 0 5px rgba(0,0,0,0.25);
        transition: .75s ease-out;
    }
    nav a{
        box-sizing: border-box;
        height: auto;
        width: 100%;
        padding: 20px 30px;
        justify-content: flex-start;
    }
    .open-sidebar-button, .close-sidebar-button{
        display: block;
        
    }
    #sidebar-active:checked ~ .links-container{
        padding: 10px;
        right: 0;
    }
    #sidebar-active:checked ~ #overlay{
        height: 100%;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 10;
    }
}

/* image slider */
.slider{
width: 100%;
max-width: 100vw;
height: 100vh;
margin: auto;
position: relative;
overflow: hidden;
}

.slider .list{
position: absolute;
width: max-content;
height: 100%;
left: 0;
top: 0;
display: flex;
transition: 1s;
}
.slider .list img{
width: 100vw;
max-width: 100vw;
height: 100vh;
object-fit: cover;
}
.slider .buttons{
position: absolute;
top: 45%;
left: 5%;
width: 90%;
display: flex;
justify-content: space-between;
}
.slider .buttons button{
height: 60px;
width: 60px;
border-radius: 50%;
background-color: rgba(138, 138, 138, 0.333);
color: #ffffff;
opacity: 0.5;
border: none;
font-weight: 800;
z-index: 11;
}
.slider .buttons button:hover{
opacity: 1;
}

.slider .dots{
position: absolute;
bottom: 80px;
left: 0;
color: #fff;
width: 100%;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
}
.slider .dots li{
list-style: none;
width: 10px;
height: 10px;
background-color: #fff;
margin: 10px;
border-radius: 20px;
transition: 0.5s;
}
.slider .dots li.active{
width: 30px;
}

@media (max-width: 720px) {
.slider{
    width: 100vw;
    height: 655px;
    background-size: contain;
}    
.slider .dots{
    bottom: 30px;
}

}

/*end of slider css*/

.title_of_comics{
    font-size: 24px;
    color: white;
    margin-left: 20px;
    text-align:left;
    justify-content: center;
}


/* ---- course ---- */

.course{
padding-top: 50px;
margin: auto;
width: 90%;
height: 100%;
text-align: center;
}
.course h1{
font-size: 59px;
color: red;
font-weight: 700;
}
.course .welcome{
color: #ffffff;
font-size: 38px;
font-weight:300;
padding: 10px;
}
@media (max-width: 720px) {
    .course h1{
        font-size: 40px;
    }
    .course .welcome{
        font-size: 15px;
    }
}
.shadow-text{
    color: #f70000;
    text-shadow: 0px 0pt 25px red;
}
.shadow-text-black{
    color: #f70000;
    text-shadow: 0px 0pt 25px rgb(0, 0, 0);
}
.row{
margin-top: 5%;
display: flex;
justify-content: space-between;
}

.course-col{
flex-basis: 100%; 
background-color: black;
border-radius: 10px;
margin-bottom: 5%;
padding: 20px 12px;
box-sizing: border-box;
transition: 0.5s;
}
.course-col h3{
text-align: center;
font-size: 33px;
font-weight: 600;
margin: 10px 0;
color: white;
}
.course-col p{
text-align: left;
font-size: 18px;
margin: 10px 0;
color: rgb(255, 255, 255);
margin-bottom: 20px;
}
.course-col:hover{
box-shadow: 0 0 20px 0 rgba(0,0,0,0.2);
}
.course_left{
    text-align: left;
    height: 40px;
}
.SILVERSTONE h1{
    color: hsl(120, 100%, 55%);
}
.STORY h1{
    color: hsl(0, 100%, 55%);
}
@media (max-width: 720px) {
.row{
    flex-direction: column;
}    
}
.towardspdf{
    text-decoration: none;
    color: white;
}
.logo_icon:hover{
    background-color: transparent;
}
.heading-homepage {
    font-size: 35px; 
    font-weight: bold;
    text-align: center; 
    margin: 20px 0;
    margin-bottom: -80px;
    padding-left: 70px;
    color: #ff0000;
    text-transform: uppercase;
    text-align: left;  
    width:90%;
}
@media (max-width: 720px) {
    .heading-homepage {
        font-size: 30px;
        padding-left: 20px;
    }
}
.font-capi {
    font-size: 35px; 
    font-weight: bold;
    text-align: center; 
    margin: 20px 0;
    margin-bottom: -80px;
    padding-left: 70px;
    color: #ff0000;
    text-align: left;  
    width:90%;
}
@media (max-width: 720px) {
    .font-capi {
        font-size: 30px;
        padding-left: 20px;
    }
}
/*footer*/  
footer{
    font-family: "Outfit", sans-serif; 
    width: 100%;
    height: auto;
    background: hsl(0, 0%, 15%);
    padding-bottom: 5px;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px ;
    padding-left: 30px;
    bottom: 0px;
}
.square{
    font-family: "Outfit", sans-serif; 
    width: 100%;
    height: auto;
    margin-top: 10px;
    margin-left: 0px;
    padding: 0px !important;
    padding-bottom: 20px;
}
.brand{
    font-family: "Outfit", sans-serif; 
    margin-top: 20px;
    padding-left: 10px;
    font-size: 28px;
    color: red;
    font-weight: bold;
}
.about{
font-family: "Outfit", sans-serif; 
width: 100%;
text-align: left;
padding: 10px;
color: white;
margin-top: 5px;
}

.heading{
font-family: "Outfit", sans-serif; 
margin-top: 20px;
font-size: 28px;
color: red;
font-weight: bold;
text-align: center;
}

.p-list{
padding: 0;
}

.p-list li{
display: block;
text-align: center;
margin: 5px 0px;
color: white;
}
.p-list li a{
font-family: "Outfit", sans-serif; 
text-decoration: none;
color: white;
}
.p-list li a:hover{
color: red;
}

.l-list{
padding: 0;
}

.l-list li{
font-family: "Outfit", sans-serif; 
display: block;
text-align: center;
margin: 5px 0px;
color: white;
}
.l-list li a{
 font-family: "Outfit", sans-serif; 
text-decoration: none;
color: white;
}
.l-list li a:hover{
color: red;
}
.l-list li a.acti{
color: red;
}

.contact{
padding: 0;
}

.contact li{
display: block;
text-align: center;
margin: 5px 0px;
color: white;
}

.social-media{
text-align: center;
margin-top: 5px;
}

.social-media li{
display: inline-flex;
color: white;
margin: 5px;
font-size: 28px;
}
.social-media a i.fa-facebook{
    font-size: 25px;
}
/*icon hover*/
.social-media a i.fa-facebook:hover{
color:  #17A9FD;
}
.social-media a i.fa-youtube:hover{
color: #ff0000;
}
.social-media a i.fa-whatsapp:hover{
color: #4FCE5D;
}
/* Style the hover effect for the Instagram logo */
.social-media a i.fa-instagram:hover {
/* Set the background gradient */
background: linear-gradient(45deg, #F58529, #FEDA77, #DD2A7B, #8134AF, #515BD4);
-webkit-background-clip: text;
background-clip: text;
/* Make the text color transparent to show the gradient */
color: transparent;
/* For better browser compatibility */
-webkit-text-fill-color: transparent;
}
/* Optional: Ensure the icon has the right size and properties */
.instagram-logo {
display: inline-block;
/* Optional: To center the icon */
line-height: 1;
}
.social-media a,
.copy a{
text-decoration: none;
color: white;
}
.copy{
text-align: center;
color: white;
margin-top: 10px;
font-size: 16px;
font-weight: 600;
}
@media only screen and (max-width: 767px) {
    .heading,
    .brand{
        font-size: 19px ;
    }
    .about, 
    .p-list,
    .l-list,
    .contact,
    .copy{
        font-size: 14px;
    }
    .brand{
        padding-left: 0px;
    }
    .heading{
        text-align: left;
    }
    .square{
        padding: 0px 30px !important;
        margin-top: 10px!important;
    }
    .about{padding: 0px;}
    .p-list li , .l-list li , .contact li, .about{
        text-align: left;
    }
    .social-media{
        padding-left: 0!important;
    }

    .social-media li{
        margin: 5px;
    }
    footer{
        padding-left: 0px;
}
}
.web_name_h:hover{
    color: #ff0000;
}
.dev_name:hover{
color: #17A9FD;

}

/* Scrollbar */
::-webkit-scrollbar {
background-color: transparent;
width: 6px;
}
::-webkit-scrollbar-thumb {
background: #ff0000;
border-radius: 4px;
}


/*selection*/
::selection {
background-color: red;
color: rgb(255, 255, 255); 
}
/* This is for Firefox */
::-moz-selection {
background-color: red;
color: white;
}

.ig {
    width:90%;
    margin: 100px auto 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 50px;
}

.ig img {
    width: 100%;
    cursor: pointer;
    transition: 0.5s ease;
}

.ig img:hover {
    transform: scale(0.95);
    box-shadow: 0 20px 50px rgba(68, 77, 136, 0.2);
}

/* Gallery Wrapping */
.g {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.ac {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 14px 16px rgb(0, 0, 0);
}

.ac img {
    width: 100%;
    height: 100%;
    aspect-ratio: 9/16;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ac:hover img {
    transform: scale(1.1);
}

.read-more-btn {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background-color: red;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: none;
    transition: opacity 0.3s ease;
}


.ac:hover .read-more-btn {
    display: block;
    opacity: 1;
}


.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    background-color: red;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 50%;
    font-size: 16px;
}
.back-button{
    font-size: 20px;
    top: auto;
    border: none;
    outline: none;
    color:#FFF;
    cursor: pointer;
    position: relative;
    z-index: 0;
}

.back-button::after{
    content: "";
    z-index: -1;
    position: fixed;
    background-color: #000000;
}
/*glow*/
.back-button::before{
   content: ""; 
   background:linear-gradient(
    45deg,
    #ff0000,
    gold,
    #002bff,
    #ff00c8,
    #ff0000
   );
   position: absolute;
   top: -2px;
   left: -2px;
   background-size: 600%;
   z-index: -1;
   width: calc(100% + 4px);
   height: calc(100% + 4px);
   filter: blur(8px);
   animation: glowing 20s linear infinite;
   transition: opacity .3s ease-in-out;
   border-radius: 10px;
   opacity: 0;
}

@keyframes glowing {
    0%{background-position: 0 0;}
    50%{background-position: 500% 0;}
    100%{background-position: 0 0;}
    
}
/*hover*/
.back-button:hover::before{
    opacity: 1;
}

.back-button:active::after{
    background:transparent;
}
.back-button:active{
    color: #000;
    font-weight: bold;
}
.text-red{
    color: red;
}
a{
    text-decoration: none;
    color: white;
  }

  .hero {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
    position: relative;
    padding: 0 5%;
    justify-content: center;
    align-items: center;
    background-repeat: repeat;
  }
  .back-video {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
  }

  @media (min-aspect-ratio: 9/16) {
    .back-video {
      width: 100%;
      height: 100%;
    }
  }
  
  @media (max-aspect-ratio: 16/9) {
    .back-video {
      width: 100%;
      height: 100%;
    }
  }

  
/* Popup Overlay */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* semi-transparent background */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    -webkit-backdrop-filter:blur(5px);
    backdrop-filter: blur(5px); 
}

/* Popup Content */
.popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: none;
    width: 90%;
    max-width: 400px;
    text-align: left;
    color: #333;
}

.popup-content h3 {
    margin-top: 0;
}
.terms-btn{
    margin-left: 10px;
}
.terms-btn, .close-btn {
    margin-top: 15px;
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
}
@media only screen and (max-width:767px){
    .terms-btn{
        margin-left: 0px;
    }
}
.terms-btn:hover, .close-btn:hover {
    background-color: red;
}


.contactform {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.212); /* Light transparent white background */
    border-radius: 10px;
    border: none;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

.contactform h1 {
    text-align: center;
    font-size: 2rem;
    color: #ff0000;
    margin-bottom: 20px;
}
.contactform h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #ff0000;
    margin-bottom: 20px;
}
/* Form Styling */
.contactform form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
/* Social Media Button Styling */
.social-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}
.social-buttons button {
    padding: 10px 15px;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s;
}

.social-buttons button:hover {
    transform: scale(1.05);
}

.social-buttons a button:nth-child(1) { background-color: #1da1f2; } 
.social-buttons a button:nth-child(2) {  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-buttons a button:nth-child(3) { background-color: #4FCE5D; } 

.instagram-button {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}
.instagram-button:hover {
    transform: scale(1.05);
}
.instagram-button:active {
    transform: scale(0.98);
}

/* Input Fields */
.contactform input[type="text"],
.contactform input[type="email"],
.contactform select,
.contactform textarea {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s ease;
}
/* Input Focus State */
.contactform input[type="text"]:focus,
.contactform input[type="email"]:focus,
.contactform select:focus,
.contactform textarea:focus {
    border-color: #4CAF50; /* Customize to preferred accent color */
    outline: none;
}
/* Button Styling */
.contactform button[type="submit"] {
    padding: 12px;
    background-color: #4CAF50;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.contactform button[type="submit"]:hover {
    background-color: #2aaeeb;
    transform: scale(1.05);
}
.contactform button[type="submit"]:hover:active {
    background-color: red;
}

/* Textarea Styling */
.contactform textarea {
    min-height: 100px;
    resize: vertical;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contactform {
        margin: 20px;
        width: 90%;
    }
    .contactform h1{
        font-size: 1.8rem;
    }
    .contactform h2{
        font-size: 2.1rem;
    }
    .contactform button[type="submit"] {
        font-size: 0.9rem;
        padding: 10px;
    }
}

/* Optional Styling for Better Aesthetics */
.contactform input[type="text"]::placeholder,
.contactform input[type="email"]::placeholder,
.contactform textarea::placeholder {
    color: #aaa;
    font-style: italic;
}
/* Modal background styling */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000; /* Appears above other elements */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
}

/* Modal content box */
.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 300px;
  text-align: center;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-content p {
  font-size: 16px;
  color: #333;
  margin-bottom: 20px;
}

.modal-content button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.modal-content button:hover {
  background-color: #36d33e;
}

/* Hide the popup overlay by default */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Style for the popup content */
.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    text-align: left;
}

/* Style for the close button */
.close-btn {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
