@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600&display=swap');

:root{
   --purple:#8e44ad;
   --red:#c0392b;
   --orange:#f39c12;
   --black:#333;
   --white:#fff;
   --light-color:#666;
   --light-white:#ccc;
   --light-bg:#f5f5f5;
   --border:.1rem solid var(--black);
   --box-shadow:0 .5rem 1rem rgba(0,0,0,.1);
}

*{
   font-family: 'Rubik', sans-serif;
   margin:0; padding:0;
   box-sizing: border-box;
   outline: none; border:none;
   text-decoration: none;
   transition:all .2s linear;
}

*::selection{
   background-color: var(--purple);
   color:var(--white);
}

*::-webkit-scrollbar{
   height: .1rem;
   width: .1rem;
}

*::-webkit-scrollbar-track{
   background-color: transparent;
}

*::-webkit-scrollbar-thumb{
   background-color: var(--purple);
}

html{
   font-size: 62.5%;
   overflow-x: hidden;
}

section{
   padding:3rem 2rem;
}

.empty{
   padding:1.5rem;
   text-align: center;
   border:var(--border);
   background-color: var(--white);
   color:var(--red);
   font-size: 2rem;
}

q1

.message span{
   font-size: 2rem;
   color:var(--black);
}

.message i{
   cursor: pointer;
   color:var(--red);
   font-size: 2.5rem; 
}

.message i:hover{
   transform: rotate(90deg);
}

.title{
   font-family: 'Gloria Hallelujah', cursive;
   color: rgb(243, 242, 242);
   text-shadow: 1px 1px 0 #333;
   text-align: center;
   margin-bottom: 2rem;
   text-transform: uppercase;
   font-size: 1rem;
}

.btn,
.option-btn,
.delete-btn,
.white-btn{
   display: inline-block;
   margin-top: 1rem;
   padding:1rem 3rem;
   cursor: pointer;
   color:var(--white);
   font-size: 1.8rem;
   border-radius: .5rem;
   text-transform: capitalize;
}

.btn:hover,
.option-btn:hover,
.delete-btn:hover{
   background-color: var(--black);
}

.white-btn,
.btn{
   background-color: var(--purple);
}

.option-btn{
   background-color: var(--orange);
}

.delete-btn{
   background-color: var(--red);
}

.white-btn:hover{
   background-color: var(--white);
   color:var(--black);
}



.heading h3{
   font-size: 5rem;
   color:var(--black);
   text-transform: uppercase;
}

.heading p{
   font-size: 2.5rem;
   color:var(--light-color);
}

.heading p a{
   color:var(--purple);
}

.heading p a:hover{
   text-decoration: underline;
}

@keyframes fadeIn {
   0%{
      transform: translateY(1rem);
      opacity: .2s;
   }
}



.header .header-2{
   background-color: var(--white);
   box-shadow: 10px 10px 5px rgb(63, 63, 63);
}

.header .header-2 .flex {
   padding: 2rem;
   display: flex;
   justify-content: center; /* Center horizontally */
   align-items: center;
   max-width: 1200px;
   margin: 0 auto;
   position: relative;
}

.header .header-2 .flex .logo {
   font-size: 3.5rem;
   color: var(--purple);
   text-align: center;
  font-family: 'Rock Salt',Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}


.home{
   min-height: 70vh;
   background:linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,.7)), url(../images/home-bg.jpg) no-repeat;
   background-size: cover;
   background-position: center;
   display: flex;
   align-items: center;
   justify-content: center;
}

.home .content{
   text-align: center;
   width: 60rem;
}

.home .content h3{
   font-size: 5.5rem;
   color:var(--white);
   text-transform: uppercase;
}

.home .content p{
   font-size:1.8rem;
   color:var(--light-white);
   padding:1rem 0;
   line-height: 1.5;
}
.products {
   background: url('bg.png') no-repeat center center fixed;
   background-size: cover;
   font-family: 'Caveat', cursive;
   padding: 2rem 2rem;
}

/* Entire section */
.products {
   padding: 2rem;
   font-family: 'Gloria Hallelujah';
   color: #fff;
}

/* Section title */
.products .title {
   font-family: 'Rock Salt',Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
   text-align: center;
   font-size: 2.2rem;
   margin-bottom: 2rem;
   color: #fff;
   text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Container for all posts */
.box-container {
   display: flex;
   flex-direction: column;
   gap: 2rem;
}

/* Each job/exam post */
.box {
   position: relative;
   padding: 2rem;
   border-left: 1px solid white;
   border-top: 1px dashed rgba(255, 255, 255, 0.4);
   border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
   margin-left: 2rem;
   padding-left: 4rem;
   background: transparent;
}

/* Date badge on the left */
.date-badge {
   position: absolute;
   top: 1rem;
   left: -3rem;
   background: #fff;
   color: #000;
   padding: 1rem 1rem;
   border-radius: 50px;
   font-size: 1rem;
   font-weight: bold;
   font-family: monospace;
   box-shadow: 1px 1px 5px rgba(255,255,255,0.2);
}

/* Job/exam title */
.job-title {
   font-size: 2rem;
   color: #fff;
   margin-bottom: 1rem;
   text-transform: uppercase;
}

/* Details inside the post */
.box p {
   margin: 0.4rem 0;
   font-size: 1.5rem;
   line-height: 1.4;
}

/* Apply button */
.btn {
   display: inline-block;
   margin-top: 1rem;
   padding: 0.5rem 0.5rem;
   background: #ffffff;
   color: #000;
   border-radius: 4px;
   text-decoration: none;
   font-weight: bold;
   transition: 0.3s ease;
}

.btn:hover {
   background: #eee;
}





.footer {
   color: white;
   text-align: center;
   font-size: 1.5rem;
   padding: 1.5rem 1rem;
   font-family: 'Gloria Hallelujah', cursive;
   margin-top: 3rem;
}

.footer a {
   color: var(--purple); /* or a hex code like #9c27b0 */
   text-decoration: none;
}

.footer a:hover {
   text-decoration: underline;
}

.footer .credit span {
   color: var(--purple); /* or use a specific purple hex */
   font-weight: bold;
}



/* media queries  */

@media (max-width:991px){

   html{
      font-size: 55%;
   }

}

@media (max-width:768px){

   .home .content h3{
      font-size: 3.5rem;
   }

}

@media (max-width:450px){

   html{
      font-size: 50%;
   }

   .heading h3{
      font-size: 3.5rem;
   }

   .title{
      font-size: 3rem;
   }

}