

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 1.5rem;
  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(93, 54%, 54%);
  --first-color-alt: hsl(93, 50%, 48%);
  --first-color-light: hsl(93, 58%, 66%);
  --title-color: hsl(228, 8%, 98%);
  --text-color: hsl(228, 8%, 70%);
  --white-color: hsl(228, 8%, 98%);
  --black-color: hsl(228, 6%, 4%);
  --body-color: hsl(228, 6%, 8%);
  --container-color: hsl(228, 6%, 12%);
  --shadow-img: 0 0 48px hsla(93, 54%, 54%, .4);
  --gradient-card: linear-gradient(180deg,
                                hsla(93, 8%, 8%),
                                hsla(93, 40%, 30%));

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Montserrat", sans-serif;
  --biggest-font-size: 2.25rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-semi-bold: 600;
  --font-bold: 700;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
  :root {
    --biggest-font-size: 4.25rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: white;
  color: var(--text-color);
}



ul {
  list-style: none;
}

a {
  text-decoration: none;
  font-size: 0.875rem;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

.main {
  overflow: hidden;
}

.home-swiper{
  overflow: hidden;
}

.mainpage{
  background-image: url('uumglance.png');
  background-size: cover; /* Cover the entire page */
  background-position: center; /* Center the background image */
  background-repeat: no-repeat;
  position: relative;
  height: 65vh;
}


/*=============== HEADER & NAV ===============*/
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: #303030;
  z-index: var(--z-fixed);
}

.mainpage::before{
     content: ""; /* Required for the pseudo-element to work */
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background-color: rgba(0, 0, 0, 0.6); /* Adjusts the black overlay and its opacity */
}

