* {
  margin: 0;
  padding: 0;
}

html{
  margin: 0;
  padding: 0;
}

*::before,
*::after {
  box-sizing: border-box;
}

h1,h2,h3,h4 {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
}

h5,h6 {
  font-family: "Roboto Mono", monospace;
}

h1 {
  font-weight: 900;
  font-size: 48px;
  line-height: 1.1;
  padding: 5px 0;
  font-style: normal;
}

h2 {
  font-weight: 900;
  font-size: 42px;
  line-height: 1.1;
  padding: 5px 0;
  font-style: normal;
}

h3 {
  font-size: 30px;
  padding: 30px 0 10px 0;
}


h4 {
    font-size: 24px;
}

h5 {
  font-size: 18px;
  font-weight: 600;
  padding: 5px 0;
  color: #777777;
  text-transform: uppercase;
}

h6 {
  font-size: 16px;
  font-weight: 600;
  padding: 5px 0;
  color: #777777;
  text-transform: uppercase;
}

p {
  font-family: "Lora", serif;
  font-size: 18px;
  line-height: 1.4;
  padding: 5px 0;
}

header {
  display: flex;
  justify-content: center;
  height: 200px;
  background-color: #ced954;
  font-family: 'Inter', sans-serif;
}

header > .header-inner {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: flex; 
  justify-content: space-between;
  align-items: center;
} 

/* Logo */
.logo img {
  max-height: 60px;
}

.logo {
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  font-size: 24px;
}

body {
  background-color: #fafafa;
}

/* Navigation */
header > .header-inner > nav > ul {
  display: flex;
  flex-direction: row;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.8;
}


header > .header-inner > nav > ul > li {
  text-decoration: none;
}


header > .header-inner > nav > ul > li a {
  text-decoration: none;
  color: #131313;
  font-weight: 500;
}

header > .header-inner > nav > ul > li a:hover {
  text-decoration: underline;
  color: #131313;
  font-weight: 500;
}





/* Container */

.container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Links */

.main-news-info > h2 > a,
.aside-news > .aside-news-piece > h4 > a  {
  color: #000;
  text-decoration: none;
}

.main-news-info > h2 > a:hover,
.aside-news > .aside-news-piece > h4 > a:hover {
  color: #000;
  text-decoration: underline;
}

/* Hero */

.hero {
  display: flex;
  margin-top: 60px;
  margin-bottom: 160px;
  justify-content: space-between;
  gap: 30px;
}

.hero > .main-news {
  width: 750px;
  position: relative;
}

.hero > .main-news > img {
  height: 500px;
  width: 750px;
}

.main-news-info {
  position: absolute;
  background-color: #fff;
  border: 1px solid #efefef;
  padding: 20px;
  width: 650px;
  margin: 0 auto;
  bottom: -80px;
  left: 30px;
}

.aside-news {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: flex-start;
  height: 500px;
}


hr {
  height: 1px;
  background-color: #c0c0c0;
  border: none;
}


.general-section {
  margin-top: 50px;
}

.line-general-section {
  height: 20px;
  width: 150px;
  background-color: #ced954;
  border: none;
}

/* Footer base */
footer {
  background-color: #111;
  color: #fff;
  padding: 32px 0;
  font-size: 14px;
    font-family: 'Inter', sans-serif;
}

/* Inner container */
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
footer .logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* Navigation */
footer nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

footer nav a {
 color: #000;
  text-decoration: none;
  font-weight: 400;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

footer nav a:hover {
  opacity: 1;
}

/* Copyright */
.footer-copy {
  font-size: 12px;
  opacity: 0.6;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  footer nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .footer-copy {
    margin-top: 8px;
  }
}

footer {
  background: #ced954;
  color: #000;
  padding: 20px 0;
  font-family: 'Inter', sans-serif;
}

.footer-inner {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer a {
color: #000;
  text-decoration: none;
}
