* { box-sizing: border-box; padding: 0; margin: 0; font-family: 'Roboto', sans-serif; font-weight: 400; font-size: 16px; line-height: 1.3; } #image { z-index: 0; } #image img { display: block; margin-right: auto; margin-left: auto; width: 100%; max-width: 820px; } #text { z-index: 0; padding: 18px 38px; } .nav { z-index: 9; position: fixed; bottom: 10.5%; right: 5.5%; width: 48px; height: 48px; border-radius: 50%; background-color: #f9f9f9; display: flex; flex-direction: column; justify-content: center; align-items: center; visibilty: hidden; opacity: 0; box-shadow: 3px 3px 10px 0px rgba(0, 0, 0, 0.48); cursor: pointer; transition: all 0.3s ease-in; } .nav.show { visibility: visible; opacity: 1; } #header-overlay { height: 100vh; width: 100%; background:transparent; position: absolute; top: 0; left: 0; z-index: 1000; } #intro { position: absolute; top: 25%; left: 50%; transform: translate(-50%, -50%); width: 100%; text-align: center; color: rgba(96, 125, 139,1.0); } #intro h3 { font-family: 'Roboto', serif; font-size: 50px; text-transform: capitalize; font-weight: 400; padding-bottom: 7px; transition: .7s ease-in-out; color: rgba(70,130,180); } #intro a { font-family: 'Roboto', sans-serif; font-size: 14px; border: 1px solid rgba(96, 125, 139,1.0); padding: 10px 30px; position: absolute; transition: .3s ease-in-out; cursor: pointer; left: 0; top: 0; } #button-container { height: 40px; width: 118px; position: absolute; left: 50%; transform: translate(-50%, 50%); transition: .3s ease-in-out; } #button-overlay { height: 40px; width: 0; top: 0; left: 0; position: absolute; background: rgba(0, 255, 255, 1); transition: .3s ease-in-out; } .grow { width: 118px !important; } .grow2 { color: #000; border: 1px solid rgba(255, 255, 240) !important; } fuller { margin-left: -8%; opacity: 0; visibility: hidden; } .fuller2 { visibility: hidden; opacity: 0; } #menu-button-container { display: inline-block; float: right; padding: 20px; } #menu-button { height: 30px; width: 32px; position: relative; cursor: pointer; z-index: 2000; overflow: hidden; } #menu-button div { height: 3px; width: 100%; background: rgba(0, 0, 255); position: absolute; top: 14px; transition: .4s ease-in-out; } #menu-button div:nth-child(1) { top: 7px; } #menu-button div:nth-child(2), #menu-button div:nth-child(3) { top: 14px; } #menu-button div:nth-child(4) { top: 21px; } #menu-button.animate div:nth-child(1), #menu-button.animate div:nth-child(4) { top: 14px; opacity: 0; } #menu-button.animate div:nth-child(2) { transform: rotate(45deg); } #menu-button.animate div:nth-child(3) { transform: rotate(-45deg); } #menu-button.change-color div { background: rgba(0, 0, 255); /* курсор на кнопке закрыть */ } #menu-button.hover-animation div:nth-child(1), #menu-button.hover-animation div:nth-child(4) { width: 80%; } #menu-button.hover-color div { background: rgba(0, 0, 255); /* активность на кнопке закрыть */ } #menu-button.hover-color2 div { background: rgba(255, 255, 255) !important; /* курсор за пределом кнопки */ } #menu-overlay { position: absolute; height: 0; width: 100%; background: url("https://raw.githubusercontent.com/elizavetauharskih/files1/refs/heads/main/%D0%9A%D0%BE%D1%82%20%D0%BD%D0%B0%20%D0%BE%D0%B1%D0%BB%D0%B0%D0%BA%D0%B0%D1%85.jpg"); /* ваше перекрывающее фото */ left: 0; top: 0; transition: .5s ease-in; z-index: 2000; } .reveal { height: 564px !important; } #nav-container { position: absolute; top: 10; left: 60; transform: translate(-50%, -50%); z-index: 2000; transition: 1s ease-out; } #nav-container ul li { list-style: none; transition: .6s ease-in-out; } #nav-container ul li a { text-decoration: none; font-family: 'Roboto', serif; font-size: 50px; line-height: 28px; color: rgba(0, 0, 139); transition: .3s ease-in-out; } .hidden { opacity: 0; visibility: hidden; margin-left: -60%; } .nav-animate { color: rgba(0, 0, 255) !important; } .letter-a { color: red; float: left; font-size: 84px; line-height: 64px; padding-top: 4px; padding-right: 8px; padding-left: 3px; font-family: 'Roboto', sans-serif;