@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: url("./assets/fonts/open-sans-v34-latin-regular.eot"); /* IE9 Compat Modes */
  src: local(""), url("./assets/fonts/open-sans-v34-latin-regular.eot?#iefix") format("embedded-opentype"), url("./assets/fonts/open-sans-v34-latin-regular.woff2") format("woff2"), url("./assets/fonts/open-sans-v34-latin-regular.woff") format("woff"), url("./assets/fonts/open-sans-v34-latin-regular.ttf") format("truetype"), url("./assets/fonts/open-sans-v34-latin-regular.svg#OpenSans") format("svg"); /* Legacy iOS */
}
* {
  font-family: "Open Sans", sans-serif;
  box-sizing: border-box;
}

html {
  width: 100vw;
  height: 100vh;
}

body {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 32px 64px 0 64px;
  background-repeat: round;
  background-image: url("../assets/images/background.png");
  overflow-x: hidden;
}

button,
a {
  cursor: pointer;
}

.vflex {
  display: flex;
  flex-direction: column;
}

.hflex {
  display: flex;
  flex-direction: row;
}

.highlight {
  color: #e04b7f !important;
}

.italic {
  font-style: italic;
}

.grid {
  height: 100%;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: auto repeat(3, 1fr) 132px;
}
.grid .itel-logo {
  grid-column: 1/2;
  width: 200px;
}
.grid h1 {
  font-size: 52px;
  grid-column: 2/5;
  text-align: center;
  vertical-align: middle;
}
.grid .puglia-salute {
  justify-self: flex-end;
  align-items: center;
  justify-content: center;
}
.grid .puglia-salute img {
  width: 330px;
}
.grid .puglia-salute p {
  font-weight: 550;
  font-size: 20px;
}
.grid .puglia-salute button {
  width: fit-content;
  padding: 16px 48px;
  border: none;
  border-radius: 15px 15px 0 15px;
  background-color: #e04b7f;
}
.grid .puglia-salute button:hover {
  background-color: #d42462;
}
.grid .puglia-salute button:focus {
  background-color: #a81d4d;
}
.grid .puglia-salute button span {
  font-weight: 550;
  font-size: 20px;
  color: white;
}
.grid .square {
  height: 340px;
  grid-column: 1/3;
  grid-row: 2/3;
  align-self: center;
  justify-self: center;
}
.grid .section-buttons {
  gap: 32px;
  grid-column: 3/4;
  grid-row: 2/4;
  align-self: center;
  justify-self: center;
}
.grid .section-buttons button {
  width: 220px;
  height: 60px;
  border: none;
  border-radius: 15px 15px 0 15px;
  background-color: #3d5da8;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}
.grid .section-buttons button:hover {
  background-color: #2f4883;
}
.grid .section-buttons button:focus {
  background-color: #22345d;
}
.grid .section-buttons button span {
  font-weight: 550;
  font-size: 20px;
  color: white;
  text-shadow: rgba(0, 0, 0, 0.25) 0 4px 4px;
}
.grid .content {
  align-self: center;
  justify-self: center;
  padding: 72px 48px;
  width: 75%;
  height: fit-content;
  grid-column: 4/6;
  grid-row: 2/5;
  background-color: #3d5da8;
  border-radius: 30px 30px 0 30px;
  color: white;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  animation: come-from-right 0.5s ease-in-out;
}
@keyframes come-from-right {
  0% {
    transform: translateX(200%);
  }
  100% {
    transform: translateX(0%);
  }
}
.grid .content.hide {
  animation: hide-on-right 0.5s ease-in-out forwards;
}
@keyframes hide-on-right {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(200%);
  }
}
.grid .content h2 {
  font-size: 40px;
  margin: 0;
  align-self: center;
}
.grid .content p,
.grid .content ul {
  margin: 0;
}
.grid .content p,
.grid .content li {
  font-weight: 550;
  font-size: 20px;
}
.grid .content li {
  margin: 12px 0px;
}
.grid .content button {
  width: 220px;
  height: 60px;
  border: none;
  border-radius: 15px 15px 0 15px;
  background-color: white;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  display: flex;
  align-self: center;
  align-items: center;
  justify-content: center;
}
.grid .content button:hover {
  background-color: #e6e6e6;
}
.grid .content button:focus {
  background-color: #cccccc;
}
.grid .content button span {
  font-weight: 550;
  font-size: 20px;
  color: #3d5da8;
}
.grid .writing {
  justify-self: center;
  align-self: flex-end;
  grid-column: 1/3;
  grid-row: 4/6;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}
