/* =========================================================
   GLOBAL RESET & BASE STYLES
   ========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body{
    background-color: rgb(150, 142, 39);
}







/* =========================================================
   NAVIGATION BAR
   ========================================================= */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 20vh;
    padding: 1rem 3%;

    position: sticky;
    top: 0;
    z-index: 1000;

    background: white;
    border-bottom: 1px solid rgb(179, 214, 243);
    backdrop-filter: blur(30px);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
}

/* Logo */
.Logo {
    width: 6rem;
    border-radius: 10px;
}

/* Desktop navigation links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    padding: 2rem;
}

.nav-links li a {
    text-decoration: none;
    color: black;
    font-size: 1.2rem;
    font-weight: 500;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 1px;
    transition: 0.1s ease-out;
}

.nav-links li a:hover {
    border-bottom: 2px solid brown;
    background-color: aliceblue;
    padding: 1rem;
}

/* =========================================================
   MOBILE SIDEBAR MENU
   ========================================================= */
.sidebar {
    position: fixed;
    top: 0;
    right: 0;

    width: 250px;
    height: 100vh;

    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;

    padding: 2rem;
    list-style: none;

    background-color: rgba(255, 255, 255, 0.39);
    backdrop-filter: blur(30px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.sidebar li a {
    text-decoration: none;
    color: black;
    font-size: 1.2rem;
    font-weight: 500;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 1px;
    transition: 0.1s;
}

.sidebar li a:hover {
    padding: 1rem;
    background-color: rgb(115, 115, 139);
}

/* Hamburger menu icon */
.menu {
    margin: 1.3rem;
}



.main {
    height: 70vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(../Backgrounds/10.jpg);
}


.hero-section {
    width: 100%;
    position: absolute;
}


.p1 {
    margin-top: 20%;
    margin-left: 20%;
    font-size: 50pt;
    font-weight: 1000;
   font-family: 'Times New Roman', Times, serif;
    font-weight: 100%;
    color: rgb(233, 233, 247);
}


.container{
   padding: 3rem;
}

.intro{
    font-size: 15pt;
    font-weight: 900;
}



.intro2{
    font-weight: bolder;
    font-size: 50pt;
    font-weight: 900;
    text-align: center;
    text-decoration: underline;
}





.grid-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 20px;
  margin: 20px 0;
}
.card-top img {
  display: block;
  width: 100%;
}
.container {
  width: 95%;
  margin: auto;
}
.card {
  background: #fff;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0px 0px 10px rgb(0 0 0 / 20%);
}




@keyframes appear{
    from{
        opacity: 0;
        scale: 0.5;
    }
    to{
        opacity: 1;
        scale: 1;
    }
    
}

.card{
    animation: appear linear;
   animation-timeline: view();
   animation-range: entry 0% cover 40%;

}












.card-top {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  overflow: hidden;
}
.card-info h2 {
  font-size: 18px;
  margin: 10px 0 5px 0;
}
.date {
  margin-bottom: 10px;
}
span,p {
  font-size: 15px;
  display: block;
}
.excerpt {
  color: #aeaeae;
}
.flex-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-bottom {
  margin-top: 20px;
}
.button {
  text-decoration: unset;
  font-weight: 600;
  text-transform: uppercase;
  color: #4e4e4e;
  width: 80px;
  text-align: center;
  font-size: 15px;
  line-height: 30px;
  border-radius: 5px;
  background: #f2f4f6;
}
.read-more {
  text-decoration: unset;
  color: #000;
  font-weight: 600;
}






/* =========================================================
   FOOTER
   ========================================================= */

.footer{
    margin-top: 30px;
    width: 100%;
    text-align: center;
    padding: 7px;
    background-color: rgb(36, 29, 21);

}

.footer h4{
    margin-bottom: 5px;
    margin-top: 5px;
    font-weight: 600;
    color: blanchedalmond;
    
}

.footer p{
    color: blanchedalmond;

}


.p5{
    margin-right: 85%;
    color: blanchedalmond;

}


.Logo2{
    width: 6rem;
    border-radius: 10px;
  margin-left:80%;
  margin-top: -10%;
    
}


















@media(max-width:700px ){

    .hideOnMobile{
        display: none;
    }

    .sidebar li a:hover{
     padding: 0.3rem;
     background-color: rgb(115, 115, 139);     

}

.menu{
    height: 20px;
    width: 20px;
}

    .sidebar{
    width: 300px;
    height: 300vh;
}

}


@media(max-width:417px){
  nav{
    width:27rem;
  }
   .main{
    width:27rem;
  }
  .intro{
    width: 22rem;
  }
  .footer{
    width: 27rem;
  }

}




 @media(min-width:970px ){

    .menu{
        display: none;
    
 }
}












