@import url('https://fonts.googleapis.com/css?family=Fredoka+One&display=swap');


*{
  font-family: Sans-Serif;
}


div.container{
  transition: .7s;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70vw;
  background: #36e;
  border-radius: 14px;
}

div img{
    margin-top: 12px;
    width: 65vw;
    max-height: 40vh;
    transition: 1s ease;
    border-radius: 12px;
}

div img:hover{
  transform: scale(1.020);
  box-shadow:
  0 4.5px 3.6px rgba(0, 0, 0, 0.024),
  0 12.5px 10px rgba(0, 0, 0, 0.035),
  0 30.1px 24.1px rgba(0, 0, 0, 0.046),
  0 100px 80px rgba(0, 0, 0, 0.07);
}


.brand{
  font-family: 'Fredoka One', cursive;
  color: #36f;
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 7vw;
}

next{
  font-family: 'Fredoka One';
  background: white;
  color: black;
  border-radius: 9999px;
  cursor: pointer;
  padding: 6px 12px;
  margin-left: 6px;

}

like{
    font-family: 'Fredoka One';
    background: white;
    color: black;
    border-radius: 9999px;
    cursor: pointer;
    padding: 6px 12px;
    margin-left: 6px;
  }

.fact{
    background: white;
    min-height: 10vh;
    padding: 6px;
    width: calc(65vw - 6px);
    display: block;
    border-radius: 12px;
    float: left;
    margin-top: 12px;
    margin-bottom: 12px;
}


.grd{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

c{
    position: absolute;
    top: 5%;
    right: 5%;
    width: 40px;
    height: 40px;
    background: #36e;
    border-radius: 50%;

}

c::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 60%;
    height: 60%;
    background: white;
    border-radius: 50%;
}

nav{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background: #36e;
    z-index: 99;
    transform: translateX(150%);
    opacity: 0;
    transition: .5s;
    z-index: -400;
}

nav.on{
    opacity: 1;
    transform: scale(1) translateX(0%);
    z-index: 400;
}

nav .elms{
  position: absolute;
  top: 35%;
  left: 5%;
}

nav .elms span{
  display: block;
  color: white;
  font-family: 'Fredoka One';
  letter-spacing: 2px;
  margin: 12px;
  cursor: pointer;
}

nav .report{
  position: absolute;
  right: 5%;
  bottom: 5%;
  color: white;
  font-family: 'Fredoka One';
  font-weight: 300;
}

control{
    align-self: flex-end;
  margin-right: 12px;
  margin-bottom: 12px;
}



.likes{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background: #36e;
    opacity: 0;
    z-index: -999;
}

.likes .imgs{
    position: absolute;
    top: 15%;
    left: 50%;
    width: 90vw;
    min-height: 10vh;
    transform: translateX(-50%);
    border-radius: 12px;
    background: white;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    
}


.likes .imgs .img, .likes .imgs .img img{
    width: 40vw;
    height: auto;
    position: relative;
}

.likes .imgs .img img{
    width: 100%;
}

.likes .imgs .img svg{
    position: absolute;
    right: 3%;
    bottom: 3%;
    width: 64px;
}






.likes.on{
    opacity: 1;
    z-index: 999;
}

.menu{
  position: fixed;
  top: 5%;
  right: 5%;
  z-index: 9999;
}

.c{
  transition: fill .4s , stroke .4s;
}




.popup{
  position: absolute;
  bottom: 0%;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: white;
  z-index: 99999999;
  padding-left: 10px;
  box-shadow:
  0 -2.8px 2.2px -21px rgba(0, 0, 0, 0.042),
  0 -6.7px 5.3px -21px rgba(0, 0, 0, 0.061),
  0 -12.5px 10px -21px rgba(0, 0, 0, 0.075),
  0 -22.3px 17.9px -21px rgba(0, 0, 0, 0.089),
  0 -41.8px 33.4px -21px rgba(0, 0, 0, 0.108),
  0 -100px 80px -21px rgba(0, 0, 0, 0.15)
;
display: none;
}