/* Table of Content */

/* 1.   Global variables*/

/* 2.   Basic resets */

/* 3.   Global Classes */

/* 4.   General styling */

/* Table of Content ends*/

/**************************************************************************************************************/ /**************************************************************************************************************/
/****************************************************************************************************************/
/****************************************************************************************************************/

/* 1.   Global variables*/
/*:root {
    --clr-primary-dark-blue: hsl(228, 39%, 23%);
    --clr-primary-bright-red: hsl(12, 88%, 59%);
    --clr-primary-button-box-shadow: hsl(12, 60%, 45%);
    --clr-neutral-bright-red-hover: hsl(13, 100%, 75%);
    --clr-neutral-very-pale-red: hsl(13, 100%, 96%);
    --clr-neutral-dark-grayish-blue: hsl(227, 12%, 61%);
    --clr-neutral-very-dark-blue: hsl(233, 12%, 13%);
    --clr-neutral-very-light-gray: hsl(0, 0%, 98%);
    --ff-primary: "Be Vietnam Pro", sans-serif;
    --ff-body: var(--ff-primary);
    --ff-primary-heading: var(--ff-primary);
    --ff-secondary-heading: var(--ff-primary);
    --ff-tertiary-heading: var(--ff-primary);
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-bold: 700;
    --fs-xs: 0.9rem;
    --fs-sm: 1rem;
    --fs-md: 1.875rem;
    --fs-lg: 2.5rem;
    --fs-primary-heading: var(--fs-lg);
    --fs-secondary-heading: var(--fs-md);
    --fs-tertiary-heading: var(--fs-secondary-heading);
    --fs-body: var(--fs-sm);
    --fs-nav: var(--fs-xs);
    --fs-button: 0.8125rem;
    --lg-padding: 2rem;
    --md-padding: 1.5rem;
    --sm-padding: 1rem;
    --xs-padding: 0.6rem;
    --section-padding-block: var(--lg-padding);
  } */
  
  /* 1.   Global variables ends */
  
  /****************************************************************************************************************/
  /****************************************************************************************************************/
  /****************************************************************************************************************/
  
  /* 2.   Basic resets */
  
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  /* Remove default margin */
  * {
    margin: 0;
    padding: 0;
    font: inherit;
  }
  
  /* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
  ul[role="list"],
  ol[role="list"] {
    list-style: none;
  }
  
  /* Set core root defaults */
  html:focus-within {
    scroll-behavior: smooth;
  }
  
  html,
  body {
    min-height: 100%;
  }
  
  /* Set core body defaults */
  body {
    text-rendering: optimizeSpeed;
    line-height: 1.5;
  }
  
  /* A elements that don't have a class get default styles */
  a:not([class]) {
    text-decoration-skip-ink: auto;
  }
  /* Remove all underline decoration from anchor tags */
  a {
    text-decoration: none;
  }
  
  /* Remove border from all buttons and center the text within */
  
  button,
  button:is(:hover, :focus-visible) {
    border: 0;
    line-height: 0;
  }
  
  /* Make images easier to work with */
  img,
  picture,
  svg {
    max-width: 100%;
    display: inline-block;
  }
  
  /* Remove all animations and transitions for people that prefer not to see them */
  @media (prefers-reduced-motion: reduce) {
    html:focus-within {
      scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }
  
  /* 2.   Basic resets ends */



*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a{
    text-decoration: none;
    background-color: rgb(45, 129, 255);
    color: whitesmoke;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}
.brand img{
    width: 5rem;
}

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    height: 15vh;
}
header .highlight, header .current a{
    color:#00758a;
    font-weight: bold;
}


.navbar{
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1rem;
}
main{
    height: calc(100vh - 15vh);
    position: relative;
}
.cal::before{
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.cal{
    background-image: url("../images/carousel-3.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}
.login{
    background-image: url("../images/feature.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}
form{
    position: relative;
    z-index: 3;
    width: 30%;
    height: 60vh;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 20px 20px 60px rgb(45, 129, 255),
    -20px -20px 60px rgb(45, 129, 255);
}
.form-group > *{
    display: block;
    width: 100%;

}
input,select{
    padding: 5px 10px;
    border: 0;
    border-radius: 5px;
    margin-block-start: 0.5rem;
}
input:focus{
    border: 1px solid rgb(182, 210, 255)
}
button{
    padding: 0.5em;
    border: 1px solid rgb(45, 129, 225);
    background-color:  rgb(45, 129, 225);
    cursor: pointer;
    border-radius: 5px;
    font-size: 1rem;
    margin-block: 1rem;
    color: rgb(247, 248, 248);
}
label{
    color:rgb(235, 241, 248);;
}
/* Home Cards */
.home-cards{
    display:grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap:20px;
    margin-bottom: 40px;
}
  
.home-cards img{
    width: 100%;
    margin-bottom: 20px;
    padding-top: 70px;
}
  
.home-cards h3{
    margin-bottom: 5px;
    color: rgb(7, 105, 233);
}
  
.home-cards a{
    display:inline-block;
    padding-top: 10px;
    color:#e3eef7;
    text-transform:uppercase;
    font-weight: bold;
}
  