/*init*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

html,
body {
  min-height: 100vh;
  min-width: 100vw;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
}

/* Presets */
:root {
  /*white mode*/
  --white-color-preset: #f0f0f0;
  --green-color-preset: #7fc419;
  --transparent-green-color: #466a0f75;

  /*black mode*/
  --black-color-preset: #2b2b2b;
}

body::-webkit-scrollbar {
  width: 12px; /* width of the entire scrollbar */
}

body::-webkit-scrollbar-track {
  background: #1f3005; /* color of the tracking area */
}

body::-webkit-scrollbar-thumb {
  background-color: var(--green-color-preset); /* color of the scroll thumb */
  border-radius: 20px; /* roundness of the scroll thumb */
  border: 3px solid var(--green-color-preset); /* creates padding around scroll thumb */
}

#info {
  display: flex;
  background-color: var(--green-color-preset);
  color: var(--white-color-preset);
  padding: 16px 24px;
  text-align: center;
  align-items: center;
}

header {
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--transparent-green-color);
}

h1,
h2,
h3,
h5,
p {
  cursor: context-menu;
}

.contact_info {
  display: flex;
  align-items: center;
}

#left_header,
#right_header {
  display: flex;
}

#left_header {
  width: 100%;
}

#theme-icon,
#theme-text {
  color: var(--transparent-green-color);
  cursor: pointer;
  filter: saturate(5%);
}
#theme-icon:hover,
#theme-text:hover {
  filter: saturate(75%);
  color: var(--green-color-preset);
}

#header_menu {
  display: flex;
}

.clear_pointer {
  position: relative;
  cursor: pointer;
  text-decoration: none;
  color: var(--transparent-green-color);
}

.clear_pointer:hover {
  animation: simple_color 1s forwards;
}

@keyframes simple_color {
  from {
    color: var(--transparent-green-color);
  }
  to {
    color: var(--green-color-preset);
  }
}

.clear_pointer::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--green-color-preset);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.clear_pointer:hover::before {
  transform: scaleX(1);
}

.clear_pointer:active {
  color: var(--green-color-preset);
}

.first_images {
  background-image: url(./images/images.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: var(--white-color-preset);
}
#colors {
  display: flex;
  padding: 128px;
  gap: 24px;
}

.colors-back {
  display: flex;
  background-image: url("./images/yellow-sandy-texture.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.text-color-box {
  display: flex;
  gap: 12px;
  color: var(--green-color-preset);
}

.colors-text {
  display: flex;
  font-size: 24pt;
  font-weight: 800;
}
.cards_box {
  display: flex;
  flex-direction: column;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 16px;
}

.section_shape_2 {
  width: 100%;
  height: 400px;
  padding: 16px 64px;
}

.section_shape_1 {
  width: 100%;
  padding: 16px 64px;
}

.cards_container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.color-green {
  color: var(--green-color-preset);
}

.card {
  display: flex;
  flex-direction: column;
  width: 260px;
  height: 260px;
  overflow: hidden;
  border-radius: 5px;
  cursor: pointer;
  background-size: 150%;
  background-position: center;
  background-repeat: no-repeat;
  transform: rotate(0deg);
  overflow: hidden;
  background-image: url("./images/vovo.jpg");
  box-shadow: 0px 0px 25px #00000000;
}

.card:hover {
  transition: background-size 600ms ease-out, box-shadow 1s ease-out,
    transform 600ms ease-out;
  background-size: 175%;
  box-shadow: 0px 0px 10px #00000050;
  animation: rotateCard 600ms forwards;
}

@keyframes rotateCard {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(4deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.card_filter {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--transparent-green-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color-preset);
  transform: translateY(0);
  transition: transform 300ms ease-in-out;
}

.card:hover .card_filter {
  transform: translateY(100%);
  pointer-events: none; /* Desativa interação quando abaixado */
}

.text_box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--green-color-preset);
}

.screenshot {
  display: flex;
  background-color: var(--green-color-preset);
  gap: 24px;
}

#screenshots {
  display: flex;
  flex-direction: row;
  gap: 42px;
}

.screen {
  border-radius: 10px;
  cursor: pointer;
  pointer-events: none;
}

.feed {
  display: flex;
  flex-direction: column;
}

#feedback_button_box {
  display: flex;
  align-items: center;
}

.feedback_button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  padding: 12px 32px;
  flex-direction: column;
  color: var(--green-color-preset);
  border: var(--green-color-preset) solid 1px;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
}

.feedback_button:hover {
  animation: simple_color_select 500ms forwards;
}

@keyframes simple_color_select {
  from {
    background-color: #7fc41900;
    color: var(--green-color-preset);
    border: var(--green-color-preset) solid 1px;
  }
  to {
    background-color: #7fc419ff;
    color: var(--white-color-preset);
  }
}

/*form*/
#contactForm {
  display: flex;
  flex-direction: column;
}

#buttons_form {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.barForm #login {
  display: flex;
}

