/* cyrillic-ext */ @font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 400; font-display: swap; src: url(https://fonts.gstatic.com/s/ubuntu/v20/4iCs6KVjbNBYlgoKcg72j00.woff2) format("woff2"); unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; } /* cyrillic */ @font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 400; font-display: swap; src: url(https://fonts.gstatic.com/s/ubuntu/v20/4iCs6KVjbNBYlgoKew72j00.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; } /* greek-ext */ @font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 400; font-display: swap; src: url(https://fonts.gstatic.com/s/ubuntu/v20/4iCs6KVjbNBYlgoKcw72j00.woff2) format("woff2"); unicode-range: U+1F00-1FFF; } /* greek */ @font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 400; font-display: swap; src: url(https://fonts.gstatic.com/s/ubuntu/v20/4iCs6KVjbNBYlgoKfA72j00.woff2) format("woff2"); unicode-range: U+0370-03FF; } /* latin-ext */ @font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 400; font-display: swap; src: url(https://fonts.gstatic.com/s/ubuntu/v20/4iCs6KVjbNBYlgoKcQ72j00.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; } /* latin */ @font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 400; font-display: swap; src: url(https://fonts.gstatic.com/s/ubuntu/v20/4iCs6KVjbNBYlgoKfw72.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } html body { font-family: "Ubuntu", sans-serif; font-size: 20px; background: #fff; position: relative; color: #2d3436; } .top-nav { display: flex; flex-direction: row; align-items: center; justify-content: space-between; background-color: #00baf0; background: #fff; /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ color: #fff; height: 50px; padding: 1em; } .top-nav > div { padding-top: 0.3125rem; padding-bottom: 0.3125rem; margin-right: 1rem; font-size: 1.25rem; text-decoration: none; white-space: nowrap; } .top-nav > div > a { text-decoration: none; color: black; } .menu { display: flex; flex-direction: row; list-style-type: none; margin: 0; padding: 0; z-index: 999; } .menu > li { margin: 0 1rem; overflow: hidden; color: black; } .menu > li > a { text-decoration: none; color: black; } .menu-button-container { display: none; height: 100%; width: 30px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; } #menu-toggle { display: none; } .menu-button, .menu-button::before, .menu-button::after { display: block; background-color: black; position: absolute; height: 4px; width: 30px; transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1); border-radius: 2px; } .menu-button::before { content: ""; margin-top: -8px; } .menu-button::after { content: ""; margin-top: 8px; } #menu-toggle:checked + .menu-button-container .menu-button::before { margin-top: 0px; transform: rotate(405deg); } #menu-toggle:checked + .menu-button-container .menu-button { background: rgba(255, 255, 255, 0); } #menu-toggle:checked + .menu-button-container .menu-button::after { margin-top: 0px; transform: rotate(-405deg); } @media (max-width: 700px) { .menu-button-container { display: flex; } .menu { position: absolute; top: 0; margin-top: 50px; left: 0; flex-direction: column; width: 100%; justify-content: center; align-items: center; } #menu-toggle ~ .menu li { height: 0; margin: 0; padding: 0; border: 0; transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1); } #menu-toggle:checked ~ .menu li { border: 1px solid #333; height: 2.5em; padding: 0.5em; transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1); } #menu-toggle:checked ~ .menu li > a { color: white; } .menu > li { display: flex; justify-content: center; margin: 0; padding: 0.5em 0; width: 100%; color: white; background-color: #222; } .menu > li:not(:last-child) { border-bottom: 1px solid #444; } } .intro { background-image: url("../assets/newbghotel.jpg"); object-fit: cover; height: 500px; position: relative; } .about { background-image: url("../assets/about-bg.jpg"); object-fit: cover; min-height: 500px; background-position: center; } .overlay { position: absolute; top: 0; left: 0; width: 100%; text-align: center; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.4); z-index: 1; }