@import url("https://fonts.googleapis.com/css2?family=Kanit:wght@100&family=Mulish:wght@200&family=Roboto:ital,wght@0,400;0,500;1,500&display=swap");

* {
  margin: 0px;
  padding: 0px;
  font-family: "Roboto", sans-serif;
}
html,
body {
  /* overflow-y: hidden; */
  height: 100%;
  width: 100%;
  background-color: #2f3e56;
}
body {
  overflow-y: scroll;
}
.background-img1 {
  opacity: 0.2;
  background-image: url("./undraw_online_learning_re_qw08.svg");
  position: fixed;
  height: 100%;
  width: 100%;
  z-index: 1;
  object-fit: cover;
  background-repeat: no-repeat;
  background-position: center;
}

a {
  text-decoration: none;
  color: white;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.75rem;
}
ul {
  display: flex;
  list-style: none;
  align-items: start;
  margin-left: 15px;
  gap: 10px;
  /* margin-top: 20px; */
  padding: 20px;
}

li {
  /* margin-left: 25px; */
  font-weight: 500;
  color: white;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  transition: 0.1s all ease;
}
li:hover {
  transform: scale(1.1);
}
#nav-logo {
  height: 50px;
  width: 50px;
  filter: invert();
}
.nav-button {
  background-color: rgba(249, 75, 75, 0.75);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: 0.1s all ease;
  font-weight: 500;
  border: none;
}
nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-button:hover {
  transform: scale(1.1);
}

h1 {
  font-size: 2em;
  text-align: center;
  color: #f3f3f5;
  text-transform: uppercase;
}

span {
  border-right: 0.05em solid;
  animation: caret 1s steps(1) infinite;
}

@keyframes caret {
  50% {
    border-color: transparent;
  }
}
.container {
  display: flex;
  text-align: center;
  flex-direction: column;
  align-items: center;
  /* margin-top: 2rem; */
  width: 100%;
  height: 100%;
}
p {
  font-size: 0.7rem;
  color: #f3f3f5dd;
}

h2 {
  letter-spacing: 0.6rem;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.804);
  margin: 15px 0 5px;
  text-transform: uppercase;
  font-family: "Roboto", sans-serif;
  width: fit-content;
}
.course-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card-container {
  display: flex;
  margin-bottom: 2rem;
  flex-direction: column;
  margin-top: 2rem;
  gap: 4rem;
  justify-content: space-around;
}
.card {
  backdrop-filter: blur(40px);
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  border-radius: 1rem;
  margin-right: 1rem;
  text-align: center;
  /* padding-top: 2rem; */
  padding-bottom: 1rem;
  background: rgba(255, 255, 255, 0.3);
  transition: 0.2s all ease;
}
.card p {
  font-weight: bold;
  font-family: "Roboto", sans-serif;
  letter-spacing: 2px;
  margin-top: 0.5rem;
  font-size: 1rem;
}

.card img {
  object-fit: cover;
  height: 200px;
  width: 300px;
}
.card:hover {
  cursor: pointer;
  transform: scale(1.1);
}
.card-row1 {
  display: flex;
  flex-direction: row;
  gap: 4rem;
}
.card-row2 {
  display: flex;
  flex-direction: row;
  gap: 4rem;
}
.card-row3 {
  display: flex;
  flex-direction: row;
  gap: 4rem;
}
.card .price {
  font-weight: 100;
}
.sc-container {
  margin-top: 2rem;
  margin-bottom: 2rem;
  outline: none;
  height: 100%;
  width: 100%;
  background-image: none;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sc-container input {
  outline: none;
}
/* .sc-container :hover{
} */
.search-bar {
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  width: 100%;
  max-width: 700px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  border-radius: 60px;
  border-color: rgba(129, 96, 221);
  padding: 10px;
}
.search-bar input {
  background: transparent;
  flex: 1;
  border: 0;
  padding: 12px 10px;
  font-size: 20px;
  color: #cccc;
}
::placeholder {
  color: whitesmoke;
}
.search-bar button {
  border: 0;
  border-radius: 50%;
  width: 50px;
  height: 50px;
}
#ds1 {
  background-color: rgba(75, 182, 249, 0.201);
}
