@font-face {
  font-family: BebasNeue;
  src: url(../assets/BebasNeue-Regular.woff2) format(woff2);
}
@font-face {
  font-family: "Basier-circle";
  src: url(../assets/basiercircle-regular-webfont.woff2) format(woff2);
}
h1,
h2,
h3 {
  font-weight: 400;
}

a {
  color: hsl(0, 0%, 100%);
}

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

:root {
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: hsl(0, 0%, 100%);
    color: hsl(0, 0%, 20%);
  }
}
html {
  font-family: "Basier-circle";
}

body {
  min-height: 100vh;
  line-height: 1.5;
  text-rendering: optimizeSpeed;
}

ul,
li {
  list-style-type: none;
}

a,
a:visited,
a:active {
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

header {
  background: hsl(249, 95%, 60%);
  width: 100%;
  position: fixed;
  z-index: 2;
  padding: 1rem;
  min-height: 3.125rem;
}

.menu-btn {
  position: absolute;
  z-index: 1;
  cursor: pointer;
  top: 2.5rem;
  right: 2.1875rem;
  transition: all 0.5s ease-in-out;
}
.menu-btn__burger {
  position: relative;
  width: 1.5625rem;
  height: 0.125rem;
  margin-bottom: 0.3125rem;
  background: hsl(0, 0%, 100%);
  display: block;
  transition: all 0.5s ease-in-out;
}
.menu-btn__burger::before {
  content: "";
  position: absolute;
  top: -0.5rem;
  width: 1.5625rem;
  height: 0.125rem;
  background: hsl(0, 0%, 100%);
  transition: all 0.5s ease-in-out;
}
.menu-btn__burger::after {
  content: "";
  position: absolute;
  top: 0.5rem;
  width: 1.5625rem;
  height: 0.125rem;
  background: hsl(0, 0%, 100%);
  transition: all 0.5s ease-in-out;
}
.menu-btn__burger.open {
  transform: rotate(360deg);
  background: transparent;
}
.menu-btn__burger.open::before {
  transform: rotate(-45deg);
  top: 0;
}
.menu-btn__burger.open::after {
  transform: rotate(45deg);
  top: 0;
}

.navbar__menu {
  text-transform: uppercase;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  visibility: hidden;
}
.navbar__menu.open {
  visibility: visible;
}
.navbar__menu .navbar__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 100vh;
  background: hsl(249, 95%, 60%);
  transform: translateY(-100%);
  transition: all 0.5s ease-in-out;
}
.navbar__menu .navbar__links.open {
  transform: translateY(0);
}
.navbar__menu .navbar__links .items {
  padding: 1.25rem;
  font-size: 1.5rem;
  text-align: center;
}
@media screen and (max-width: 810px) {
  .navbar__menu .navbar__links .items {
    width: 100%;
  }
  .navbar__menu .navbar__links .items:hover {
    background: hsl(249, 95%, 64%);
    transition: background 250ms ease-in;
    cursor: pointer;
  }
  .navbar__menu .navbar__links .items .items__link {
    padding: 1.25rem 6.25rem;
    -webkit-tap-highlight-color: transparent;
  }
}

