[data-depth] {
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

body {
  overflow-x: hidden;
}

body.show-aside {
  overflow-x: hidden;
  overflow-y: hidden;
}

header {
  position: absolute;
  top: 2.1rem;
  left: 2.1rem;
  z-index: 999;
  -webkit-transition: all 0.3s ease 0.1s;
  transition: all 0.3s ease 0.1s;
}

.logo {
  width: 12rem;
}

.main {
  position: relative;
  padding-top: calc(8vh + 12rem);
  /* background: rgb(2,54,103);
  background: linear-gradient(-327deg, rgba(2,54,103,1) 0%, rgba(90,123,154,1) 100%); */
  background-color: rgba(253, 230, 226, 0.2);
  -webkit-transition: all 0.3s ease 0.1s;
  transition: all 0.3s ease 0.1s;
}
/* .main::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(18,50,146);
  background: linear-gradient(49deg, rgba(18,50,146,0) 0%, rgba(255,255,0,0.3) 70%, rgba(90,123,154,0) 100%);
  background: linear-gradient(49deg, rgba(18,50,146,0) 0%, rgba(170,15,49,0.3) 70%, rgba(90,123,154,0) 100%);
} */

@media (min-width: 1000px) {
  .main {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-content: center;
    align-content: center;
    padding-top: 0;
    height: 100vh;
  }
}

.main .contents {
  position: relative;
  z-index: 99;
  width: calc(100% - 2.1rem);
  padding-left: 2.1rem;
  margin-bottom: 3vh;
  -webkit-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
}

@media (min-width: 1000px) {
  .main .contents {
    margin-bottom: 0;
    width: calc(42% - 4.2rem);
    padding-left: 4.2rem;
  }
}

.main .contents h1 {
  text-shadow: 0px 0px 55px rgba(253, 230, 226, 0.4);
}

.main .contents p {
  opacity: 0.8;
  text-shadow: 0px 0px 55px rgba(253, 230, 226, 0.4);
}

.main .visual {
  width: 100%;
  overflow: visible;
  padding-bottom: 5vh;
}

@media (min-width: 1000px) {
  .main .visual {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
  }
}

.layers {
  position: relative;
  width: 100%;
  height: 100vw;
}

@media (min-width: 1000px) {
  .layers {
    width: 90%;
    margin-left: 10%;
    height: 100vh;
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
}

.layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  -webkit-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
}

@media (min-width: 1000px) {
  .layer {
    background-position: center right;
  }
}

.layer.layer-01-circles {
  background-image: url( ../images/visual-layers/01-circles-alt.png);
}
.layer.layer-02-earth {
  background-image: url( ../images/visual-layers/02-earth.png);
}
.layer.layer-03-net {
  background-image: url( ../images/visual-layers/03-net.png);
}
.layer.layer-04-connections {
  background-image: url( ../images/visual-layers/04-connections.png);
}
.layer.layer-05-people {
  background-image: url( ../images/visual-layers/05-people.png);
}
.layer.layer-06-eu {
  background-image: url( ../images/visual-layers/06-eu.png);
}

.who,
.what {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
  -webkit-align-content: center;
  align-content: center;
  -webkit-flex-direction: column;
  flex-direction: column;
  padding-top: 0;
  padding-top: 13vh;
  padding-bottom: 13vh;
  background-color: var(--green);
  background-color: rgba(51, 77, 74, 0.1);
  background-color: rgba(253, 230, 226, 0.2);
}

.what {
  padding-top: 0;
}

@media (min-width: 750px) {
  .who {
    padding-left: 2.1rem;
    padding-right: 2.1rem;
    -webkit-flex-direction: row;
    flex-direction: row;
  }
  .what {
    padding-left: 2.1rem;
    padding-right: 2.1rem;
    -webkit-flex-direction: row-reverse;
    flex-direction: row-reverse;
  }
}

@media (min-width: 1000px) {
  .who,
  .what {
    padding-left: 4.2rem;
    padding-right: 4.2rem;
  }
}

.who .visual,
.what .visual {
  width: 80%;
  margin-bottom: 3vh;
  position: relative;
}

@media (min-width: 750px) {
  .who .visual,
  .what .visual {
    width: 40%;
    margin-bottom: 0;
  }
}

.who .visual .bg,
.what .visual .bg {
  width: 90%;
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
  opacity: 0.4;
  mix-blend-mode: multiply;
}

.who .visual .people,
.what .visual .people {
  position: absolute;
  width: 60%;
  margin-left: 20%;
  top: 10%;
  bottom: 0;
  /* margin-top: -12.5%; */
}

.who .contents,
.what .contents {
  width: calc(100% - 4.2rem);
  padding-left: 2.1rem;
  padding-right: 2.1rem;
}

@media (min-width: 750px) {
  .who .contents,
  .what .contents {
    width: calc(60% - 4.2rem);
    padding-left: 2.1rem;
    padding-right: 2.1rem;
  }
}

@media (min-width: 1000px) {
  .who .contents,
  .what .contents {
    width: calc(60% - 8.4rem);
    padding-left: 4.2rem;
    padding-right: 4.2rem;
  }
}

aside {
  position: fixed;
  z-index: 1001;
  left: 2.1rem;
  right: 2.1rem;
  top: 2.1rem;
  max-height: calc(100% - 4.2rem);
  border-radius: 5.5rem;
  background-color: #fff;
  overflow: auto;
  -webkit-box-shadow: 0px 0px 89px 0px rgba(0,0,0,0); 
  box-shadow: 0px 0px 89px 0px rgba(0,0,0,0);
  -webkit-transition: all 0.3s ease 0.1s;
  transition: all 0.3s ease 0.1s;
  -webkit-transform: translateX(110%);
  transform: translateX(110%);
  -ms-overflow-style: none;  /* Internet Explorer 10+ */
  scrollbar-width: none;  /* Firefox */
}

@media (min-width: 1000px) {
  aside {
    left: auto;
    width: 68%;
  }
}

@media (min-width: 1200px) {
  aside {
    left: auto;
    width: 42%;
  }
}

aside::-webkit-scrollbar { 
  display: none;  /* Safari and Chrome */
}

.show-aside aside {
  -webkit-box-shadow: 0px 0px 89px 0px rgba(0,0,0,0.21); 
  box-shadow: 0px 0px 89px 0px rgba(0,0,0,0.21);
 -webkit-transform: translateX(0);
 transform: translateX(0);
}

aside .contents,
aside .cta {
  padding-bottom: 5vh;
  padding-top: 5vh;
  padding-left: 2.1rem;
  padding-right: 2.1rem;
}

@media (min-width: 1000px) {
  aside .contents,
  aside .cta {
    padding-left: 4.2rem;
    padding-right: 4.2rem;
  }
}

aside .contents {
  background-color: var(--green);
}

aside .cta {
  /* background-color: rgba(255, 255, 1, 0.8); */
  background-color: #fff;
  background-color: rgba(253, 230, 226, 0.2);
}

@media (min-width: 1000px) {
  aside .cta {
    padding-left: 8.9rem;
    padding-right: 8.9rem;
  }
}

aside .cta h3 {
  margin-bottom: 3vh;
}

aside .contents h2,
aside .cta h2 {
  font-size: 1.2rem;
  font-weight: var(--bold);
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  position: relative;
  padding-left: 1.8rem;
}

aside .contents h2::before,
aside .cta h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: rgba(18,50,146,1);
  background: linear-gradient(-45deg, rgba(18,50,146,1) 0%, rgba(170,15,49,1) 100%);
}