.nav {
  position: relative;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo, 
.nav__close, 
.nav__toggle, 
.nav__actions {
  display: flex;
  color: white;
  cursor: pointer;
}

.nav__logo {
  font-weight: var(--font-semi-bold);
  column-gap: .25rem;
  align-items: center;
    background: linear-gradient(135deg, #a8ff78, #78ffd6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav__logo:hover {
  color: #2ed571;
}

.nav__actions {
  font-size: 0.875rem;
  column-gap: .5rem;
  align-items: center;
}

.nav__actions, .nav__actions * {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-tap-highlight-color: transparent; /* For some Androids */
}


.brand{
   font-family: "Averia Serif Libre", serif;
   font-weight: 1000;
   font-size: 30px;
  }
  
.designation{
   font-family: "Oxygen", sans-serif;
   font-weight: 700;
   font-size: 20px;
}

.login{
   padding: 6px 16px;
   background-color: #22BB5F;
   color: white;
   text-align: center;
   text-decoration: none;
   border-radius: 5px;
   margin-right: 20px;
   font-weight: var(--font-semi-bold);
   font-size: 13px !important;

  }
  
  .employersite{
   padding: 6px 16px;
   background-color: white;
   color: black;
   text-align: center;
   text-decoration: none;
   border-radius: 5px;
   font-weight: var(--font-semi-bold);
   margin-right: 20px;
   border: solid 2px black;
   font-size: 13px !important;

  }


/* Navigation for mobile devices */
@media screen and (max-width: 1150px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    background-color:  #303030;
    width: 80%;
    height: 100%;
    padding: 6rem 3rem 0;
  }

  .nav {
    height: calc(var(--header-height) + 2rem);
  }
  
}

.nav__list {
  display: flex;
  flex-direction: column;
  row-gap: 3rem;
}

.nav__link {
  color: white;
  transition: color .4s;
}

.nav__link:hover {
  color: #22BB5F;
}

.nav__close {
  position: absolute;
  top: 1.15rem;
  right: 1.5rem;
  font-size: 1.25rem;
}

/* Show menu */
.show-menu {
  right: 0;
}

.hide-name{
  z-index: -1;
}

/* Add blur header */
.blur-header::after {
  content: "";
  position: absolute;
  width: 1000%;
  height: 100%;
  background-color: hsla(228, 24%, 6%, .2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  top: 0;
  left: 0;
  z-index: -1;
}

/* Active link */
.active-link {
  color: var(--first-color);
}




/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 320px) {
  .container {
    margin-inline: 1rem;
  }
}

@media screen and (max-width: 500px) {
  .login{
    padding: 5px 10px;
    background-color: #22BB5F;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 10px;
    font-size: .9rem;
    font-weight: var(--font-semi-bold);
   }

   .employersite{
    padding: 5px 10px;
    background-color: white;
    color: black;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-weight: var(--font-semi-bold);
    font-size: .9rem;
    margin-right: 10px;
   }

   .brand{
    font-weight: 700;
    font-size: 28px;
   }
   
 .designation{
    font-weight: 700;
    font-size: 20px;
 }
}




@media screen and (min-width: 768px) {
  .nav__menu {
    width: 50%;
  }
}


/* For large devices */
@media screen and (min-width: 1150px) {
  .container {
    margin-inline: auto;
  }


  .nav {
    height: calc(var(--header-height) + 2rem);
  }
  .nav__toggle, 
  .nav__close {
    display: none;
  }
  .nav__logo i {
    font-size: 1.5rem;
  }
  .nav__menu {
    width: initial;
  }
  .nav__list {
    flex-direction: row;
    column-gap: 3.5rem;
  }
  .nav__actions {
    font-size: 1.5rem;
    column-gap: 1rem;
  }
}

.home-text {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 60vh;
}

.home-text h1 {
  font-size: 3rem;
  color: white !important;
  max-width: 90%; /* Adjusted for responsiveness */
  text-align: center;
  z-index: 1;
  margin-bottom: 15px;
}

.input {
  position: relative;
  display: inline-block;
}

.search-input {
  padding: 10px 40px 15px 20px;
  border-radius: 5px;
  border: none;
  background-color: white;
  color: black;
  font-size: 1rem;
  width: 600px; /* Set a fixed width */
}

.search-icon {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  color: black;
  cursor: pointer;
}

    button {
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        /* Add any other styling you need */
    }

.home-text input::placeholder {
  color: rgb(196, 184, 184);
}

/* Media queries for responsiveness */
@media screen and (max-width: 768px) {
  .search-input {
    padding: 10px 20px 15px 20px; /* Adjusted padding for smaller screens */
    width: 440px;
  }
  .mainpage{
    height: 50vh;
  }
}

@media screen and (max-width: 600px) {
  .home-text h1 {
    font-size: 2.5rem; /* Adjusted font size for smaller screens */
  }

  .search-input {
    width: 300px; /* Adjusted max-width for smaller screens */
  }

  .mainpage{
    height: 50vh;
  }
}

@media screen and (max-width: 400px) {
  .home-text h1 {
    font-size: 2rem; /* Further adjusted font size for even smaller screens */
  }

  .search-input {
    max-width: 300px; /* Further adjusted max-width for even smaller screens */
  }
  .mainpage{
    height: 50vh;
  }
}


/* Flex container */
.stats-container {
  display: flex;
  justify-content: space-around; /* This will space out the flex items evenly */
  background-color: #004643; /* The color from your image */
  color: #ffffff;
  padding: 20px; /* Adjust as needed */
  align-items: center;
  height: 30vh;
}

/* Flex items */
.stat {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centers the items horizontally in the flex direction */
  flex-basis: calc(33.333% - 40px); /* Adjust the basis and subtract the total padding/margin */
  text-align: center; /* Aligns the text of the stat-label and stat-number */
}

.stat-icon {
  /* Add styles for your icons here */
  margin-bottom: 10px; /* Space between icon and number */
  color: #2ed571;
}

#job-number, #employer-number, #student-number {
  font-size: 4rem; /* Adjust as needed */
  margin-bottom: 5px; /* Space between number and label */
  font-weight: bolder;
}

.stat-label {
  font-size: 1em; /* Adjust as needed */
  color: #2ed571;
}

/* Responsive behavior */

@media (max-width: 800px) {
  #job-number, #employer-number, #student-number{
    font-size: 3rem;
  }
}
@media (max-width: 600px) {
  .stats-container {
      flex-direction: column;
      height: 70vh;
      padding-top: 30px;
  }
  .stat {
      margin-bottom: 20px; /* Space between items when stacked */
      flex-basis: 100%; /* Each item takes full width */
  }

  #job-number, #employer-number, #student-number{
    font-size: 2rem;
  }
}

.instruction-container {
  max-width: 95%;
  margin: auto;
  text-align: center;
  padding: 7rem;
}

.instruction-container h2{
  font-size: 2rem;
  color: black;
  padding-bottom: 2rem;
}

.instruction-container p{
  font-size: 1.2rem;
  color: black;
  padding-bottom: 4rem;
}

.steps-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 1rem; /* ensures space between items */
  flex-wrap: wrap;
}

.step {
  flex: 1; /* each step will take equal space */
  border: 1px solid #ccc;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  min-width: 250px; /* minimum width for each step */
}