@media screen and (min-width: 811px) {
  .menu-btn {
    visibility: hidden;
  }
  .navbar__menu {
    visibility: visible;
  }
  .navbar__menu .navbar__links {
    display: block;
    transform: translateY(0);
    height: 100%;
    text-align: right;
  }
  .navbar__menu .items {
    display: inline-block;
    cursor: pointer;
  }
  .navbar__menu .items__link {
    font-size: 1.125rem;
  }
  .navbar__menu .items__link:hover {
    text-decoration: underline;
  }
}
main .social__icons {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
main .fa-brands {
  font-size: 1.5625rem;
  color: hsl(0, 0%, 100%);
  margin-left: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(249, 95%, 64%);
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 50%;
  flex-direction: row;
  transition: transform 150ms ease-in-out;
}
main .fa-brands:visited {
  background-color: hsl(0, 0%, 100%);
  border: 1px solid hsl(0, 0%, 20%);
  color: hsl(0, 0%, 20%);
}
main .fa-brands:active {
  background-color: hsl(0, 0%, 100%);
  border: 1px solid hsl(0, 0%, 20%);
  color: hsl(0, 0%, 20%);
  transition: all 250ms ease-in-out;
}
main .fa-brands:hover {
  transform: scale(0.9);
  transition: transform 150ms ease-in-out;
  cursor: pointer;
}

.home {
  height: 100vh;
  overflow: hidden;
  align-items: center;
  text-align: center;
  padding-top: 40vh;
  position: relative;
}
.home__name {
  font-size: 2.375rem;
}
.home__name--last {
  color: hsl(249, 95%, 64%);
  font-size: 2.375rem;
}
.home .specifics__videoscribe {
  color: hsl(249, 95%, 64%);
  font-weight: 700;
  font-size: 2.25rem;
}

.logo {
  color: hsl(0, 0%, 100%);
  font-size: 1.875rem;
  font-weight: 700;
}

span {
  font-size: 1.25rem;
  font-weight: 400;
  color: hsl(0, 0%, 20%);
}

@media screen and (min-width: 811px) {
  .logo {
    position: relative;
    z-index: 1;
    width: min-content;
  }
  .home__image {
    height: 120vh;
    width: 500px;
    position: absolute;
    top: 2.25rem;
    right: -4.6875rem;
    background: url(../pics/foto.png) center no-repeat;
    background-size: contain;
  }
  .align-text {
    text-align: left;
    margin-left: 9.375rem;
    line-height: 1.4;
    font-size: 1.2em;
  }
  h1 {
    border-bottom: 1px solid rgba(51, 51, 51, 0.3);
    width: 510px;
    margin-bottom: 0.75rem;
  }
  .home__name {
    font-family: "BebasNeue";
    font-size: 3.875rem;
  }
  .home__name--last {
    font-family: inherit;
    font-size: inherit;
  }
  .specifics__videoscribe {
    font-family: "BebasNeue";
  }
  .personal-logo {
    display: none;
  }
}
.diagonal {
  position: relative;
}
.diagonal::after {
  content: "";
  position: absolute;
  transform: skewY(-5deg);
  inset: 0;
  background: linear-gradient(-45deg, hsl(224, 60%, 95%), hsl(215, 100%, 93%), rgba(255, 255, 255, 0.2), hsl(215, 100%, 93%), hsl(224, 60%, 95%));
  z-index: -1;
}

.personal-logo {
  width: 30%;
  margin: 0 auto;
  position: absolute;
  top: 40px;
}

footer {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  font-size: 0.6875rem;
  color: hsl(0, 0%, 20%);
  text-align: right;
}

.about {
  padding: 3.75rem 0.625rem;
}
.about__bio--image {
  display: grid;
  margin-block: 1.25rem;
  aspect-ratio: 1/1.1;
}
.about .bio__image {
  aspect-ratio: 1;
  width: 100%;
  object-fit: cover;
}
.about__bio--image > * {
  grid-column: 1/2;
  grid-row: 1/2;
}
.about .position {
  align-self: end;
}
.about .content {
  color: hsl(0, 0%, 100%);
  text-align: justify;
  background: hsl(249, 95%, 60%);
  border-radius: 0.3125rem;
  margin: 1rem 0.625rem 1rem; /*! top sides bottom */
  padding: 1rem;
  box-shadow: 0.2rem 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
}
.about .wrapper {
  box-shadow: 0.2rem 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
  border: 1px solid hsl(249, 95%, 76%);
  height: 100vh;
  margin: 0 auto;
  padding: 0.625rem;
  width: 90vw;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}
.about .wrapper .jobs {
  scroll-snap-align: start;
  display: grid;
  grid-auto-flow: row;
  grid-auto-rows: 100vh;
  padding: 0.625rem;
}

.data {
  font-size: 1.75rem;
  font-weight: 700;
}

.company {
  font-size: 1.25rem;
  font-weight: 400;
}

.role {
  font-size: 0.875rem;
  margin-block: 0.3125rem;
}

.text-color {
  color: hsl(249, 95%, 60%);
}

.role-color {
  color: #999999;
}

.social__icons-projects {
  position: absolute;
  bottom: 1rem;
  left: 1.25rem;
  font-size: 1.5625rem;
}
.social__icons-projects .fa-brands-projects {
  margin-right: 0.625rem;
}
.social__icons-projects .fa-brands-projects:hover {
  transform: scale(0.9);
  transition: transform 150ms ease-in-out;
}

.footer-projects {
  color: hsl(0, 0%, 100%);
  font-size: 0.625rem;
  text-transform: capitalize;
}

.footer__footer {
  visibility: hidden;
}

@media screen and (min-width: 811px) {
  .social__icons-projects {
    visibility: hidden;
  }
  .footer__footer {
    visibility: visible;
    position: static;
    margin-bottom: 1.25rem;
    margin-inline-end: 1.25rem;
    font-size: 0.625rem;
    color: hsl(0, 0%, 20%);
  }
  .image__section {
    display: grid;
    place-content: center;
  }
  .about__bio--image {
    margin-block: 1.5625rem;
    aspect-ratio: 1/0.1;
    width: 100vw;
    padding: 0.625rem;
  }
  .bio__image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: fill;
    height: 50vh;
    border-radius: 0.25rem;
  }
  .content {
    width: 60%;
    font-size: 1.125rem;
    color: hsl(0, 0%, 100%);
    text-align: left;
    background: hsl(249, 95%, 60%);
    border-radius: 0.3125rem;
    margin: 1rem 0.625rem 1rem; /*! top sides bottom */
    padding: 1rem;
    box-shadow: 0.2rem 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
  }
  .position {
    display: grid;
    place-items: center;
  }
  .personal-logo {
    display: none;
  }
}
.personal-logo {
  width: 30%;
  margin: 0 auto;
  position: absolute;
  top: 40px;
}

