* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Bitter', serif; } #header-container{ padding-bottom: 1%; background-color: white; width: 80%; margin: 0 auto; margin-top: 2%; -webkit-box-shadow: 6px 9px 78px -2px rgba(0,0,0,0.75); -moz-box-shadow: 6px 9px 78px -2px rgba(0,0,0,0.75); box-shadow: 6px 9px 78px -2px rgba(0,0,0,0.75); } #progressBar{ background-color: grey; width: 1%; height: 20px; margin-top:1%; } #play-container { -webkit-box-shadow: 6px 9px 78px -2px rgba(0,0,0,0.75); -moz-box-shadow: 6px 9px 78px -2px rgba(0,0,0,0.75); box-shadow: 6px 9px 78px -2px rgba(0,0,0,0.75); margin: 0 auto; margin-top: 1%; background-color: white; width: 80%; } body{ background-color: lightgray; } .message{ margin-bottom: 100px; } nav{ align-items: center; } .nav_links{ width: 100%; display: flex; } .nav_links li{ line-height: 10vh; display: table; list-style: none; text-align: center; width: 25%; } .btn_play{ height: 100%; display: flex; align-items: center; justify-content: center; } .container{ margin-top:10%; } .btn_play ul li:first-child a{ margin-bottom: 50%; font-size: 3em; } .btn_play ul{ text-align:center; list-style: none; } #jeu-select{ -webkit-appearance: none; -moz-appearance: none; appearance: none; cursor: pointer; font-size: 3em; background-color: transparent; border: none; color: #fe8a71; } #jeu-select:focus{ outline: none; } #jeu-select option{ background-color: lightgray; border: none; } .btn_play i{ font-size: 10em; transition: color 0.3s; color:#fe8a71; cursor: pointer; } .btn_play i:hover{ color:#f6cd61; } .nav_links li a{ text-decoration: none; transition: color 0.3s; display: block; color:black; letter-spacing: 3px; text-transform: uppercase; font-weight: bold; } .nav_links li a:hover{ color:grey; } .nav_links li:nth-child(1n) > a{ background-color: #0e9aa7; } .nav_links li:nth-child(2n) > a{ background-color: #f6cd61; } .nav_links li:nth-child(3n) > a{ background-color: #fe8a71; } .nav_links li:nth-child(4n) > a{ background-color: #3da4ab; } /* modal */ .modal { display: none; /* Hidden by default */ position: fixed; /* Stay in place */ z-index: 1; /* Sit on top */ padding-top: 100px; /* Location of the box */ left: 0; top: 0; width: 100%; /* Full width */ height: 100%; /* Full height */ overflow: auto; /* Enable scroll if needed */ background-color: rgb(0,0,0); /* Fallback color */ background-color: rgba(0,0,0,0.4); /* Black w/ opacity */ } /* Modal Content */ .modal-content { position: relative; background-color: #fefefe; margin: auto; padding: 0; border: 1px solid #888; width: 80%; 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 } /* Add Animation */ @-webkit-keyframes animatetop { from {top:-300px; opacity:0} to {top:0; opacity:1} } @keyframes animatetop { from {top:-300px; opacity:0} to {top:0; opacity:1} } .close:hover, .close:focus { color: #000; text-decoration: none; cursor: pointer; } .modal-header { padding: 2px 16px; background-color: lightgrey; color: black; } .modal-body {padding: 2px 16px;} .modal-footer { padding: 2px 16px; background-color: lightgrey; color: black; }