/* © João Sousa 202 */
:root {

  --cor00: #fff;
  --cor01: #191e24;
  --cor02: #1d232a;
  --cor03: #363636;

  /* --cor04: #a855f7;
  --cor04h: #6d29ac; */
  --cor04: #3dd773;
  --cor04h: #448e5e;


  --cor05: #6366f1;
  --cor06: #7480ff;


  --colorWarning: #e65050;
  --sombra: #0000007c;
  --widthContainer: 1000px;
  --paddinContainer: 30px;
  --topHeight: 70px;
  --border-radius: 11px;
  --main-font: font01;
  --ui-font: 'Arial';
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  border: 0;
}

#main {
  opacity: 0;
  height: 100%;
  transition: opacity 0.7s;
}

html {
  scroll-behavior: smooth;
  height: 100vh;
}

@font-face {
  font-family: "font01";
  src: url("../font/FredokaOne-Regular.ttf");
}

@font-face {
  font-family: "font02";
  src: url("../font/TahomaBold.ttf");
}

body {
  color: var(--cor00);
  background-color: var(--cor03);
  font-family: var(--main-font);
  /* remove caixa azul em touch devices */
  -webkit-tap-highlight-color: #00000000;
  /* desabilita selecção de texto */
  /* -webkit-user-select: none; */
}

section {
  min-height: 100vh;
  padding: 0 1rem;
  padding-top: calc(var(--topHeight) + 20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-bg {
  background: linear-gradient(135deg, #26275a, #09d152);
}

footer {
  min-height: 20vh;
  padding: 0 1rem;
  padding-top: calc(var(--topHeight) + 20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-bottom: 100px;
}

.card-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 30px;
}

.card {
  padding: 30px 5px;
  color: #fff;
  background-color: var(--cor02);
  border-radius: 20px;
  box-shadow: 0px 8px 10px 5px #0000001a;
  min-height: 90px;
}

a {
  text-decoration: none;
  color: var(--cor00);
  cursor: pointer;
}

a:hover {
  color: var(--cor04);
}

h1 {
  font-size: 2.1em;
}

/* cor de selecção de texto */
::selection {
  color: var(--cor00);
  background: var(--cor03);
}

.disable-select {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.inLine {
  display: inline-flex;
  place-items: center;
}

#topBar {
  position: sticky;
  top: 0;
  z-index: 20;
  align-items: center;
  background-color: var(--cor02);
  box-shadow: 0px 0px 15px 2px var(--sombra);
  height: var(--topHeight);
  width: 100%;
  transition: all 0.9s;
}

#menu .item {
  list-style-type: none;
  margin-right: 27px;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1em;
}

.top-container {
  display: flex;
  place-items: center;
  padding: var(--paddinContainer);
  padding-top: 10px;
  padding-bottom: 10px;
  max-width: var(--widthContainer);
  margin-left: auto;
  margin-right: auto;
  height: 100%;
}

#mainContainer {
  max-width: var(--widthContainer);
  margin-left: auto;
  margin-right: auto;
}

.svgIcons {
  cursor: pointer;
  width: 50px;
  margin: 0px;
}

#goTopBt {
  display: flex;
  align-items: center;
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 2;
  cursor: pointer;
  width: 50px;
  height: 50px;
  /* border: 2px solid var(--color01Bg); */
  color: var(--cor00);
  background-color: var(--cor04);
  border-radius: 100%;
  opacity: 0;
  transition: opacity 0.3s;
  box-shadow: 0px 8px 20px 5px var(--sombra);
}

#goTopBt:hover {
  color: var(--cor04);
  background-color: var(--cor00)
}

#goTopBt>svg {
  margin-left: auto;
  margin-right: auto;
  width: 40px;
}

.warning {
  color: var(--colorWarning);
  font-family: Arial, Helvetica, sans-serif;
}