.social__icons-projects {
  position: absolute;
  bottom: 1rem;
  left: 1.25rem;
  font-size: 1.5625rem;
}
.social__icons-projects .fa-brands-projects:hover {
  transform: scale(0.9);
  transition: transform 150ms ease-in-out;
}

.footer-projects {
  color: hsl(0, 0%, 100%);
  font-size: 0.625rem;
  text-transform: capitalize;
}

.projects {
  padding: 3.75rem 0.625rem;
}

.headline {
  text-align: center;
  margin-block: 1.875rem;
  border-bottom: none;
  margin-block-end: 0.625rem;
}

.projects__items {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: 40vh;
  gap: 1rem;
  height: 100vh;
}

.projects__item {
  position: relative;
  overflow: hidden;
  border-bottom: 7px solid hsl(249, 95%, 60%);
}
.projects__item::after {
  content: "";
  position: absolute;
  background: hsl(249, 95%, 60%);
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.5s ease-in-out;
}
.projects__item:hover::after {
  opacity: 0.9;
  top: 0;
}
.projects__item:hover .projects__btn {
  opacity: 1;
}
.projects__item .projects__image {
  opacity: 0.9;
  width: 100%;
  object-fit: fill;
  aspect-ratio: 1/1.5;
}

.projects__btns {
  z-index: 1;
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  display: grid;
  place-items: center;
  grid-template-columns: repeat(2, 1fr);
}

.projects__btn {
  opacity: 1;
  font-size: 1.125rem;
  transition: all 0.5s ease-in-out;
  background: hsl(249, 95%, 60%);
  border-radius: 1.25rem;
  padding: 0.5rem 0.75rem;
}
.projects__btn:hover {
  color: hsl(0, 0%, 20%);
}
.projects__btn:active {
  color: hsl(0, 0%, 100%);
}

.fa-eye,
.fab {
  font-size: 1.25rem;
  margin-right: 0.625rem;
}

@media screen and (min-width: 811px) {
  .footer-projects {
    visibility: hidden;
  }
  .projects__items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 45vh;
    gap: 0.5rem;
  }
  .footer__footer {
    position: static;
  }
  .headline {
    text-align: center;
    width: 100%;
    margin-block-end: 0.625rem;
  }
  .projects__btn {
    opacity: 0;
    font-size: 1.625rem;
    background: none;
  }
  .personal-logo {
    display: none;
  }
}
.personal-logo {
  width: 30%;
  margin: 0 auto;
  position: absolute;
  top: 40px;
}

strong {
  color: hsl(249, 95%, 60%);
}

.title {
  text-transform: uppercase;
  font-size: 1.875rem;
  margin-block: 0.625rem;
  text-align: center;
}

.touch {
  font-size: 1.875rem;
  text-transform: uppercase;
  font-weight: 700;
  color: hsl(249, 95%, 60%);
}

