body{
    background-color: #232629;
    color: rgb(216, 208, 197);
    font-family:Arial, Helvetica, sans-serif;
    font-size: 3rem;
    overflow: hidden;
    text-align: center;
}

p{
    margin: 0;
}

.photos{
    height: 20rem;
    position: relative;
    margin-left: 1rem;
    margin-right: 1rem;
    border-radius: 10px;
    left: 0px;
    right: 0px;
}

.photos:hover{
    cursor: pointer;
}

.blink{
    display: block;
    position: absolute;
    height: 0.1em;
    width: 0.1em;
    background-color: #fffff0;
    animation: blinks 6s infinite;
    border-radius: 10px;
    z-index: -1;
}

.move{
    position: relative;
    top: -9.5rem;
    border-radius: 100%;
    width: 3rem;
    height: 3rem;
    color: rgb(77, 77, 77);
    background-color: #fffff0;
    border: none;
    box-shadow: 2px 3px rgba(175, 175, 175, 0.5);   
}

#title{
    display: block;
    height: 4rem;
    margin-bottom: 3rem;
    margin-top: 3rem;
}

#photoContainer{
    height: 20rem;
    border-radius: 10px;
    display: inline-flex;
    overflow: hidden;
    width: 80%;
}

#randomBtn{
    width: 6rem;
    height: 2rem;
    color: rgb(77, 77, 77);
    background-color: #fffff0;
    border: none;
    border-radius: 10px;
    box-shadow: 2px 3px rgba(175, 175, 175, 0.5);      
}

#randomBtn:hover, .move:hover{
    cursor: pointer;
}

@media screen and (max-width: 1080px){
    body{
        font-size: 2rem;
        overflow: hidden;
    }
    
    .move{
        display: none;
    }   

    .photos{
        height: 16rem;
        position: relative;
        margin-left: 1rem;
        margin-right: 1rem;
        border-radius: 10px;
        left: 0px;
        right: 0px;
    }

    #photoContainer{
        height: 16rem;
        margin-bottom: 1rem;
    }
}

@keyframes blinks{
     from{
         background-color: #fffff0;
     }             
     50%{ 
         background-color: #232629;
     }                                                                                    
     to{ 
         background-color: #fffff0;
     }       
}
