/* ^^^ Mobile L ^^^ */
@media (min-width: 425px) and (max-width: 767px) {
  *{
    box-sizing: border-box;
    /* outline: 1px solid blue; */
  }
  html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
  }

  :root {
    /*Color*/
    /* --PrimaryColor: #5c2e0d;
    --SecondaryColor: #3f5a9d;
    --BackgroundColor: #538160;
    --WhiteColor: #DBC1AC;
    --BlackColor: #69665C; */

    /* Base unit */
    --unit: 16px;

    /* Font sizes */
    /* --textXS: calc(var(--unit) * 0.5);
    --textS: calc(var(--unit) * 0.75);
    --textM: calc(var(--unit) * 1);
    --textL: calc(var(--unit) * 1.5);
    --textXL: calc(var(--unit) * 2.4);
    --textXXL: calc(var(--unit) * 3.3); */

    /* Spacing */
    /* --spaceXS: calc(var(--unit) * 0.25);
    --spaceS: calc(var(--unit) * 0.5);
    --spaceM: calc(var(--unit) * 1);
    --spaceL: calc(var(--unit) * 1.5);
    --spaceXL: calc(var(--unit) * 2); */
  }

  body {
    /* background-color: var(--BackgroundColor); */
    /* font-size: var(--textM); */
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
    z-index: 0;
  }
  main{
    position: relative;
    z-index: 1;
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Splash */
  .splash-container {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    /* background: var(--PrimaryColor); */
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 10vh; /* Fa salire verticalmente */
    background-image: url("../media/splash-background.webp");
    background-size: 80vw;
    background-position: center;
    background-repeat: no-repeat;
  }

  .splash {
    width: 100%;
    max-width: 100vw;
    padding: var(--spaceM);
    box-sizing: border-box;
    text-align: center;
    text-transform: uppercase;
    margin: 0 auto;
    overflow-x: hidden;
  }

  .splash-title {
    /* font-size: var(--textXL); */
    width: 86vw;
    box-sizing: border-box;
    padding: 1em;
    max-width: 100vw;
    font-weight: bold;
    color: white;
    border: 4px solid var(--WhiteColor);
    padding: 1.2em 0em;
    border-radius: 0.3125em;
    line-height: 1.2em;
    margin-bottom: 1.5em;
    overflow-x: hidden;
  }

  .splash-subtitle {
    color: white;
    letter-spacing: 0.03125em;
    opacity: 0.9;
    /* font-size: var(--textL); */
  }

  /* Arrow scroll down */
  .scroll-down {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    font-size: var(--textXL);
    /* font-size: 1.3rem; */
    /* color: var(--WhiteColor); */
    animation: bounce 2s infinite;
    cursor: pointer;
    padding: 20px;
  }

  /* @keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
  } */

  /* Content */
  .content {
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
    /* background: var(--SecondaryColor); */
    padding: var(--spaceM);
    border-radius: 0.3em;
    margin-top: 100vh;
    border-top-left-radius: 1em;
    border-top-right-radius: 1em;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    max-width: 100vw;
    overflow-x: hidden;
  }

  /* Hide map */
  .address-map {
    display: none;
  }

  .address-map-container {
    flex-direction: column;
    align-items: flex-start;
  }

  /* .content-title {
    color: white;
    font-size: var(--textXL);
  }*/

  .content-text {
    font-weight: normal;
  }

  /* Button */
  .contact-button.pulsing {
    animation: pulse 1s ease-in-out infinite;
  }

  @keyframes pulse {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.1);
    }
    100% {
      transform: scale(1);
    }
  }

}