.buttonStyle {
  padding: 8px 16px;
  border-radius: 12px;
  color: var(--black-color-preset);
  border-width: 0;
  cursor: pointer;
}

#send {
  background-color: #7fc41950;
  overflow: hidden;
}

#send:hover {
  animation: sendAnimation 2s infinite;
}

@keyframes sendAnimation {
  0% {
    padding: 8px 16px;
  }
  50% {
    padding: 4px 4px 4px 16px;
  }

  100% {
    padding: 8px 16px;
  }
}

.formContainer {
  display: flex;
  flex-direction: column;
  padding: 64px 0px;
}

.loginText {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 42px;
  color: var(--green-color-preset);
  font-weight: 600;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--green-color-preset);
}

.footStyle {
  padding: 64px;
}

.leftFooter {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--white-color-preset);
}

#theme-icon {
  width: 16px;
  height: 16px;
}

/*Posts*/
#posts {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  gap: 64px;
}

.post-card {
  display: flex;
  border: 1px solid var(--green-color-preset);
  border-radius: 10px;
  color: var(--green-color-preset);
  flex-direction: column;
  gap: 24px;
  padding: 32px;
}

.post-images {
  display: flex;
  flex-wrap: wrap;
}

.img-posts {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 10px;
  cursor: pointer;
}

.img-posts:hover {
  border: 4px solid var(--green-color-preset);
}

.unique-post {
  border-radius: 10px;
}

.back-button {
  background-color: #7fc419;
  color: var(--white-color-preset);
  border: none;
  padding: 12px 16px;
  cursor: pointer;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
}

.post-create {
  padding: 12px 16px;
  background-color: var(--green-color-preset);
  border-radius: 10px;
  color: var(--white-color-preset);
  text-decoration: none;
  font-weight: 600;
}


#main-inbox{
  display: flex;
  flex-direction: column;
}

.exp{
  display: flex;
  border-radius: 10px;
  color: var(--green-color-preset);
  margin: auto;
  padding: 16px;
}

#result{
  margin: 32px;
  padding: 32px;
  border-radius: 10px;
  margin: auto;
  color: var(--white-color-presets);
}

.inbox{
  display: flex;
  flex-direction: column;
  color: var(--white-color-preset);
  background-color: var(--black-color-preset);
  border-width: 2px;
  border-color: var(--green-color-preset);
  border-radius: 10px;
  border-style: solid;
  margin-top: 16px;
  margin-bottom: 16px;
}

.top-entries{
  display: flex;
}

.removeButton{
  padding: 12px 16px;
  display: flex;
  gap: 8px;
  cursor: pointer;
}

.bottom-entries{
  display: flex;
}

.user-contact{
  display: flex;
  gap: 16px;
  list-style: none;
}

.username-entries{
  color: var(--green-color-preset);
}

.desc{
  font-size: 14pt;
}

.removeButton:hover{
  padding: 10.5px 16px;
  border: 1px solid var(--green-color-preset);
  border-radius: 10px;
}

.remove{
  width: 16px;
}

.containerForm{
  display: flex;
  flex-direction: column;
}

/* Desktop */
@media only screen and (min-width: 1025px) {
  /*header info*/
  #info {
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
  }

  .info_icon {
    margin-right: 8px;
    width: 24px;
    height: 24px;
  }

  /*header menu*/
  #header_menu {
    flex-direction: row;
    padding: 8px 24px;
    color: var(--green-color-preset);
  }

  #left_header {
    gap: 64px;
    align-items: center;
  }

  #right_header {
    justify-content: end;
  }

  h2 {
    margin-bottom: 12px;
  }

  h1 {
    font-size: 24pt;
  }

  p {
    font-size: 16pt;
  }

  .text_box {
    gap: 16px;
    padding: 64px 128px;
  }

  .cards_box {
    padding: 64px 128px;
  }

  .card {
    margin: 32px 0px;
  }

  .barForm {
    padding: 8px 16px;
    background-color: rgb(232, 240, 254);
    color: black;
    margin-bottom: 24px;
    border-radius: 12px;
    border-width: 0;
  }
  .contactLabels {
    margin-bottom: 6px;
    color: var(--green-color-preset);
  }
  #description {
    height: 100px;
  }
  .barForm::placeholder {
    color: var(--black-color-preset);
  }

  #contactForm {
    width: 100%;
    height: 100%;
    padding: 0px 264px;
  }

  .screenshot {
    flex-direction: column;
    padding: 128px 128px;
  }

  #screenshots {
    flex-wrap: wrap;
  }

  .text-color-box {
    justify-content: center;
    flex-direction: column;
  }
  .screen {
    width: 360px;
    height: 198px;
  }

  footer {
    flex-direction: row;
    gap: 24px;
  }
  .about {
    padding: 128px;
  }

  /*feedback*/
  .feed {
    padding: 32px;
  }
  #feedback_button_box {
    padding: 0px 128px;
    width: 100%;
    height: 100px;
  }

  /*Posts*/
  .post-images {
    gap: 64px;
  }
  .img-posts {
    width: 420px;
  }

  .unique-post {
    width: 720px;
  }

  /*admin*/
  #main-inbox{
    padding: 32px;
  }

  .inbox{
    padding:32px;
    gap: 8px;
  }

  .user-contact{
    align-items: center;
    gap: 16px;
  }

  .top-entries{
    justify-content: space-between;
    align-items: center;
  }

  .bottom-entries{
    align-items: center;
    justify-content: space-between;
  }
  
}

