* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
}
/*--------------------------------------------------------- Navbar----------------------------------------------------------- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: rgb(33, 37, 41);
  color: white;
  border-radius: 0 0 15px 15px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}
.navbar .logo {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 10px;
}
.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 0;
  margin: 0;
}
.navbar ul li {
  padding: 0 1rem;
}
.navbar ul li a {
  color: white;
  text-decoration: none;
}
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}
/* Mobile Menu */
/* Equal card size for third-section */
.third-section .card {
  height: 100%;
  display: flex;
  flex-direction: column;
  /* border: 1px solid red; */
  border-radius: 10px;
}
.third-section .card img {
  object-fit: cover;
  height: 200px;
  border-radius: 10px 10px 0 0;
}
.third-section .card .container {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .navbar ul {
    display: none;
    flex-direction: column;
    background-color: rgb(33, 37, 41);
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    align-items: center;
  }
  .navbar ul.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
    margin-right: 15px;
  }
}
/* -------------------------------------------------------button------------------------------------------------ */
.but1{
  align-items: center;
  background-image: linear-gradient(144deg, #af40ff, #5b42f3 50%, #00ddeb);
  border: 0;
  border-radius: 8px;
  box-shadow: rgba(151, 65, 252, 0.2) 0 15px 30px -5px;
  box-sizing: border-box;
  color: #ffffff;
  display: flex;
  font-size: 18px;
  justify-content: center;
  line-height: 1em;
  max-width: 100%;
  min-width: 140px;
  padding: 3px;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s;
}

button:active,
button:hover {
  outline: 0;
}

button span {

  padding: 16px 24px;
  border-radius: 6px;
  width: 100%;
  height: 100%;
  transition: 300ms;
}

button:hover span {
  background: none;
}

button:active {
  transform: scale(0.9);
}


.main{
  /* border: 5px solid red; */
  height: 50vh;
  background-image: url(pexels-janetrangdoan-1099680.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
/* ------------------------------------------------first-topic--------------------------- */
.first-topic{
  /* border: 5px solid blue; */
  height: 15vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}
/* --------------------------------------------------------------------------------------------second-section---------------------------------------- */
.second-section{
  /* border: 5px solid green; */
  height: 25vh;
padding-left: 5px;
padding-right: 5px;
  display: flex;
  flex-wrap: wrap;
  /* padding: 30px 0 90px 0 ; */
}
@media (max-width: 768px) {
  .second-section{
    /* border: 5px solid green; */
    height: 85vh;
  }
}
.second-section .card{
  /* border: 1px solid red; */
  /* width: 30%;
  height: 150px; */
}

/* ------------------------------------------------Second-topic--------------------------- */
.Second-topic{
  /* border: 5px solid blue; */
  height: 15vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  margin-left: auto;
margin-right: auto;  
}
/* ----------------------------------------------------third-section------------------------------------------- */
.third-section{
  /* border: 5px solid red; */
  height: auto;
}
/* ----------------------------------------------------------------------------third-topic----------------------------------- */
.third-topic{
  /* border: 5px solid blue; */
  height: 15vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  margin-left: auto;
}
