:root {
  --fondo: #fff;
  --main-color: #198804;
  --secundary-color: #ff2802;
  --text-dark: rgba(41, 45, 53, 1);
  --text-medium: rgba(52, 55, 61, 0.7);
  --text-light: rgba(243, 245, 237, 0.5);
  --text-white: #fff;
  --heading-font: 'Fira Sans', sans-serif;
  --body-font: 'Cabin', sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
}
.green {
  color: var(--main-color);
}
.container {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}
header {
  width: 100%;
  background: #fff;
  display: flex;
  justify-content: space-between;
  padding: 10px 30px;
  align-items: center;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
  position: relative;
}
figure {
  width: 70px;
  height: 70px;
  background: url('logo.jpg');
  background-size: cover;
  background-position: center center;
}
figure img {
  width: 100%;
  height: 100%;
}
header input {
  display: none;
}
nav {
  width: 60%;
  height: auto;
}
ul {
  display: flex;
  justify-content: flex-end;
  list-style: none;
  column-gap: 30px;
}
li {
  cursor: pointer;
  transition: all 0.5s ease;
}
a {
  text-decoration: none;
  font-family: var(--heading-font);
  font-size: 1em;
  color: var(--text-dark);
  text-transform: uppercase;
  transition: all 0.5s ease;
}
a:hover {
  color: var(--main-color);
}
li:hover {
  transform: scale(1.1);
}
.active {
  color: var(--main-color);
  border-bottom: 2px solid var(--main-color);
}
.user {
  display: flex;
  column-gap: 10px;
}
.user-options {
  position: absolute;
  top: 90px;
  right: 0px;
  padding: 10px 0px;
  width: 200px;
  height: auto;
  background: var(--fondo);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
  transform: translateX(200px);
  transition: all 0.5s ease;
  z-index: 10;
}
.user-options.active {
  transform: translateX(0px);
}
.user:hover.user-options {
  transform: translateX(0px);
}
.user-options ul {
  flex-direction: column;
  align-items: center;
}
.user-options li {
  width: 100%;
  padding: 10px 10px;
  text-align: center;
}
.user-options li:hover {
  background: var(--main-color);
  transform: scale(1);
}
.user-options li:hover a {
  color: var(--fondo);
}
.user-options a {
  font-size: 0.8em;
}
.button:hover a {
  color: var(--main-color);
}
.padding {
  padding: 0px 60px;
}
.gradient {
  width: 100%;
  height: 20px;
  background: var(--main-color);
  position: relative;
  z-index: 10;
}
.gradient::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.footer {
  width: 100%;
  padding-top: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  background-color: #2a2e36;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/footer-bg.webp');
  background-size: contain;
  background-position: center;
  opacity: 0.8;
  z-index: 0;
}

.footer-top {
  display: flex;
  padding: 0px 60px;
  column-gap: 20px;
  margin-bottom: 20px;
  justify-content: space-between;
}
.footer-top .footer-section {
  width: 25%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 20px;
  color: var(--text-white);
}
.footer-top .logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.footer-top p {
  font-size: 0.9em;
  font-family: var(--body-font);
  letter-spacing: 1px;
  color: var(--text-white);
}
.footer-top .social-icons {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.5s ease;
}
.footer-top .footer-section .social-icons a {
  font-size: 2em;
  color: var(--main-color);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.footer-top .footer-section .social-icons a:hover {
  color: var(--text-white);
  transform: scale(1.2);
}

.footer-top .footer-section h4 {
  font-size: 1.4em;
  font-family: var(--heading-font);
  color: var(--text-white);
  margin-bottom: 20px;
}

.footer-top .footer-section ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: start;
  margin-bottom: 10px;
  padding-left: 10px;
  z-index: 2;
}
.footer-top .footer-section li {
  margin-bottom: 10px;
  color: var(--text-white);
}
.footer-top .footer-section a {
  color: var(--text-white);
  font-size: 0.9em;
  font-family: var(--body-font);
  letter-spacing: 1px;
  transition: all 0.3s ease;
}
.footer-top .footer-section a:hover {
  color: var(--main-color);
  transform: scale(1.2);
}

.footer-section.contact {
  align-items: flex-start;
  row-gap: 20px;
  color: var(--text-white);
  font-family: var(--body-font);
}

.footer-section.contact h4 {
  font-size: 1.4em;
  font-family: var(--heading-font);
  color: var(--text-white);
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  column-gap: 12px;
  margin-bottom: 15px;
}

.contact-item i {
  color: var(--main-color);
  font-size: 1.2em;
  margin-top: 4px;
  min-width: 20px;
}

.contact-item span {
  font-weight: bold;
  color: var(--text-white);
  display: block;
  margin-bottom: 2px;
}

.contact-item p {
  margin: 0;
  font-size: 0.95em;
  line-height: 1.4;
  color: var(--text-white);
}

.footer-bottom {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-bottom .bottom p,
.footer-bottom > p {
  color: var(--text-white);
  font-family: var(--body-font);
  font-size: 0.8em;
  letter-spacing: 1px;
  margin: 4px 0;
  position: relative;
  z-index: 3;
}

.footer-bottom .bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.footer-bottom::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1;
}
