body {
    margin: 0;
    background-color: black;
    font-family: 'inter', sans-serif;

}

.header {
    background-color: black;
    height: 5%;
    display: flex;
    justify-content: space-between;
    align-items:center;
}

.header img {
    width: 14rem;
    padding: 1.5rem 2rem;
}

.hamberger-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 20px;
    padding-right: 2rem;
    
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;

}

.nav-menu {
    display: none;
    flex-direction: column;
    position:fixed;
    right: 2%;
    overflow: hidden;
    padding-top: 1rem;
    padding-right: 2.5rem;
    padding-bottom: 1.5rem;
    background-color: black;
    border-radius: 0px 0px 5px 5px;
    text-align: left;
}

.nav-menu li {
    list-style-type: none;

}

.nav-menu a {
    line-height: 40px;
    text-decoration: none;
    color: white;
    border-radius: 3px;
}

.nav-menu a:hover {
    text-decoration: underline white; 
}

.nav-menu.active {
    display: block;}

.hero img {
    width: 100%;
    height: auto;
}

.main-text {
    display: flex;
    justify-content:center;
    align-items:center;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    padding-top: 2rem;
    color:white;

}

@media (max-width: 540px) {
    .main-text {
        padding: 2.5rem;
    }
}

.news {
    color: white;
    padding: 1rem 1rem;
}

.section-title {
    text-transform: uppercase;
    font-size: 25px;
    font-weight: 600;
    padding-left: 1.5rem;

}

.news-content {
    font-size: 13px;
    font-weight: 500;
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    
}

.news-block {
    background-color: #e0e0e0;
    color: black;
    margin: 6px;
    border-radius: 5px;
    display: flex;
    text-decoration: none;

}

.news-img {
    width: 100%;
    background-repeat: no-repeat;
    background-size:contain;
    border-radius: 5px 0px 0px 5px;
}

.news-img:after {
    display: block;
    padding-bottom: 100%;
}
  
.news-textbox {
    display: flex;
    width: 65%;
    padding: 25px;
    flex-direction: column;
    justify-content: center;
}
  
.news-info {
    line-height: 1.5;
}
  
.news-category {
    text-transform: uppercase;
}
  
.info-text{
    font-weight: 700;
    display: block;

}

.info-date {
    font-size: 10px;
    display: block;

}

.archive {
  padding-top: 40px;
  padding-left: 12px;
  color: white;
}

.archive-content {
  display: flex;
  flex-direction: row;
  padding: 18px;
  flex-wrap: wrap;
}

.archive-block {
  display: flex;
  flex: 1 1 30%;
  margin: 6px;
  padding-bottom: 24px;
  flex-direction: column;
  text-decoration: none;
  color: white;
  font-size: 12px;
  font-weight: 500;
  
}

.archive-img {
  width: 100%;
  border-radius: 5px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.archive-img:after {
  content: "";
  display: block;
  padding-bottom: 65%;
}

.archive-text {
  padding-top: 8px;
  line-height: 1.4;
}

@media (max-width: 540px) {
    .archive-block {
        flex: 1 1 100%;
    }
}

footer {
    background-color: black;
    padding: 1.5rem 0;
    min-height: 150px;
    text-decoration: none;

}

.footer-info {
    display: flex;
    justify-content: center;
    align-items: end;
    color: white;
    font-size: 0.8rem;
    padding-top: 10%;
    padding-bottom: 5%;

}

.footer {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-left: auto;
}

.footer-btn {
    display: flex;
    margin: 4px;
    padding-left: 2rem;
    font-size: 0.8rem;
    color: white;
}

#up-btn {
    margin: 4px;
    padding-right: 2rem;
    font-size: 0.8rem;
    color: white;
    margin-left: auto;
    background-color: black;
    border: none;
    outline: none;
    cursor: pointer;
}

#up-btn:hover {
    text-decoration: underline white;

  }