aside .contents p {
  font-size: 1.8rem;
  text-indent: 4.2rem;
}

footer {
  background-color: rgba(253, 230, 226, 0.2);
  -webkit-transition: all 0.3s ease 0.1s;
  transition: all 0.3s ease 0.1s;
}

footer .cta {
  margin-left: 2.1rem;
  margin-right: 2.1rem;
  background-color: var(--green);
  border-radius: 5.5rem;
  padding-top: 13vh;
  padding-bottom: 13vh;
}

footer .container {
  max-width: 100%;
}

footer .cta h3 {
  margin-bottom: 3vh;
}

footer .contacts {
  width: 5.5rem;
  text-align: right;
  position: fixed;
  z-index: 9999;
  right: 2.1rem;
  bottom: 2.1rem;
  -webkit-transform: translateY(calc(100% + 2.1rem));
  transform: translateY(calc(100% + 2.1rem));
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

@media (min-width: 1000px) {
  footer .contacts {
    right: 3.4rem;
  }
}

footer .contacts.show {
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

footer .contacts button.beyondeu {
  padding: 0 1.2rem;
}

footer .contacts button.beyondeu img {
  -webkit-transform: translateY(0.6rem);
  transform: translateY(0.6rem);
}

footer .info {
  margin-top: 8vh;
  position: relative;
  margin-left: 2.1rem;
  margin-right: 2.1rem;
  font-size: 1.3rem;
}

footer .info p {
  padding-right: 3.4rem;
}

@media (min-width: 550px) {
  footer .info p {
    padding-right: 0;
  }
}

.close-btn {
  cursor: pointer;
  font-size: 2.1rem;
  position: fixed;
  z-index: -1;
  visibility: hidden;
  opacity: 0;
  top: calc(2.4rem + 2.1rem);
  right: calc(2.4rem + 2.1rem);
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

.show-aside .close-btn {
  z-index: 1002;
  visibility: visible;
  opacity: 1;
  -webkit-transition: opacity 0.3s ease 0.5s;
  transition: opacity 0.3s ease 0.5s;
}

.overlay {
  position: fixed;
  z-index: -1;
  visibility: hidden;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
  background-color: rgba(90,123,154,0.9);
  -webkit-transition: opacity 0.3s ease 0.1s;
  transition: opacity 0.3s ease 0.1s;
}

.show-aside .overlay {
  z-index: 1000;
  visibility: visible;
  opacity: 1;
}

button.beyondeu {
  position: relative;
  font-size: 1.1rem;
  font-weight: var(--regular);
  z-index: 1;
  border: 0;
  border-radius: 1.6rem;
  color: #fff !important;
  background-color: transparent;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

button.beyondeu.alt {
  color: var(--blu) !important;
}

button.beyondeu:hover,
button.beyondeu:active,
button.beyondeu:focus,
button.beyondeu.alt:hover,
button.beyondeu.alt:active,
button.beyondeu.alt:focus {
  color: #fff !important;
}

button.beyondeu::before {
  position: absolute;
  z-index: -2;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 1.6rem;
  background: rgba(18,50,146,1);
  background: linear-gradient(-45deg, rgba(18,50,146,1) 0%, rgba(170,15,49,1) 100%);
  content: "";
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

button.beyondeu.alt::before {
  border: solid 0.1rem var(--blu);
  background: transparent;
}

button.beyondeu::after {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  border-radius: 1.6rem;
  content: "";
  background: rgb(170,15,49);
  background: linear-gradient(-45deg, rgba(170,15,49,1) 0%, rgba(18,50,146,1) 100%);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

button.beyondeu:hover::after {
  opacity: 1;
}

button.beyondeu i {
  display: inline-block;
  transform: translateX(-0.5rem);
}