.step:hover{
  background-color: #22BB5F;
}

.step h3 {
  margin: 0;
  padding: 1rem;
  font-size: 3rem;
  color: black;
}

.step h4 {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  color: black;
}

.step p {
  font-size: 1rem;
}


/* Centering adjustments for screens that are exactly 1200px */
@media (max-width: 1200px) {
  .steps-container {
    max-width: 1100px; /* Adjust this value as needed to keep steps-container centered */
    margin: auto; /* Center the container */
  }
}


@media screen and (max-width: 800px) {
  .instruction-container h2, .short-container h2{
    font-size: 2.5rem;
  }

  .instruction-container p{
    font-size: 1rem;
  }
}

@media screen and (max-width: 650px) {
  .instruction-container h2{
    font-size: 2.2rem;
  }

  .instruction-container p{
    font-size: .9rem;
  }
}

@media (max-width: 500px) {
  .instruction-container {
    width: 100%; /* Ensures container takes full width */
    padding: 0; /* Resets any padding that might affect the width */
  }

  .instruction-container h2{
    padding-top: 3rem;
    font-size: 1.8rem;
  }

  .steps-container {
    flex-direction: column;
    align-items: center; /* This will center the children (.step divs) horizontally */
    justify-content: center; /* This will center the children vertically (if needed) */
    margin: 0; /* Removes any margin that might affect centering */
    width: 100%; /* Ensure the container takes full width */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    margin-bottom: 3rem;
  }

  .step {
    width: 60%; /* Slightly smaller width for some padding on the sides */
    margin: 10px auto; /* Centers the step divs and adds some space between them */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
  }
}

.video-container {
  position: relative;
  width: 80%;
  height: 200px; /* or whatever height you want */
  overflow: hidden;
  border-radius: 50px; /* To create the rounded effect */
}

.background-video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* This will ensure that the video covers the entire container */
  position: absolute;
  z-index: -1; /* This will push the video to the back */
}

.content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-around; /* This will space out the login and register buttons */
  align-items: center;
  flex-direction: column;
  text-align: center;
  color: white;
}

.content button {
  border: 2px solid white;
  background-color: transparent;
  color: white;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  margin: 5px;
}

.content p {
  margin-top: 10px;
  font-size: 1rem;
}

/* Add media queries to make the text smaller on smaller screens */
@media (max-width: 600px) {
  .content p {
    font-size: 0.8rem;
  }

  .content button {
    padding: 5px 10px;
    font-size: 0.8rem;
  }
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 900px; /* Set a max-width for larger screens */
  margin: auto; /* This centers the video container */
  overflow: hidden; /* Ensures the video doesn't overflow its container */
  border-radius: 500px; /* Rounded corners for the video container */
  margin-bottom: 3rem;
  -webkit-mask-image: -webkit-radial-gradient(white, black);

}

.background-video {
  width: 100%;
  height: auto; /* Maintain aspect ratio */
}

.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Center the content */
  text-align: center;
  color: #fff; /* Adjust color as needed */
}

.content-button{
  margin-bottom: -4rem;
}

.login-button,
.register-button {
  margin: 0 10px;
  padding: 10px 20px;
  border: none;
  background-color: #fff;
  color: #333;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.login-button:hover,
.register-button:hover {
  background-color: #ddd;
}

@media (max-width: 1000px) {
  .content p {
    font-size: 14px;
    padding: 0 20px; /* Adjust padding for smaller screens */
  }

  .login-button,
  .register-button {
    padding: 8px 16px;
  }

  .video-container{
    max-width: 700px;
  }
}

@media (max-width: 750px) {
  .content p {
    font-size: 12px;
    padding: 0 20px; /* Adjust padding for smaller screens */
  }

  .login-button,
  .register-button {
    padding: 6px 14px;
  }

  .video-container{
    max-width: 600px;
  }
}

@media (max-width: 650px) {
  .content p {
    font-size: 12px;
    padding: 0 20px; /* Adjust padding for smaller screens */
  }

  .login-button,
  .register-button {
    padding: 4px 12px;
  }

  .video-container{
    max-width: 500px;
  }
}

@media (max-width: 550px) {
  .content p {
    font-size: 11px;
    padding: 0 20px; /* Adjust padding for smaller screens */
  }

  .login-button,
  .register-button {
    padding: 4px 12px;
  }

  .video-container{
    max-width: 350px;
  }

  .content-button{
    display: flex;
    flex-direction: column;
  }
}