/* VARIÁVEIS  */
:root {
  --dark-color: #01151E;
  --light-color: #082533;
  --text-color: #E6E5F6;
  --services-color: #01151e;
  --border-gradient: linear-gradient(to right, #213E4C, #4296B2, #213E4C, #4296B2) border-box;
}

/* ESTILOS GLOBAIS */
* {
  padding: 0;
  margin: 0;
  font-family: "Playfair Display", serif;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background-color: var(--dark-color);
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
}

.title {
  color: var(--text-color);
  font-size: 100px;
  font-weight: 600;
}

.subtitle {
  color: var(--text-color);
  text-decoration: none;
  font-size: 30px;
}

.text {
  font-size: 25px;
  color: var(--text-color);
  text-decoration: none;
}

.border-gradient {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--bg)) padding-box,
    var(--border-gradient);
}

.circle {
  border-radius: 50%;
}

.button {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  padding: 5px 10px;
  transition: transform .5s ease;
}

.button:hover {
  transform: scale(1.02);
}

/* SECTION INICAL  */
.introduction {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr;
  height: 100vh;
  background-color: var(--dark-color);
}


/* FUNDO INICIO  */
.bg-galaxy {
  z-index: 1;
  grid-row: 1;
  grid-column: 1;
}

.piece {
  width: 0;
  background-image: url('/img/alex-fxrwJGMCz_g-unsplash.jpg');
  background-attachment: fixed;
  background-size: 100% 100vh;
  background-repeat: no-repeat;
  filter: drop-shadow(0 2px 8px #02161F) brightness(140%);
  box-shadow: 0 2px 0 0 rgba(1, 21, 30, 20);
  position: relative;
}

#line-1 {
  height: 12.4vh;
  background-position: 0px 0px;
}

#line-2 {
  height: 18.7vh;
  background-position: 0px -12.4vh;
}

#line-3 {
  height: 23.1vh;
  background-position: 0px -31.1vh;
}

#line-4 {
  height: 11.5vh;
  background-position: 0px -54.2vh;
}

#line-5 {
  height: 19.8vh;
  background-position: 0px -65.7vh;
}

#line-6 {
  height: 14.5vh;
  background-position: 0px -85.5vh;
}

/* MENU DE NAVEGAÇÃO */
.menu {
  display: grid;
  grid-template-rows: 100%;
  grid-template-columns: 1fr 3fr 1fr;
  place-items: center;
  align-items: center;
  justify-self: center;
  width: 80%;
  height: 5%;
  padding: 10px 10px;
  margin-top: 20px;
  border-radius: 50px;
  grid-row: 1;
  grid-column: 1;
  z-index: 2;
  backdrop-filter: blur(10px);
  background-color: rgba(var(--dark-color), 0.7);
}

.menu, .introduction-informations {
  opacity: 0;
  transform: translateY(30px);
  transition: none;
}

.name-icon {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: left;
  margin: 0 0 0 15px;
  font-weight: bold;
}

.name-icon .circle {
  width: 40px;
  height: 40px;
  background-color: aliceblue;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.menu ul {
  list-style: none;
  display: flex;
  width: max-content;
  gap: 20px;
}

.menu a {
  position: relative;
  transition: transform .5s ease;
}

.menu a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--text-color);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease-in-out;
}

.menu a:hover::after {
  transform: scaleX(1);
}

.fale-comigo {
  gap: 3px;
  height: 75%;
  width: 80%;
  --bg: var(--dark-color);
}

.fale-comigo img {
  width: 30px;
  height: 30px;
}

/* INTRODUÇÃO */
.introduction-informations {
  grid-row: 1;
  grid-column: 1;
  z-index: 1;
  align-self: center;
  width: 100%;
  height: 65%;
  display: grid;
  grid-template-columns: 0.5fr 3fr 1fr;
  grid-template-rows: 2fr 1fr;
}

.social-midia {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: auto 20px;
}

.social-midia .circle {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--dark-color);
  width: 50px;
  height: 50px;
  transition: transform .5s ease;
}

.social-midia .circle:hover {
  transform: scale(1.02);
}

.social-midia .circle img {
  width: 30px;
  height: 30px;
}

.contrate-agora {
  grid-row: 2;
  grid-column: 2;
  width: 35%;
  height: 40px;
  margin-top: 10px;
  align-items: normal;
  --bg: var(--dark-color);
}

.operation {
  display: flex;
  flex-direction: column;
}

.operation .text span {
  font-size: 70px;
}

