@import url(fo.css); body { margin: 0; height: 100%; background: #1d1f20; color: white; font-size: 20px; font-weight: bold; font-family: 'Source Sans Pro', sans-serif; } h2 { margin: 30px auto 10px; font-size: 28px; text-align: center; } .randomImgur { width: 100%; position: relative; text-align: center; animation: fadeIn 1s ease-in-out; } .randomImgur img { display: block; margin: 60px auto; max-height: 800px; max-width: 800px; border-radius: 10px; animation: scaleIn 1s ease-in-out; } #output { margin: 20px 0; color: #FF6F61; text-align: center; } input[type="button"] { color: white; background-color: transparent; border: 2px solid white; font-size: 22px; font-weight: 600; padding: 8px 20px; margin: 50px auto 0 auto; outline: none; cursor: pointer; border-radius: 30px; transition: background-color 0.3s, color 0.3s; } input[type="button"]:hover { background-color: white; color: #1D1F20; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes scaleIn { from { transform: scale(0.8); } to { transform: scale(1); } } @media screen and (max-width: 800px) { .randomImgur img { max-width: 95%; margin: 30px auto; } .disclaimer p { max-width: 75%; display: block; margin: 0 auto; } } .modal { display: none; position: fixed; z-index: 1; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,1,0.4); } .modal-content { background-color: #0000; margin: 15% auto; padding: 20px; border: 1px solid #888; width: 80%; } .close { color: #fff; float: right; font-size: 28px; font-weight: bold; } .close:hover, .close:focus { color: red; text-decoration: none; cursor: pointer; }