* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  
}

body {
  background: linear-gradient(30deg, rgb(11, 202, 245), rgb(225, 209, 119));
  font-family: sans-serif;
  min-height: 100vh;
  max-width: 100vw;
  line-height: 1.4;
  padding: 3px;
}

.container {
  max-width: auto;
}


.heading-1 {
  font-size: 40px;
  text-transform: uppercase;
}

.heading-2 {
  font-size: 40px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.heading-3 {
  font-size: 20px;
  text-transform: uppercase;
  color: crimson;
  margin-bottom: 10px;
}

.sub-heading {
  font-size: 20px;
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
}

.sub-heading p {
  font-weight: 700;
  text-transform: capitalize;
  margin-right: 10px;
}

.sub-heading span {
  color: #555;
  font-weight: 300;
  border-right: 1px solid #ccc;
  padding-right: 10px;
}

.sub-heading .importent {
  color: crimson;
  text-transform: uppercase;
  font-weight: 300;
}

.logo {
  display: flex;
  justify-content: flex-start;
  margin-right: auto;
  
}

.links {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  background-color: #00000065;
  padding: 20px;
  border-radius: 4px;
}

.link a {
  position: relative; /* Required for the ::after pseudo-element */
  text-decoration: none;
  color: #472ffc; /* White color for the links */
  font-weight: bold;
  padding: 5px 0; /* Adding some padding for better spacing */
  margin-left: 10px; /* Adding some margin between links */
  transition: transform 0.3s;
}


.link a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-color: #00f31c; /* White underline */
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: right;
}

.link a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.link a:hover {
  color: #f6ff00; /* Optional: change link color on hover */
}

/* HOME */
.home {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.home-img {
  width: 100%;
}

.list {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 10px;
  margin-bottom: 10px;
}

.list img {
  width: 100%;
  height: 80px;
}

/* ARTICLE */
article > p {
  font-size: 20px;
  margin-bottom: 20px;

  columns: 3 25ch;
  column-gap: 40px;
  hyphens: auto;
}

article p:first-child::first-line {
  font-weight: 700;
  font-size: 25px;
}

/* blockquote */
blockquote {
  font-size: 20px;
  padding: 10px 30px;
  margin-bottom: 40px;
  position: relative;
}

blockquote::before {
  content: open-quote;
  position: absolute;
  top: -48px;
  left: -4px;
  opacity: .3;
  color: #666;
  font-size: 150px;
}

.cards {
  columns: 25ch 3;
  gap: 40px;
  margin-bottom: 40px;
}

.card {
  font-size: 20px;
  border: 1px solid;
  padding: 10px 20px;
  break-inside: avoid;
}

  



@media (max-width: 950px) {
  .home {
    grid-template-columns: 1fr;
  }

  .lists {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .list {
    grid-template-columns: 1fr 5fr;
  }

  .card {
    margin-bottom: 40px;
  }
}

@media (max-width: 650px) {
  .lists {
    grid-template-columns: 1fr;
  }
  .logo img {
    width: 75px; 

  }
  .links {
    position: relative;
    font-size: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: justify;
    gap: 1px;
    background-color: #000000c9;
    border-radius: 4px;
    
  }


  .heading-1{
    text-align: left;
    font-size: 2rem;
  }
  .sub-heading{
    font-size: 0.7rem;
    font-weight: 700;
    color: magenta;
  }
  .heading-2{
    margin-top: 20px;
    font-size: 1.1rem ;
    text-align: center;
    
  }

}
  



@media (max-width: 361px) {
  .links{
    font-size: 0.6rem;
  }

  .heading-2{
    margin-top: 10px;
    font-size: 0.9rem ;
    text-align: center;
    color: #00f31c;
    
  }
}
