@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600;700&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --curly-font: "Cormorant Garamond", serif;
  --dark-blue: #000e67;
  --light-blue: #54758a;
  --yellow: #f0b323;
  --bright-blue: #0032a0;
  --deep-blue: #2e364a;
  --gray: #00000070;
  --sky-blue:#257aa4;
}

.wrap{
    flex-wrap: wrap;
  }

body {
  font-family: "Montserrat", sans-serif;
  background-color: #f8f8f8;
}

a {
  text-decoration: none;
  color: inherit;
}

.flex-class {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bg-class {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

ul {
  list-style: none;
}

.hero{
  width: 100%;
  background-color: var(--sky-blue);
  background-image: linear-gradient(0deg, #44a7d4 0%, #3991bd 100%);
  position: relative;
  padding: 60px 0;
  padding-bottom: 120px;
  flex-direction: column;
}

.content-wrapper{
  width: 60%;
  margin:70px auto;
}

.hero .main-title{
  color: #fff;
  font-size: 60px;
  font-weight: 700;
}

.hero .tag-lines{
  font-size: 20px;
  color: #fff;
  font-weight: 400;
}

/* .hero .main-title span{
  font-family: cooper-black-std, serif;
} */

.hero .subtitle{
  color: #fff;
  font-weight: 600;
  font-size: 30px;
  text-align: center;
}

.course-cards {
  position: absolute;
  bottom: -100px;
  left: 00;
  right: 0;
  background-color: transparent;
  z-index: 2;
  width: 100%;
}

.hero .course-cards a{
  margin: 20px;
  width: 25%;
  min-width: 180px;
}


.hero .course-cards a .card{
  height: 150px;
  width: 100%;
  background-color: #fff;
  border-radius: 10px;
  border: 2px solid #dbdbdb;
  box-shadow: 4px 4px 20px 8px #00000020;
  flex-direction: column;
  padding: 10px;
  transition: 0.3s box-shadow ease;
}

.hero .course-cards a .card:hover{
  box-shadow: 2px 2px 5px #00000010;
}

.hero .course-cards a .card .title{
  color: var(--sky-blue);
  font-size: 40px;
  font-weight: 700;
}

.hero-two{
  height: 500px;
  width: 100%;
  background-color: #f8f8f8;
}

.hero .course-cards a .card .rankers{
  background-image: linear-gradient(600deg, #89f7fe 0%, #66a6ff 100%);
  padding: 8px;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  margin-top: 10px;
  text-align: center;
}

input#search{
  padding: 15px 10px;
  width: 100%;
  border: none;
  outline: none;
  border-radius: 10px;
}

.input-wrapper{
  position: relative;
background-color: #fff;
margin-top: 30px;
border-radius: 10px;
box-shadow: 4px 4px 10px 10px #00000010;
}

.input-wrapper .icon{
  background-color: #fff;
  margin-right: 10px;
  border-radius: 100%;
  padding: 8px;
}

.input-wrapper .icon:hover{
  background-color: #dbdbdb;
}

.input-wrapper .search-results{
  position: absolute;
  top: 110%;
  left: 0;
  right: 0;
  border-radius: 5px;
  background-color: #f8f8f8;
  z-index: 10;
  text-transform: capitalize;
  display: none;
  max-height: 400px;
  overflow-y: scroll;
  border-bottom: 2px solid#dbdbdb;
}

.input-wrapper .search-results a .search-card{
  width: 100%;
  padding: 20px 10px;
  justify-content: flex-start;
}

.input-wrapper .search-results a .search-card .left{
  width: 70px;
  height: 100%;
}

.input-wrapper .search-results a .search-card .left img{
  width: 100%;
  height: 100%;
}


.input-wrapper .search-results a .search-card .right{
  padding-left: 20px; 
}

.input-wrapper .search-results a .search-card .right .title{
  font-weight: 700;
}

.input-wrapper .search-results a .search-card:hover{
  background-color: #ececec;
}

.input-wrapper .search-results a .search-card .right .tag-holder{
  justify-content: flex-start;
}

.input-wrapper .search-results a .search-card .right .tag{
  background-color: #00000020;
  padding: 3px 5px;
  margin-right: 8px;
  margin-top: 5px;
  border-radius: 5px;
}


@media only screen and (max-width:920px){
  .hero .course-cards a{
    margin: 30px 10px;
    width: 30%;
  }

  .content-wrapper{
    width: 80%;
    /* margin: 100px 0; */
  }
}

@media only screen and (max-width:610px){
  .hero .course-cards{
    flex-direction: column;
  }

  .hero .course-cards .card{
    width: 100%;
  }

  .hero .course-cards a{
    width: 90%;
    margin: 10px;
  }
  .course-cards{
    position: relative;
    bottom: unset;
    margin-top: 20px;
  }

  .hero{
    padding: 0;
    padding-bottom: 30px;
  }

  .hero .content-wrapper{
    width: 90%;
  }
}

@media only screen and (max-width:400px){
  .hero .main-title{
    font-size: 40px;
    margin-bottom: 10px;
  }

  .hero .tag{
    font-size: medium;
  }
}