.color_white {
  color: var(--white-color-preset);
}

/* Tablet */
@media only screen and (max-width: 1025px) {
  /*header info*/
  #header_menu {
    flex-direction: column;
  }

  #left_header {
    padding: 8px 16px;
    align-items: center;
    gap: 24px;
  }
  #info {
    flex-direction: column;
    align-items: center;
  }
  .info_icon {
    width: 16px;
    height: 16px;
  }
  h5 {
    padding: 2px;
  }
  .contact_info {
    padding: 2px;
  }

  h2 {
    margin-bottom: 12px;
    font-size: 12pt;
  }
  h1 {
    font-size: 16pt;
  }

  .text_box {
    padding: 64px 64px;
  }

  .section_shape_1 {
    height: 900px;
  }

  .cards_box {
    padding: 0 64px;
  }

  .card {
    margin: 32px 0px;
  }
  .screenshot {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px;
  }
  .screen {
    width: 340px;
    height: 178px;
  }
  #screenshots {
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
  }

  .text-color-box {
    flex-direction: column;
  }

  .about {
    padding: 64px;
  }
  footer {
    gap: 24px;
  }

  /*Contact Form*/
  #contactForm {
    width: 100%;
    height: 100%;
    padding: 0px 128px;
  }

  .barForm {
    padding: 8px 16px;
    background-color: rgb(232, 240, 254);
    color: black;
    margin-bottom: 24px;
    border-radius: 12px;
    border-width: 0;
  }
  .contactLabels {
    margin-bottom: 6px;
    color: var(--green-color-preset);
  }
  #description {
    height: 100px;
  }
  .barForm::placeholder {
    color: var(--black-color-preset);
  }
  /*feedback*/
  .feed {
    padding: 32px;
  }
  #feedback_button_box {
    padding: 0px 64px;
    width: 100%;
    height: 100px;
  }

  /*Posts*/
  .post-images {
    gap: 64px;
  }
  .img-posts {
    width: 320px;
  }

  .unique-post {
    width: 420px;
  }

    /*admin*/
    #main-inbox{
      padding: 32px;
    }
  
    .inbox{
      padding:32px;
      gap: 8px;
    }

    .top-entries{
      justify-content: space-between;
      align-items: center;
    }

    .bottom-entries{
      align-items: center;
      justify-content: space-between;
    }

    .user-contact{
      align-items: center;
      gap: 16px;
    }
}

/* Smartphone */
@media only screen and (max-width: 768px) {
  h4 {
    font-size: 11pt;
    font-weight: 400;
  }
  .contact_info {
    display: flex;
    gap: 8px;
  }

  .text_box {
    gap: 12px;
  }
  #header_menu {
    flex-direction: column;
  }
  #left_header {
    flex-direction: column;
    padding: 32px;
    gap: 8px;
    justify-content: center;
  }

  .select-index {
    display: flex;
    width: 100%;
    border-width: 1px;
    border-color: var(--transparent-green-color);
    border-style: solid;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 4px;
  }

  .cards_box {
    align-items: center;
    justify-content: center;
  }

  .cards_container {
    align-items: center;
    justify-content: center;
  }

  .card {
    margin: 24px;
  }

  #colors {
    flex-direction: column;
    padding: 64px;
  }

  .colors-back {
    align-items: center;
    justify-content: center;
    padding: 64px 32px;
  }

  .text-color-box {
    flex-direction: column;
  }

  .paleta {
    width: 240px;
    height: 180px;
  }

  #screenshots {
    flex-direction: column;
    align-items: center;
  }

  .screenshot {
    text-align: center;
    flex-direction: column;
    padding: 24px 0px;
  }
  .screen {
    width: 340px;
    height: 178px;
  }

  .about {
    padding: 64px 16px;
  }

  footer {
    flex-direction: column;
    gap: 16px;
  }

  /*Contact Form*/
  #contactForm {
    width: 100%;
    height: 100%;
    padding: 0px 32px;
  }

  /*feedback*/
  .feed {
    padding: 32px 0px;
  }
  #feedback_button_box {
    padding: 0px 32px;
    width: 100%;
    height: 100px;
  }

  /*Posts*/
  .post-images {
    align-items: center;
    justify-content: center;
    gap: 32px;
  }
  .img-posts {
    width: 200px;
  }
  .unique-post {
    width: 260px;
  }

  .top-entries{
    flex-direction: column-reverse;
  }

  .user-contact{
    align-items: start;
    gap: 8px;
  }

  .bottom-entries{
    align-items: start;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
  }

  .user-contact{
    flex-direction: column;
  }
}
