html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  font-family: radikalmedium;
  font-size: 16px;
  background: #111111;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  line-height: 1.42;
  flex-wrap: wrap;
}

a {
  color: inherit;
  text-decoration: none; }
  a:hover {
    text-decoration: underline; }

.img-container {
  position: fixed;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  -webkit-transition: all 0.1s;
  transition: all 0.1s;
  top: 0;
  left: 0;
  }

.region-content, .not-front .ui{
  display: none;
}

.not-front .region-content{
  align-self: center;
  z-index: 2;
  display: grid;
  color: white;
}
.region-content div, .region-content label{
  mix-blend-mode: exclusion;
}
.form-submit{
  -webkit-appearance: none;
  padding: 5px 20px;
  text-transform: uppercase;
  font-size: 1rem;
  cursor: pointer;
}


h1, h2 {
  margin: 0;
  font-size: 1em;
  font-weight: normal; }

.ui{
  --gap: 2rem;
  --bubble-size: 6rem;
  --info-size: 12rem;
  display: grid;
  /* margin: auto; */
  grid-template-columns: repeat(3, var(--bubble-size)) auto;
  align-content: center;
  grid-column-gap: var(--gap);
  z-index: 1;
  margin-bottom: 5rem;
  margin-left: var(--gap);
}

.button {
  display: inline-block;
  cursor: pointer;
  width: var(--bubble-size);
  height: var(--bubble-size);
  background-size: contain;
  transition: all .2s ease-in-out;
  border-radius: 50%;
}

.button:hover, input:checked + .button{
  transform: translateY(-3px);
}

.button.instagram{
  background-image: url('./images/instagram.png');
}
.button.portfolio{
  background-image: url('./images/download.png');
}
.button.info{
  background-image: url('./images/y_dark.png');
}

#info{
  display: none;
}
#info:checked ~ .info-wrapper{
  display: grid;
}

@media (min-width: 768px){
  .button.info:hover ~ .info-wrapper{
    display: grid
  }
}

.info-wrapper{
  width: 0;
  height: 0;
  display: none;
}
.info-details{
  background-color: white;
  padding: 3rem;
  width: var(--info-size);
  height: var(--info-size);
  display: flex;
  align-items:center;
  justify-content: center;
  border-radius: 50%;
  text-align: center;
  transform: translateY(-100%);
  margin: auto;
}

h1{
  margin-bottom: .5rem;
}
@media (max-width: 1200px){
  .ui{
    grid-template-columns: repeat(3, var(--bubble-size));
    margin-left: 0;
    --gap: 1.5rem;
    --bubble-size: 5rem;
    --info-size: 10rem;
  }
  .info-wrapper{
    grid-column: 1 / 4;
    width: auto;
  }
  .info-details{
    transform: translateY(calc(-100% - var(--bubble-size) - var(--gap)))
  }
}

.loading .loader {
  display: flex;
  height: 100vh;
  width: 100vw;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  background: #111111;
  position: fixed;
  top: 0;
  left: 0;
}
.loading .loader:after {
  content: '';
  background-image: url('./images/y_white.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  animation: loading infinite ease-in-out 1s;
  display: inline-block;
  width: 8rem;
  height: 8rem;
  /* position: fixed; */
  /* top: 50%; */
  /* left: 50%; */
  text-align: center;
}

p {
  -webkit-margin-before: 0em;
  -webkit-margin-after: 0em;
  padding: 5px 0px; 
}


@keyframes loading {
  from { transform: translateY(-0%) rotateY(0deg);   }
  to   { transform: translateY(-0%) rotateY(360deg); } 
}

svg {
  position: absolute;
  left: -999px; }

table {
  border-spacing: 0; }
