@font-face {
  font-family: 'Poppins';
  src: url('fonts/poppins.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
html {
  scroll-behavior: smooth;
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1.8s ease-out;
  margin-top: 10px;
  margin-bottom: 10px;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
body {
  margin: 0;
  font-family: var(--fonteprimaria);
  background-color: rgba(var(--corfundo),1);
  color: rgba(var(--corfonte),1);
  animation: backgroundcolorchange 30s ease-in-out infinite alternate-reverse;
}
@keyframes backgroundcolorchange {
  from {background-color: rgba(var(--corfundo),1);}
  to {background-color: rgba(7,15,24,1);}
}
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
input[type="date"],
input[type="password"],
textarea,
select {
  font-family: var(--fonteprimaria);
  font-size: 14px;
  color: rgba(0,0,0,0.75);
  background: rgba(255,255,255,0.9);
  padding: 10px;
  border: 2px solid transparent;
  border-radius: 6px;
  box-sizing: border-box;
  transition: border-color 0.3s;
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(var(--corluzes),1);
}
A:link, A:active, A:visited {
	color: rgba(var(--corfonte),1);
	text-decoration: none;
}
.background {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.logo {
  color: rgba(var(--corfonte),1);
}
.svg_logov, .svg_logototal {
  fill: rgba(var(--corfonte),1);
}
.svg_logototal {
  max-height: 470px;
}
.svg_logov {
  height: 40px;
  transform: translate(0, 2px);
  transition: fill 0.3s;
}
.svg_logov:hover {
  fill: rgba(var(--corluzes),1);
}
.btn {
  max-width: 100px;
  background: rgba(var(--corfonte),1);
  color: rgba(var(--corfundo),1) !important;
  padding: 0.8rem 2rem;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: 0.3s;
}
.btn:hover {
  background: rgba(var(--corluzes),1);
}
section {
  padding: 3rem 2rem 2rem;
  text-align: center;
}
h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: rgba(var(--corluzes),1);
}
.cards, .galeria {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.card, .projeto {
  background-color: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 2rem;
  transition: 0.3s;
}
.card:hover, .projeto:hover {
  background-color: rgba(255,255,255,0.2);
}
.projeto img {
  width: 100%;
  border-radius: 8px;
}

/* Footer */
footer {
	display: flex;
	gap: 70px;
  flex-direction: row;
	justify-content: center;
	align-items: center;
  padding: 40px 5%;
  background: rgba(0,0,0,0.5);
}
footer, footer a {
	color: white !important;
}
.footer_logo, .footer_info, .footer_social {
	display: flex;
  flex-direction: column;
	align-items: center;
	width: 30%;
	max-width: 130px;
	fill: white;
}
.logosvgfooter, .svg_footer {
	fill: inherit;
	width: 100%;
  max-height: 50px;
	margin: 0 4px;
  cursor: pointer;
  transition: all 0.3s ease-in-out !important;
}
.svg_footer:hover {
  transform: scale(1.1);
}
.footer_info_item {
	font-size: 16px;
	transition: all 0.3s;
	margin-bottom: 4px;
}
.footer_info_item:hover {
  transform: scale(1.1);
}
.footer_social {
	flex-direction: row !important;
	gap: 8px;
}
.footer_info_item:hover, .footer_info_item a:hover, .logosvgfooter:hover, .svg_footer:hover {
	color: rgba(var(--corluzes), 1);
	fill: rgba(var(--corluzes), 1);
}

/* Menu */
.menufixo {
  position: fixed;
  display: flex;
  top: 0;
  left: 0;
  width: 100%;
  padding: 12px 0;
  background: rgba(var(--corfundo),0.8);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 999;
  justify-content: center;
}
.menuhorizontal {
  display: flex;
  gap: 20px; 
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
  align-items: center;
  color: rgba(var(--corfonte),1);
}
.menuhorizontal li a {
  text-decoration: none;
  color: rgba(var(--corfonte),1);
  font-weight: bold;
  padding: 10px;
  transition: color 0.3s !important;
}
.menuhorizontal li a:hover {
  color: rgba(var(--corluzes),1);
}
@media only screen and (max-width: 480px) {
  .menuhorizontal {
    max-width: 90%;
    gap: 0; 
  }
  .menuhorizontal li a {
    font-size: 13px;
  }
  .svg_logov {
    height: 22px;
  }
}

/* Checkbox */
.checkbox-container {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  position: relative;
  padding-left: 32px;
}
.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.checkmark {
  position: absolute;
  left: 0;
  top: 3px;
  height: 16px;
  width: 16px;
  background-color: rgba(var(--corfonte),1);
  border: 2px solid rgba(var(--corfonte),1);
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
}
.checkbox-container input:checked ~ .checkmark {
  background-color: #E45A84;
  border-color: #E45A84;
}
.checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 5px;
  top: 0px;
  width: 4px;
  height: 10px;
  border: solid rgba(var(--corfonte),1);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.checkbox-container input:checked ~ .checkmark::after {
  display: block;
}