/* Basic CSS Reset */

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

body {
    font-family: 'Times New Roman', Times, serif, sans-serif;
    background-color: antiquewhite;
}

img {
    max-width: 100%;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/*Navigation Bar Styles start*/

.header {
    display: flex;
    justify-content:space-between;
    align-items: center;
    background-color: #fff;
    padding: 1rem;
    border-bottom: 2px solid #000;
}

.logo {
    font-size: 2.7rem;
    font-family: Arizonia;
    font-weight: bold;
    color: #333;
    margin-left: 1rem;
}

.nav-links-top {
    list-style: none;
    display: flex;
    gap: 1,5rem;  
}

.nav-links-top a {
    text-decoration: none;
    color: #000;
    font-size: 1.2rem;
    text-decoration: none;
    padding: 1rem;
    font-weight: bold;
  }  
    
  .nav-links-top a:hover {
    color: green;
  }

.header-2 {
    padding: 1rem;
    border-bottom: 2px solid #000;
    width: 100%;
    background-color: #fff;
}

.nav-links-secondline {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    gap: 1,5rem;
} 

.nav-links-secondline a {
    text-decoration: none;
    color: #000;
    font-size: 1.2rem;
    padding: 1rem;
    font-weight: bold;

  }  

  .nav-links-secondline a:hover {
    color: red;
  }
  /*Navigation Bar Styles end*/

  /*Cards section start*/
  .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 1200px;
    gap: 0.3rem;
    margin: 2rem auto;
  } 

  .about {
    position: relative;
    text-align: center;
    margin: 3rem;

 }
  .card {
    background-color: #fff;
    margin: 0.5rem;
    border: #000;
  }

 .card p {
  font-size: 1.3rem;
  padding: 0,5rem;
  text-align: justify;
    
}

 .card h1 {
    color: red;
    padding: 1rem;
}

.card h2 {
    color: grey;
    padding: 1rem;
    text-align:center;
 }

.card h3 {
    color: green;
    text-transform: uppercase;
    padding: 1rem;
}

#warmth {
    font-size: 1.3rem;
    text-align:center; 
    padding: 3rem;
    color: green;
}
  /*Cards section end*/

 /*Footer section start*/
 .footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 1rem;
    }

.header-bottom {
    align-items: center;
  }

.nav-links-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 1,5rem;
    margin-bottom: 2rem;
 } 

.nav-links-bottom a {
    text-decoration: none;
    font-size: 1.2rem;
    padding: 0rem 3rem 0rem 3rem;
    color: #fff; 
}  

.nav-links-bottom a:hover {
    color: orange;
  }

.border {
    border-right: 1px solid white;
}
.social-icons a {
    margin-top: 1rem;
    color: #fff;
    font-size: 1.5rem;
    padding: 0rem 0.4rem 0rem 0.4rem;
 }

 #copyright {
    margin-top: 1rem;
    font-size: 1.2rem;
 }
/*Footer section end*/


/*Media adjusrments*/

@media (max-width: 480px) {
  .container {
    grid-template-columns: repeat(1, 1fr);
}
  .nav-links-top a {
    font-size: 1rem;
    padding: 5px;
    margin: 0;
    }  
  .nav-links-secondline a {
    font-size: 1rem;
    padding: 5px;
    margin: 0;
} 
  .nav-links-bottom a {
    font-size: 1rem;
    padding: 5px;
    margin: 0;
}   
.logo {
    font-size: 2rem;
}

}


@media (min-width: 481px) and (max-width: 767px) {
    .container {
    grid-template-columns: repeat(1, 1fr);
}
  .nav-links-top a {
    font-size: 1rem;
    padding: 5px;
    margin: 0;
    }  
  .nav-links-secondline a {
    font-size: 1rem;
    padding: 5px;
    margin: 0;
} 
  .nav-links-bottom a {
    font-size: 1rem;
    padding: 5px;
    margin: 0;
} 
}









  