input,
select {
  padding: 7px;
  height: 50px;
  width: 100%;
  font-family: var(--ui-font);
  font-size: 1em;
  border: 2px solid #4b4b4b;
  border-radius: var(--border-radius);
  color: var(--cor00);
  background-color: var(--cor03);
  margin: 10px 10px 10px 0; /* margin no bt ou margin no container?  */
  -webkit-tap-highlight-color: rgba(
    0,
    0,
    0,
    0
  ); /* remove  blue highlight em touch devices*/
  /* box-shadow: 0px 0px 15px 3px var(--sombra); */
}

.button-sm {
  height: 40px;
  width:130px;
  line-height: 1em;
  border: 0;
  border-radius: var(--border-radius);
  color: var(--cor00);
  background-color: var(--cor04);
}

button, #submitBtForm {
  padding: 7px;
  height: 50px;
  width: 100%;
  font-family: var(--ui-font);
  font-size: 1em;
  border: 0;
  border-radius: var(--border-radius);
  cursor: pointer;
  color: var(--cor00);
  background-color: var(--cor04);
  transition: all 0.4s;
  margin-bottom: 20px;
}

button:hover, #submitBtForm:hover{
  color: var(--cor00);
  background-color: var(--cor04h);
}

textarea {
	padding: 7px;
	width: 100%;
	height: 100px;
	resize: none;
	font-family: var(--ui-font);
	font-size: 1em;
  border: 1px solid #4b4b4b;
	border-radius: var(--border-radius);
	color: var(--input-color);
	background-color: var(--input-bg-color);
	margin: 10px 10px 10px 0;
}

textarea:focus, input:focus {
	border: solid 2px var(--cor04h);
  outline: none;
}

/* textarea:invalid {
	border: 2px solid var(--colorWarning);
} */

/* =================== MOBILE FIRST  */
@media only screen and (min-width: 1000px) {
  :root {
    --widthContainer: 1000px;
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* .card-grid > :last-child {
    grid-column: 2 / span 2;
    justify-self: center;
  } */

  h1 {
    font-size: 3em;
  }

  section:first-child{
    min-height: 80vh;
  }

  .text-gradient {
    font-size: 1.3em;
  }

  #formBox {
    width: 450px;
  }

}

/* Frame para imagem com efeito hover */
.frame-img {
  position: relative;
  height: 300px;
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
  max-width: 500px;
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 3px solid #979797;
}

.frame-img-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.5s;
  scale: 1;
}

.frame-img-bg:hover {
  cursor: pointer;
  scale: 1.2;
}

.text-gradient {
  /* Set the background color */
  background: linear-gradient(-45deg, var(--cor04) 0%, var(--cor05) 100%);
  /* Mask the color to the text*/
  background-clip: text;
  -webkit-background-clip: text;
  /* Make the text fill color value transparent */
  -webkit-text-fill-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  text-align: justify;
}

/* =================== CUSTON CHECK BOX */
.check-box-cont {
  display: flex;
  place-items: center; /*center horizontal*/
}

.check-box {
  position: relative;
  height: 40px;
  width: 40px;
}

/* Hide the browser's default checkbox */
.check-box input {
  cursor: pointer;
  height: 40px;
  width: 40px;
  position: absolute;
  opacity: 0;
  margin: 0;
  z-index: 2;
}

/* Create a custom checkbox area*/
.checkmark {
  display: block;
  height: 100%;
  width: 100%;
  background-color: var(--cor00);
  border-radius: var(--border-radius);
  z-index: 1;
  transition: all 0.3s;
}

/* On mouse-over, add a grey background color */
.check-box:hover input ~ .checkmark {
  background-color: var(--cor01);
}

/* When the checkbox is checked, add a blue background */
.check-box input:checked ~ .checkmark {
  background-color: var(--cor04);
}

.check-box:hover input:checked ~ .checkmark {
  background-color: var(--cor04h);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.check-box input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.check-box .checkmark:after {
  margin: 5px 14px;
  width: 10px;
  height: 20px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

#ckeck {
  margin-left: -20px; /*metade de largura */
}
