@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #183153;
  --color-secondary: #F2F4F3;
  --color-tertiary: #e0e7ff;
  --color-quaternary: #FFA500;
}

* {
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--color-primary);
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 40px;
  font-weight: 800;
}

h2 {
  font-size: 30px;
  font-weight: 600;
}

p {
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

html {
  scroll-behavior: smooth;
  background-color: var(--color-tertiary);
}

.section {
  width: 100%;
  margin: 0 auto;
}
.section .content-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 1rem;
}
@media (min-width: 48rem) {
  .section .content-section {
    padding: 10rem 2rem;
  }
}

main {
  border-radius: 2rem 2rem 0 0;
  background-color: var(--color-secondary);
}
main i {
  color: var(--color-secondary);
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
}
footer p {
  margin: 2rem 2rem;
  text-align: center;
  font-weight: 300;
  line-height: 1;
  text-transform: capitalize;
}

.button-custom {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 800;
  font-family: "Roboto", sans-serif;
  color: var(--color-primary);
  background: var(--color-secondary);
  border: 1px solid var(--color-primary);
  border-radius: 20px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease;
}
.button-custom:hover {
  background: #e0e7ff;
}
.button-custom i {
  color: var(--color-primary);
  padding-right: 0.3rem;
}

.button-custom {
  display: block;
  margin: 0 auto;
}

.utility-group {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 9999;
}
.utility-group .utility-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid transparent;
  border-radius: 50%;
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.utility-group .utility-btn i {
  color: white;
}
.utility-group .utility-btn:hover {
  background-color: var(--color-tertiary);
  border-color: var(--color-primary);
}
.utility-group .utility-btn:hover i {
  color: var(--color-primary);
}
.utility-group .github {
  background-color: #333;
}
.utility-group .linkedin {
  background-color: #0077B5;
}
.utility-group .color-theme {
  background-color: #FFA500;
}

#news-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.news-card {
  background-color: #f9f9f9;
  padding: 0rem;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}
.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.news-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #183153;
  margin-bottom: 0.5rem;
  text-decoration: none;
  padding: 1rem;
}
.news-title:hover {
  text-decoration: underline;
}

.news-date {
  font-size: 18px;
  color: #555;
  padding: 0 1rem;
}

.news-img {
  width: 100%;
  max-height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  margin-bottom: 1rem;
}

.hero-section {
  position: relative;
  justify-items: center;
}
.hero-section .hero-video {
  position: absolute;
  width: 100% !important;
  height: 130%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: -1;
  opacity: 45%;
}
.hero-section h1 {
  font-size: 80px;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  line-height: 0.9;
}
.hero-section h2 {
  font-size: 18px;
  text-align: center;
}
.hero-section p {
  text-align: justify;
  font-weight: 600;
}