.circles {
  display: flex;
  margin-top: 15%;
}

.operation .circle {
  width: 60px;
  height: 60px;
  margin: 0 -10px;
}

.circles .circle:nth-child(1) {
  background-color: var(--dark-color);
}

.circles .circle:nth-child(2) {
  background-color: var(--light-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.circles .circle:nth-child(2) img {
  width: 35px;
  height: 35px;
}

.circles .circle:nth-child(3) {
  background-color: #D9D9D9;
}

/* CARROSSEL  */
.carrossel {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  padding: 5px;
  background-color: var(--dark-color);
  border-top: 3px solid var(--text-color);
  border-bottom: 3px solid var(--text-color);
  position: relative;
  overflow-x: hidden;
  z-index: 1;
}

.carrossel-track {
  display: flex;
  gap: 20px;
  width: max-content;
}

.carrossel:hover .carrossel-track {
  animation-play-state: paused;
}

.item-carrossel {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: transform 0.5s ease-in-out;
  cursor: default;
}

.item-carrossel:hover {
  transform: scale(1.05);
}

.sophos img {
  width: 45px;
  height: 44px;
}

.active-directory img,
.microsoft img {
  width: 30px;
  height: 30px;
}


/*
    SECTION 2 de dor e sofrimento
*/

.about-me {
  width: 100%;
  height: 75vh;
  background-color: var(--light-color);
}

.content-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: 100%;
}

.profile-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  justify-self: center;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid transparent;
  --bg: var(--light-color);
  transition: transform .5s ease;
}

.profile-photo:hover {
  transform: scale(1.02) !important;
}

.profile-photo img {
  width: 95%;
  height: 95%;
  border-radius: 50%;
  object-fit: cover;
}

.about-text {
  display: grid;
  grid-row: 1fr 3fr;
  padding: 20px 0;
  width: 95%;
}

.about-text .title {
  font-size: 70px;
}

.about-you .text {
  width: 35vw;
}

/*SECTION 3*/

.services {
  background-color: var(--services-color);
  height: 100vh;
  display: grid;
  padding: 50px;
  gap: 30px;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
}

.service-text {
  grid-row: 1;
  grid-column: 1 / 4;
}

.card {
  display: grid;
  grid-template-rows: repeat(3, 0.5fr);
  padding: 20px 30px 20px 30px;
  width: calc(100% - 60px);
  border-radius: 30px;
  background-color: var(--light-color);
  transition: transform .5s ease;
}

.card:hover {
  transform: scale(1.02) !important;
}

.vertical-card {
  padding: 20px 30px 20px 30px;
  width: calc(100% - 60px);
  grid-column: 1/4;
  grid-row: 2;
}

.card img {
  align-self: flex-end;
}

.card .subtitle {
  grid-row: 2;
}

.card .text {
  grid-row: 3;
}

/* CONTATO */
.contact {
  display: grid;
  grid-template-columns: 55% 45%;
  height: 100vh;
}

.contact-form {
  background-color: var(--light-color);
  border-right: 2px var(--text-color) solid;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 0;
}

.contact-form .title {
  font-size: 70px;
  width: 80%;
  text-align: left;
}

.inputs {
  display: flex;
  flex-direction: column;
  margin-top: 15vh;
  gap: 50px;
  width: 80%;
  align-self: center;
}

.contact-form input {
  background-color: transparent;
  border: none;
  border-bottom: 3px solid var(--text-color);
}

.contact-form input:focus {
  outline: none;
}

.contact-form input::placeholder {
  color: var(--text-color);
  opacity: 0.6;
}

.contact-form textarea {
  background-color: transparent;
  white-space: pre-wrap;
  word-wrap: break-word;
  width: 100%;
  min-height: 33px;
  max-height: 150px;
  border: none;
  resize: none;
  overflow-y: hidden;
  border-bottom: 3px solid var(--text-color);
  transition: height .5s ease;
}

.contact-form textarea::placeholder {
  color: var(--text-color);
  opacity: 0.6;
}

.contact-form textarea::-webkit-scrollbar {
  display: none;
}

.contact-form textarea:focus {
  outline: none;
}

.contact-form .button {
  display: grid;
  grid-template-columns: 1fr 0.2fr;
  place-items: center;
  width: 200px;
  --bg: var(--dark-color);
  justify-self: start;
  cursor: pointer;
}

.contact-form .button .circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--text-color);
}

.bg-image {
  background-image: url(../img/bg-2-galaxia.png);
  filter: brightness(80%);
  background-size: 100% 100%;
}