/* Body */

body{
    background-color: black;
}

/* Face Mash container */
.container
{
    color: white;
    text-align: center;
    background: linear-gradient(to bottom, #1d5a3a 0%, #063e278c 100%);
    height: 300px;
    width: 600px;
    margin: auto;
}

.img-container
{
    display: flex;
    height: 225px;
    flex-direction: row;
    text-align: center;
    justify-content: center;
    column-gap: 50px;    
}
.img
{
    margin: auto;
    height: 200px;
    width: 200px;
}
h1{
    margin-top: 20px;
}

.indi-img-container
{
    border: 6px solid black;
    padding: 4px 2px;
}
.img-button
{
    background: none;
    border: none;
    height: 203px;
    width: 210px
}

.img-button:active
{
    transform: translateY(4px);
}

.img-button:hover
{
    cursor: pointer;
}


/* Winner container */

#winning-img
{
    height: 16em;
    width: 16em;
}
.popup-container
{
    opacity: 0;
    pointer-events: none;
    display: flex;
    height: 98vh;
    background-color: rgb(0,0,0,0.7);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
}
.popup
{
    display: flex;
    flex-direction: column;
    text-align: center;
    row-gap: 2px;
    justify-content: center;
    align-items: center;
    background-color: rgb(0,0,0,.8);
    color: white;
    height: 605px;
    width: 620px;
}

.popup h1{
    margin-top: 100px;
}

#popup-close-button
{
    height: 49px;
    width: 136px;
    margin-top: 27px;
    background: none;
    color: white;
    font-size: 22px;
    border: 1px solid white;
    border-radius: 9px;
}
 #popup-close-button:hover
 {
     cursor: pointer;
 }

.popup-container.show
{
    pointer-events: auto;
    opacity: 1;
}

.winner-content
{
    display: flex;
    flex-direction: row;
    column-gap: 130px;
}

/* Instruction/Home */

.instructions-container h2
{
    animation: glow 1s ease-in-out infinite alternate;
    height: 1.7em;
    position: fixed;
    font-size: 5.5em;
    top: 23px;
    width: 6em;
    text-align: center;
    /* border: 2px solid red; */
}

@-webkit-keyframes glow {
    from {
      text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #e60073, 0 0 40px #e60073, 0 0 50px #e60073, 0 0 60px #e60073, 0 0 70px #e60073;
    }
    
    to {
      text-shadow: 0 0 20px #fff, 0 0 30px #ff4da6, 0 0 40px #ff4da6, 0 0 50px #ff4da6, 0 0 60px #ff4da6, 0 0 70px #ff4da6, 0 0 80px #ff4da6;
    }
  }

.instructions-container
{
    color: white;
    height: 72%;
    width: 100%;
    position: fixed;
    background-color: rgb(0,0,0);
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;

    /* /* opacity: 0; */
}

.instructions-container.hide
{
    opacity: 0;
    pointer-events: none;
}
.instructions-container h1
{
    width: 300px;
    text-align: center;

    /* border: 2px solid green; */
}

.instructions-container ul{
    width: 330px;
    height: 330px;
    margin-bottom: 0px;
    /* border: 2px solid yellow; */
}
.instructions-box
{
    flex-direction: column;
    display: flex;
    position: fixed;
    justify-content: center;
    align-items: center;
    background: rgb(0,0,0,.8);
    width: 456px;
    height: 470px;
    top: 15.2em;
}

.instructions-container ul li{
    margin-top: 20px;
}

#instructions-close-button{
    height: 50px;
    width: 140px;
    background: none;
    color: white;
    font-size: 19px;
    margin-top: 21px;
    border: 1px solid white;
    border-radius: 7px;
}
#instructions-close-button:hover
{
    cursor: pointer;
}
#instructions-close-button:active
{
    background-color: white;
    color: black;
}



.modal.show
{
    opacity: 0;
    pointer-events: auto;
}


/* Rotate phone message */
.rotate-phone-container
{
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 0px;
    /* border: 2px solid red; */
    left: 0px;
    height: 100%;
    width: 100%;
    background: #151513;
}

.heading
{
    display: flex;
    flex-direction: row;
    border-bottom: 2px solid white;
    margin: 0px;
}

.heading h5{
    font-size: 1.5rem;
    margin: 9px 7px;
    color: white;
}

.heading button
{    position: absolute;
    right: 32px;
    height: 32px;
    width: 36px;
    font-weight: bolder;
    font-size: 25px;
    margin-top: 6px;
}

.content
{
    text-align: center;
    position: fixed;
    height: 25%;
    width: 90%;
    top: 200px;
    left: 30px;
    background-color: rgb(0,0,0,0.3);
    border: 2px solid white;
    border-radius: 15px;
}

.content img{
    height: 10em;
    width: auto;
    animation: image-spin 1s 2;
    filter: invert(1);
    margin-top: 20px;

}

@keyframes image-spin {
    0% {transform: rotate(0deg);}
    20% {transform: rotate(90deg);}
    100% {transform: rotate(90deg);}
}

.rotate-phone-container.show{
    opacity: 1;
    pointer-events: auto;
}