* { box-sizing: border-box; } .content{ width: 100%; position: relative; margin: 30px 0; } .overlay { position: fixed; top: 0; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0.7); transition: opacity 500ms; visibility: hidden; opacity: 0; z-index: 99; } #streakNumber{ text-align: center; margin-top: 0; } h3 { text-align: center; } .InstructionText{ position: absolute; margin-left: 65px; margin-top: -50px; } .overlay:target { visibility: visible; opacity: 1; } .popup { text-align: left; margin: 70px auto; padding: 20px; background: #333; border-radius: 5px; width: 30%; position: relative; transition: all 5s ease-in-out; overflow: hidden; } .popup i{ padding: 14px 16px; font-size: 36px; display: flex; align-items: center; } .popup h2 { margin-top: 0; color: white; font-family: Tahoma, Arial, sans-serif; } .popup .close { position: absolute; top: 20px; right: 30px; transition: all 200ms; font-size: 30px; font-weight: bold; text-decoration: none; color: white;; } .popup .close:hover { color: red; } .popup .content { max-height: 30%; overflow: auto; } .footer{ font-family: 'Arial', sans-serif; font-size: 12px; position: relative; bottom: 10px; left: 0; right: 0; width: 100%; text-align: center; margin: auto; color: #ECECEC; /* position: absolute; */ } a { color: white; } body { margin: 0px; background-color: #121212; color: white; font: 16px Arial; display:flex; flex-direction:column; justify-content:center; text-align: center; } p { margin:0; } i{ font-size: 1.5rem; } .mobileInfo{ display: none; } .bottomContainer{ padding: 16px; } .subnav{ margin-left: auto; margin-right: auto; width: 50%; } #shareResult{ background-color: green; margin-top: 20px; display:none; margin-left: auto; margin-right: auto; } #countDown{ display: none; } #guessForm{ padding-bottom: 14px; } #firstGuess , #secondGuess{ display: none; margin-top: 10px; border-style: solid; padding-top: 10px; padding-bottom:10px; width: 450px; /* display: block; */ margin-left: auto; margin-right: auto; } .cross{ width: 20px; margin-left: 0px; } .center { display: block; padding: 14px 16px; margin-left: auto; margin-right: auto; width: 50%; } figure{ width:%100; overflow: hidden; margin:10; } /* figure img{ display:block; width:100%; } */ .title { position: absolute; left: 0; right: 0; margin: 0 auto; } .autocomplete { /*the container must be positioned relative:*/ width: 100%; text-align:left; position: relative; display: flex; align-items: center; justify-content: center; align-self: center; } #guessForm { width: 40%; left: 0; right: 0; margin: 0 auto; } input { border: 1px solid transparent; background-color: #f1f1f1; /* color: black; */ padding: 10px; font-size: 16px; resize: vertical; } input[type=text] { background-color: #f1f1f1; width: 100%; border-radius: 5px; } input[type=button] { border-radius: 5px; background-color: #B91C1C; color: #fff; } /* .autocomplete{ display:flex; } */ #submitGuess{ margin-left: 8px; } .autocomplete-items { margin-bottom: 40px; } .autocomplete-items { align-self:flex-end; position: absolute; border: 1px solid #d4d4d4; color: black; border-bottom: none; border-top: none; z-index: 99; /*position the autocomplete items to be the same width as the container:*/ /* top: 100%; */ left: 0; right: 0; } .autocomplete-items div { align-self:flex-end; padding: 10px; cursor: pointer; background-color: #fff; border-bottom: 1px solid #d4d4d4; } .autocomplete-items div:hover { /*when hovering an item:*/ background-color: #e9e9e9; } .autocomplete-active { /*when navigating through the items using the arrow keys:*/ background-color: DodgerBlue !important; color: #ffffff; } /* style of navigation */ .topnav { margin-top: 0px; background-color: #333; overflow: hidden; text-align: center; padding: 5 5 5 5; } /* Style the links inside the navigation bar */ .topnav a { float: left; color: #f2f2f2; text-align: center; padding: 14px 16px 14px 16px; text-decoration: none; font-size: 17px; } /* Change the color of links on hover */ .topnav a:hover { background-color: #ddd; color: black; } /* Add a color to the active/current link */ .topnav a.active { background-color: #04AA6D; color: white; } /* Right-aligned section inside the top navigation */ .topnav-right { float: right; } .fa-heart{ color:red; } @media only screen and (max-width: 1200px) { .subnav{ margin-left: auto; margin-right: auto; width: 100%; } .center { display: block; padding: 14px 16px; margin-left: auto; margin-right: auto; width: 100%; } #firstGuess , #secondGuess{ width: 100%; /* display: block; */ margin-left: auto; margin-right: auto; } } .archive{ position: relative; display: flex; justify-content: center; align-items: center; } .calendar { position: relative; resize: horizontal; width: 400px; background-color: #fff; box-sizing: border-box; box-shadow: 0 5px 50px rgba(#000, 0.5); border-radius: 8px; overflow: hidden; } .calendar__date { padding: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(25px, 1fr)); grid-gap: 25px; box-sizing: border-box; } .calendar__day { display: flex; align-items: center; justify-content: center; height: 25px; font-weight: 600; color: #262626; } .calendar__number { display: flex; align-items: center; justify-content: center; height: 25px; color: grey; font-style:oblique; } .current{ border-style: dashed; background-color: orange; color: white; border-color: black; border-width: 2px; font-style:normal; } .past{ background-color: orange; cursor: pointer; color: white; font-style:normal; } .won{ /* cursor:none; */ color: white; cursor:default; background-color: green; font-style:normal; /* border-width: 0px; */ } .lost{ /* cursor:none; */ color: white; background-color: red; font-style:normal; /* border-width: 0px; */ } @media only screen and (max-width: 460px) { .calendar { max-width: 300px; min-width: 300px; } .calendar__date { padding: 10px; grid-gap: 15px; } .movie-img img{ margin:0 -16.665%; width:133.33%; } } @media only screen and (max-width: 600px) { .topnav a { text-align: center; padding: 7px 8px 7px 8px; text-decoration: none; font-size: 17px; } i { font-size: 1rem; } .wideInfo{ display: none; } .mobileInfo{ display: block; } .title { position: relative; float: left; width: 200px; } .popup{ width: 90%; } input { padding: 10px; font-size: 16px; } input[type=text] { background-color: #f1f1f1; width: 100%; border-radius: 5px; } input[type=button] { border-radius: 5px; background-color: #B91C1C; color: #fff; } #guessForm { width: 90%; } } @media only screen and (min-width: 600px) and (max-width: 1500px) { .popup{ width: 450px; } }