html,body { position: relative; font-size: 1rem; background: cornflowerblue; } h1{ text-align: center; width: 100%; margin: 0 auto; font-family: Palatino; font-weight: bold; } .popup-header { margin-top: 1%; margin-right: 3%; color: #393939; border-bottom-color: #393939; border-bottom: 10px ; } .settings-title{ margin-top: 2%; margin-left: 3%; color: white; font-weight: bold; font-size: 30px; } .hr-settings{ margin-left: 3%; width: 97%; height: 4px; background: white; } .hr-settings-lang{ margin-left: 15%; margin-top: 2%; width: 70%; height: 3px; background: white; } .text-settings{ color: white; display: inline-block; font-size: 25px; margin-top: 16%; } .custom-select { width: 70%; margin: 0 auto; position: relative; } select::-ms-expand { display: none; } .custom-select:after { content: '<>'; font: 17px "Consolas", monospace; color: #393939; -webkit-transform: rotate(90deg); -moz-transform: rotate(90deg); -ms-transform: rotate(90deg); transform: rotate(90deg); right: 11px; margin-top: 14%; padding: 0 0 2px; border-bottom: 1px solid #999; position: absolute; pointer-events: none; } .settings-btn { width: 70px; height: 70px; position: absolute; top: 6%; right: 1%; } .settings-btn img { cursor: pointer; -webkit-transform: rotate(15deg) scale(1.5); transform: rotate(15deg) scale(1); -webkit-transition: .3s ease-in-out; transition: .3s ease-in-out; } .settings-btn img:hover { -webkit-transform: rotate(0) scale(1.2); transform: rotate(0) scale(1.2); } .popup { display: none; position: fixed; text-align: center; z-index: 1; padding-top: 8%; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgb(0,0,0); background-color: rgba(0,0,0,0.4); } :root { --background: #ffffff; --text-color: #393939; } .close { color: var(--text-color); float: right; font-size: 40px; font-weight: bold; } .close:hover, .close:focus { color: red; text-decoration: none; cursor: pointer; } .popup-header { margin-top: 1%; margin-right: 3%; color: var(--background); border-bottom-color: var(--background); border-bottom: 10px ; } .popup-content { position: relative; background-color: var(--background); margin: auto; border-radius: 1%; border: 2px solid var(--text-color); width: 45%; height: 75%; box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19); -webkit-animation-name: animatetop; -webkit-animation-duration: 0.4s; animation-name: animatetop; animation-duration: 0.4s } .settings-title{ margin-top: 2%; margin-left: 3%; color: var(--text-color); font-weight: bold; font-size: 30px; } .hr-settings-header{ margin-left: 3%; width: 97%; height: 4px; background: var(--text-color); } .hr-settings{ width: 70%; position: absolute; height: 3px; left: 0; right: 0; margin-left: auto; margin-right: auto; background: var(--text-color); } .text-settings{ color: var(--text-color); display: inline-block; font-size: 1.25vw; margin-top: 16%; } .text-dalt-settings{ color: var(--text-color); display: inline-block; font-size: 1.25vw; } .text-theme-settings{ color: var(--text-color); display: inline-block; font-size: 1.25vw; } .small-btn { width: 5vh; height: 5vh; } .explain-btn { width: 70px; height: 70px; position: absolute; top: 90%; right: 1%; } .explain-btn img { cursor: pointer; -webkit-transform: rotate(0) scale(1.5); transform: rotate(0) scale(1); -webkit-transition: .3s ease-in-out; transition: .3s ease-in-out; } .explain-btn img:hover { -webkit-transform: rotate(0) scale(1.2); transform: rotate(0) scale(1.2); } .playsmall-btn{ width: 150px; height: 150px; } .play-btn { width: 150px; height: 150px; position: absolute; left: 0; right: 0; bottom: 0; margin: 33vh auto; text-align: center; } .play-btn img { cursor: pointer; -webkit-transform: rotate(0) scale(1.5); transform: rotate(0) scale(1); -webkit-transition: .3s ease-in-out; transition: .3s ease-in-out; } .play-btn img:hover{ -webkit-transform: rotate(0) scale(1.2); transform: rotate(0) scale(1.2); }