/** MAIN **/


.cover{
  padding-bottom: 10px;
  padding-top: 50px;
  display: flex;
  justify-content: center;
}
.cover__main{
  padding-top: 30px;
  display: flex;
  justify-content: center;
}
.cover__main--img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  padding: .2rem;
}

.SPLs{
  max-width: 1600px;
  min-height: 90vh;
  display: grid;
  grid-gap: 2rem;
  grid-template-columns: repeat(1, minmax(250px, 620px) );
  justify-items: center;
  margin: 0 auto;
  padding-bottom: 20rem;
}

.menuDiv{
  position: relative;
  top: 1rem;
  grid-column: 1/2;
}

h1,
h2{
  position: -webkit-sticky;
  position: sticky;
  top: 58px;
  font-size: clamp(var(--normal), 6dvw,  calc(1.5 * var(--normal)));
  z-index: 5;
  border-top: 2px solid var(--hr);
  border-bottom: 2px solid var(--hr);
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  background-color: var(--main-background);
  margin-bottom: 2rem;
  padding: 15px 0 10px;
  text-align: center;
  color: var(--font);
  grid-column: 1/2;
  text-transform: uppercase;
  font-weight: 500;
  text-wrap: balance;
}

h1{
  padding: 15px 0;
  font-size: clamp(calc(2 * var(--xsmall)), 7.4dvw, calc(1.7 * var(--normal)));
  top: 68px;
  display: block;
  position: relative;
  padding: 0;
  margin: 0 auto;
  border-bottom: 2px solid var(--hr);
  width: 100%;
  max-width: 1600px;
  margin-bottom: var(--large);
  padding: 15px 0;
  color: var(--font);
  text-transform: uppercase;
  font-weight: 500;
  text-wrap: balance;
  text-align: center;
  border-top: none;
}

h1 span{
  padding-right: var(--small);
}

.spl-container{
  border: 1px solid #ccc;
  background-color: #fff;
  width: 95%;
  min-width: 260px;
  max-width: 400px;
  box-shadow: 0px 20px 4px -16px rgba(112, 112, 112, 0.3);
  z-index: 1;
  transition-duration: 100ms;
  border-radius: 2px;
  margin: 2rem 1rem;
  aspect-ratio: 4/5;

  display: flex;
  align-items: center;
  justify-content: center;
}

.spl-container:hover{
cursor: pointer;
outline: 6px solid #103183;
box-shadow: 0px 20px 15px -5px rgba(112, 112, 112, 0.15);
box-shadow: 0px 0px 0px 0px rgba(112, 112, 112, 0.3);
}

.img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
}

/* Spinner */
.spinner {
  position: absolute;
  left: calc(50% - 25px);
  top: calc(50% - 25px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  margin: auto;
  border-top: 3px solid rgb(16, 49, 131);
  border-right: 3px solid rgba(16, 49, 131, 0);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  animation: spin 1000ms linear infinite;
  transform-origin: center center;
}

.spinner-removed {
  display: none;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.spl-container--img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  padding: .2rem;
  opacity: 0.1;
  z-index: 5;
}

.img-loaded{
  opacity: 1;
}



/** FOOTER **/



footer {
  border-top: 3px solid #ccc;
  padding: 0 1rem;
  padding-top: 2rem;
  padding-bottom: 1rem;
  background-color: #DCDDE2;
  color: var(--mainColor, #000060);
}

.footer-container{
  display: grid;
  grid-template-columns: 1fr;
  font-size: 1rem;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

footer #version{
  font-size: .9rem;
  text-transform: uppercase;
}


/** @MEDIA **/


@media( max-width: 480px ){
  h2{
    font-size: 5.7vw;
    font-size: 6vw;
  }
}



@media( min-width: 720px ){
  .SPLs{
    grid-template-columns: repeat(2, minmax(200px, 620px) );
  }
  h1, h2, .menuDiv{
    grid-column: 1/3;
  }
}

@media (min-width: 750px){
  .footer-container{
    grid-template-columns: 1fr 2fr;
  }

  .policies{
    grid-column-start: 2;
    flex-direction: row;
    justify-content: end;
    align-items: flex-start;
    top: 0;
  }
  .policies li{
    margin: 0;
  }
  .policies .divider{
    display: inline-block;
    padding: 0 .5rem;
    cursor: text;
  }
  
  .copyright{
    text-align: left;
    grid-row-start: 1;
    margin-top: 0;
  }
  .copyright p:first-of-type{
    margin-top: 0;
  }
}

@media( min-width: 1020px ){
  .SPLs{
    grid-template-columns: repeat(3, minmax(200px, 620px) );
  }
  h1, h2, .menuDiv{
    grid-column: 1/4;
  }
}

@media( min-width: 1380px ){
  .SPLs{
    grid-template-columns: repeat(4, minmax(200px, 620px) );
  }
  h1, h2, .menuDiv{
    grid-column: 1/5;
  }
}
