.testo-form {
  text-align: justify;
  font-size: 1.375rem;
  line-height: 1.6;
}

@media screen and (min-width: 811px) {
  .testo-form {
    margin-inline: 9.5vw;
    text-align: justify;
    line-height: 1.6;
  }
}
.contacts {
  padding: 5.625rem 0.625rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contacts__about {
  text-align: justify;
  margin: 0 auto;
  width: 80vw;
  margin-block: 1.875rem;
  flex: 1 1 20%;
}

.wrapper__form {
  flex: 1 1 80%;
  border: 2px solid hsla(0, 0%, 70%, 0.2);
  box-shadow: 0 4px 20px 1px rgba(51, 51, 51, 0.1);
  padding: 0rem 2.5rem 1.875rem;
  width: 80vw;
}

.form-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block: 3.4375rem;
}

input {
  border: 1px solid lightgrey;
  border-radius: 0.1875rem;
  outline: none;
  width: 100%;
  padding: 0.75rem;
  color: hsl(249, 95%, 60%);
  font-size: 0.875rem;
}
input:focus {
  outline: 1px solid hsl(249, 95%, 64%);
}
input:is(:focus, :not(:placeholder-shown)) ~ .name-label {
  color: hsl(249, 95%, 60%);
  transform: translateY(-1.125rem) translateX(0.3125rem);
  background: hsl(0, 0%, 100%);
  padding-inline: 0.3125rem;
  font-size: 0.875rem;
}
input:invalid ~ .error-message {
  visibility: visible;
}

.error-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: 2.5rem;
  color: red;
  visibility: hidden;
  font-size: 0.75rem;
  width: max-content;
}

.name-label {
  position: absolute;
  top: 0.5rem;
  margin-left: 0.625rem;
  left: 0;
  color: lightgrey;
  font-size: 1.125rem;
  pointer-events: none;
  transition: all 350ms ease-in-out;
}

.buttons-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.reset {
  color: hsl(249, 95%, 60%);
  background: hsl(249, 95%, 60%);
  box-shadow: 0 50px hsl(0, 0%, 100%) inset;
  transition: box-shadow 350ms ease-in-out;
  outline: none;
  border: 1px solid hsl(249, 95%, 60%);
  border-radius: 0.1875rem;
  font-size: 1.125rem;
  padding: 0.5em 3em;
  cursor: pointer;
}
.reset:hover {
  box-shadow: 0 0 hsl(0, 0%, 100%) inset;
  color: hsl(0, 0%, 100%);
  background: hsl(249, 95%, 60%);
  border: 1px solid hsl(249, 95%, 60%);
}
.reset:active {
  transform: scale(0.97);
}

.submit {
  background: hsl(0, 0%, 100%);
  color: hsl(0, 0%, 100%);
  box-shadow: 0 50px hsl(249, 95%, 60%) inset;
  transition: box-shadow 350ms ease-in-out;
  outline: none;
  border: 1px solid hsl(249, 95%, 60%);
  border-radius: 0.1875rem;
  font-size: 1.125rem;
  padding: 0.5em 3em;
  cursor: pointer;
}
.submit:hover {
  box-shadow: 0 0 hsl(249, 95%, 60%) inset;
  color: hsl(249, 95%, 60%);
  background: hsl(0, 0%, 100%);
  border: 1px solid hsl(249, 95%, 60%);
}
.submit:active {
  transform: scale(0.97);
  border: none;
}

.tx-area {
  resize: none;
  font-family: "Basier-circle";
  font-size: 0.875rem;
  outline: none;
  border: 1px solid lightgray;
  min-height: 6.25rem;
  width: 100%;
  margin-top: 3.125rem;
  padding: 0.5rem;
  color: hsl(249, 95%, 60%);
}
.tx-area:focus {
  outline: 1px solid hsl(249, 95%, 64%);
}

.tx {
  color: hsl(249, 95%, 64%);
  width: max-content;
  margin: 0 auto;
}

.personal-logo {
  width: 30%;
  margin: 0 auto;
  position: absolute;
  top: 40px;
}

@media screen and (min-width: 811px) {
  .personal-logo {
    display: none;
  }
}/*# sourceMappingURL=main.css.map */