.grid .writing img {
  width: fit-content;
}
.grid .region-logo {
  height: 100px;
  margin-bottom: 32px;
  align-self: flex-end;
  justify-self: flex-end;
  grid-column: 5/6;
  grid-row: 3/6;
  justify-self: end;
}
.grid .error-message {
  grid-column: 1/6;
  grid-row: 2/4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
}
.grid .error-message h2 {
  font-weight: 550;
}
.grid .error-message button {
  padding: 1rem;
  width: auto;
  height: 60px;
  border: none;
  border-radius: 15px 15px 0 15px;
  background-color: #3d5da8;
  color: white;
  font-weight: 550;
  font-size: 1.5rem;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
}
.grid .error-message button img {
  height: 1.5rem;
  width: 1.5rem;
  margin-right: 1rem;
}

.translate-right {
  transition: transform 1s;
  transform: translateX(20%);
}

.translate-center {
  transition: transform 1s;
  transform: translate(0%);
}

.hidden {
  display: none;
}

@media screen and (orientation: landscape) {
  .flex {
    display: none;
  }
}
@media screen and (orientation: landscape) and (max-width: 2559px) {
  .grid .itel-logo {
    grid-column: 1/2;
    width: 160px;
  }
  .grid h1 {
    font-size: 42px;
  }
  .grid .square img {
    height: 300px;
  }
  .grid .content {
    width: 85%;
    padding: 48px;
    height: 90%;
    gap: 0;
    justify-content: space-between;
  }
  .grid .content h2 {
    font-size: 36px;
  }
  .grid .content p,
  .grid .content li {
    font-size: 18px;
  }
  .grid .content li {
    margin: 6px 0;
  }
}
@media screen and (orientation: landscape) and (max-width: 1919px) {
  .grid {
    grid-template-rows: auto repeat(3, 1fr) 98px;
  }
  .grid .itel-logo {
    width: 96px;
  }
  .grid .content {
    width: 90%;
    padding: 32px;
    height: 90%;
    gap: 0;
    justify-content: space-between;
  }
  .grid .content p,
  .grid .content li {
    font-size: 1rem;
  }
  .grid .puglia-salute img {
    width: 220px;
  }
  .grid .puglia-salute p {
    font-size: 1rem;
  }
  .grid .puglia-salute button {
    padding: 12px 36px;
  }
  .grid .writing img {
    height: 280px;
  }
  .grid .region-logo {
    height: 66px;
  }
  .grid .region-logo img {
    height: 66px;
  }
}
@media screen and (orientation: landscape) and (max-width: 1599px) {
  .grid .itel-logo {
    width: 96px;
  }
  .grid .content {
    padding: 24px;
    width: 95%;
    justify-self: flex-end;
  }
  .grid .content h2 {
    font-size: 24px;
  }
  .grid .content p,
  .grid .content li {
    font-size: 14px;
  }
  .grid .content button {
    width: 160x;
    height: 40px;
  }
  .grid .content button span {
    font-size: 16px;
  }
  .grid .puglia-salute img {
    width: 220px;
  }
  .grid .puglia-salute p {
    font-size: 16px;
  }
  .grid .puglia-salute button {
    padding: 12px 36px;
  }
  .grid .puglia-salute button span {
    font-size: 16px;
  }
  .grid .square img {
    height: 200px;
  }
  .grid .writing img {
    height: 280px;
  }
  .grid .region-logo {
    height: 66px;
  }
  .grid .region-logo img {
    height: 66px;
  }
  .translate-right {
    transform: translate(10%);
  }
}
@media screen and (orientation: landscape) and (max-width: 1365px) {
  body {
    padding: 24px 32px 0 32px;
  }
  .grid {
    grid-template-rows: auto repeat(3, 1fr) 68px;
  }
  .grid .itel-logo {
    width: 96px;
  }
  .grid h1 {
    font-size: 24px;
    grid-row: 1;
    grid-column: 2/5;
  }
  .grid .section-buttons {
    grid-column: 2/4;
    width: 100%;
  }
  .grid .section-buttons.col2 {
    animation: set-col-1 0.5s ease-in-out forwards;
  }
  @keyframes set-col-1 {
    0% {
      width: 100%;
    }
    100% {
      width: 50%;
    }
  }
  .grid .section-buttons button {
    position: relative;
    left: 50%;
    width: 180px;
    height: 40px;
  }
  .grid .section-buttons button span {
    font-size: 18px;
  }
  .grid .section-buttons button.move-left {
    animation: move-left 0.5s ease-in-out forwards;
  }
  @keyframes move-left {
    0% {
      left: 50%;
    }
    100% {
      left: 0%;
    }
  }
  .grid .content {
    grid-column: 3/6;
    padding: 16px;
    width: 100%;
    gap: 12px;
  }
  .grid .content h2 {
    font-size: 18px;
  }
  .grid .content p,
  .grid .content li {
    font-size: 14px;
  }
  .grid .content li {
    margin: 0;
  }
  .grid .content button {
    width: 160x;
    height: 40px;
  }
  .grid .content button span {
    font-size: 16px;
  }
  .grid .puglia-salute {
    justify-self: flex-end;
    grid-column: 4/6;
    grid-row: 1;
  }
  .grid .puglia-salute img {
    width: 180px;
  }
  .grid .puglia-salute p {
    font-size: 14px;
  }
  .grid .puglia-salute button {
    padding: 12px 24px;
  }
  .grid .puglia-salute button span {
    font-size: 14px;
  }
  .grid .square {
    height: 100%;
    width: 100%;
    align-self: flex-start;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .grid .square img {
    height: 140px;
  }
  .grid .square.col1 {
    animation: set-col-1 0.5s ease-in-out forwards;
  }
  @keyframes set-col-1 {
    0% {
      width: 100%;
    }
    100% {
      width: 50%;
      justify-self: flex-start;
    }
  }
  .grid .writing {
    height: 100%;
    width: 100%;
  }
  .grid .writing img {
    height: 180px;
  }
  .grid .writing.col1 {
    animation: set-col-1 0.5s ease-out forwards;
  }
  @keyframes set-col-1 {
    0% {
      width: 100%;
    }
    100% {
      width: 50%;
      justify-self: flex-start;
    }
  }
  .grid .region-logo {
    height: 44px;
    margin-bottom: 24px;
  }
  .grid .region-logo img {
    height: 44px;
  }
  .translate-right {
    transform: translate(10%);
  }
}
@media screen and (orientation: portrait) {
  * {
    color: #3d5da8;
    font-size: 1.5rem;
    font-weight: 550;
  }
  body {
    background-image: none;
    padding: 0;
  }
  p,
  ul {
    margin-top: 0;
    margin-bottom: 0;
  }
  .grid {
    display: none;
  }
  .flex {
    height: 100%;
    padding: 7.5vh 10vw 7.5vh 10vw;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    overflow-y: auto;
  }
  .flex .itel-logo {
    width: 40%;
    align-self: center;
  }
  .flex h1 {
    align-self: center;
    text-align: center;
    color: #000;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
  }
  .flex h1 span {
    font-size: 2.5rem;
  }
  .flex h1 .italic {
    color: #000;
  }
  .flex .sections {
    gap: 3rem;
    align-items: center;
    font-weight: 500;
  }
  .flex .sections .btn {
    width: 75%;
    height: 5rem;
    border: none;
    border-radius: 1rem 1rem 0 1rem;
    background-color: #3d5da8;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .flex .sections .btn span {
    font-weight: 550;
    color: white;
    text-shadow: rgba(0, 0, 0, 0.25) 0 4px 4px;
  }
  .flex .sections .btn img {
    height: 1.5rem;
    margin-left: 1rem;
  }
  .flex .sections .portrait-container {
    overflow: hidden;
  }
  .flex .sections .portrait-container .portrait-content {
    gap: 1rem;
  }
  .flex .sections .portrait-container .portrait-content.start {
    margin-top: -200%;
    padding-bottom: 0;
  }
  .flex .sections .portrait-container .portrait-content.show {
    animation: show-animation 0.5s ease-in-out forwards;
  }
  @keyframes show-animation {
    0% {
      margin-top: -200%;
      padding-bottom: 0;
    }
    100% {
      margin-top: 0;
      padding-bottom: 0.25rem;
    }
  }
  .flex .sections .portrait-container .portrait-content.hide {
    animation: hide-animation 0.5s ease-in-out forwards;
  }
  @keyframes hide-animation {
    0% {
      margin-top: 0;
      padding-bottom: 0.25rem;
    }
    100% {
      margin-top: -200%;
      padding-bottom: 0;
    }
  }
  .flex .sections .portrait-container .portrait-content .discover {
    background-color: #ecf0f8;
    border-radius: 1rem 1rem 0 1rem;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    height: 3rem;
    width: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    align-self: center;
  }
  .flex .sections .portrait-container .portrait-content .discover span {
    font-weight: 550;
  }
  .flex .sections .portrait-container .portrait-content .discover img {
    height: 1.5rem;
  }
  .flex .puglia-salute {
    align-items: center;
    justify-self: flex-end;
    gap: 1rem;
    margin-top: auto;
  }
  .flex .puglia-salute img {
    width: 80%;
  }
  .flex .puglia-salute p {
    font-weight: 600;
    color: #000;
  }
  .flex .puglia-salute button {
    width: 75%;
    height: 5rem;
    border: none;
    border-radius: 1rem 1rem 0 1rem;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    background-color: #e04b7f;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .flex .puglia-salute button:hover {
    background-color: #d42462;
  }
  .flex .puglia-salute button:focus {
    background-color: #a81d4d;
  }
  .flex .puglia-salute button span {
    font-weight: 550;
    color: white;
  }
}

/*# sourceMappingURL=style.css.map */
