*{ margin: 0; padding: 0; box-sizing: border-box; } /*-------------------------------------------------------------*/ html{ height: auto; --s: 50px; --c: #221919; --_s: calc(2 * var(--s)) calc(2 * var(--s)); --_g: 35.36% 35.36% at; --_c: #0000 66%, #20222a 68% 70%, #0000 72%; background: radial-gradient(var(--_g) 100% 25%, var(--_c)) var(--s) var(--s) / var(--_s), radial-gradient(var(--_g) 0 75%, var(--_c)) var(--s) var(--s) / var(--_s), radial-gradient(var(--_g) 100% 25%, var(--_c)) 0 0 / var(--_s), radial-gradient(var(--_g) 0 75%, var(--_c)) 0 0 / var(--_s), repeating-conic-gradient(var(--c) 0 25%, #0000 0 50%) 0 0 / var(--_s), radial-gradient(var(--_c)) 0 calc(var(--s) / 2) / var(--s) var(--s) var(--c); background-attachment: fixed; } body{ margin: 0; padding: 0; height: max-content; } #myVideo { position: fixed; top: 0; bottom: 0; z-index: -2; overflow: hidden; width: 120%; } /*-------------------------------------------------------------*/ header{ display: flex; flex-direction: row-reverse; position: sticky; top: 0; padding: 10px; justify-content: space-between; z-index: 3; border-bottom: 1px solid black; box-shadow: 0px 5px 10px black, 0px -5px 10px black; background-color: rgba(255, 255, 255, 0.1); backdrop-filter: blur(5px); width: 80%; margin-left: 10%; margin-right: 10%; } header h1{ font-size: 30px; position: relative; left: 0; color: white; text-shadow: 2px 2px 5px black; animation: logoslide 0.5s none ease-in; } header #switch1{ display: none; position: relative; right: 0; top: 3px; color: orange; font-weight: bold; } header #switch1:hover{ transform: translateX(-5px); transition-duration: 0.2s; } header h1:hover{ color: orange; transform: translateX(5px); transition-duration: 0.2s; } .headbuttons{ width: 500px; display: flex; justify-content: space-evenly; animation: btnslide 0.5s none ease-in; } .headbuttons .hbtn{ background-color: rgba(0, 0, 0, 0); width: 100px; border: 2px solid white; box-shadow: 2px 2px 3px black; font-size: 18px; color: white; font-weight: bold; text-shadow: 2px 2px 3px black; } .headbuttons .hbtn:hover{ cursor: pointer; transform: translateY(-5px); transition-duration: 0.3s; color: orange; border: 2px solid orange; } /*-------------------------------------------------------------*/ main{ height: fit-content; width: 80%; margin-left: 10%; margin-right: 10%; } /*-------------------------------------------------------------*/ .content{ margin-top: 30px; box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.5), 5px -5px 10px rgba(0, 0, 0, 0.5), 5px 5px 10px rgba(0, 0, 0, 0.5), -5px -5px 10px rgba(0, 0, 0, 0.5); overflow: hidden; text-align: center; font-size: 20px; display: flex; flex-direction: row; width: auto; height: fit-content; } /*-------------------------------------------------------------*/ .buttons{ text-align: center; min-width: 150px; width: 10%; display: flex; flex-direction: column; z-index: 2; height: auto; } .buttons .btn{ width: 100%; height: 60px; font-size: 22px; border: none; background: none; color: white; text-shadow: 1px 1px 5px white; } .buttons .btn:hover{ font-size: 24px; transition-duration: 0.2s; cursor: pointer; color: orange; text-shadow: 1px 1px 5px orange; } .buttons .btn.active{ background-color: rgba(255, 255, 255, 0.2); backdrop-filter: blur(5px); animation: moving 1s none; color: orange; text-shadow: 1px 1px 5px orange; } /*-------------------------------------------------------------*/ .box{ backdrop-filter: blur(2px); width: 90%; display: none; height: auto; } .box.active{ display: block; background-color: rgba(255, 255, 255, 0.2); backdrop-filter: blur(5px); animation: moving 1s none; height: fit-content; } /*---------------------------------*/ #box1{ min-height: 100%; } #box1content{ height: 100%; text-align: left; padding: 20px; font-size: 25px; text-shadow: 2px 2px 5px ; } /*---------------------------------*/ #box2{ min-height: 100%; } #box2content{ height: 100%; text-align: left; padding: 20px; font-size: 25px; text-shadow: 2px 2px 5px ; } /*---------------------------------*/ #box3{ min-height: 100%; } #box3content{ height: 100%; text-align: left; padding: 20px; font-size: 25px; text-shadow: 2px 2px 5px ; } /*---------------------------------*/ #box4{ min-height: 100%; } #box4content{ height: 100%; text-align: left; padding: 20px; font-size: 25px; text-shadow: 2px 2px 5px ; } .okna{ display: flex; justify-content: space-evenly; } .okna iframe{ width: 46%; height: 350px; border: 1px solid orange; background: orange; } /*-------------------------------------------------------------*/ .combtn{ text-align: center; color: rgb(255, 255, 255); text-shadow: 2px 2px 3px rgb(255, 255, 255); font-size: 60px; margin-top: 20px; background-color: rgba(255, 255, 255, 0); border: none; width: 100%; box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.5), 5px -5px 10px rgba(0, 0, 0, 0.5), 5px 5px 10px rgba(0, 0, 0, 0.5), -5px -5px 10px rgba(0, 0, 0, 0.5); } .combtn:hover{ color: orange; cursor: pointer; text-shadow: 2px 2px 3px orange; } .combtn.active{ color: orange; text-shadow: 2px 2px 3px orange; } .comments.active{ display: flex; animation: logoslide 0.5s ease-in-out; } .comments{ display: none; flex-direction: column; margin-top: 20px; } .comment{ text-align: left; padding: 30px; display: flex; flex-direction: row; box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.5), 5px -5px 10px rgba(0, 0, 0, 0.5), 5px 5px 10px rgba(0, 0, 0, 0.5), -5px -5px 10px rgba(0, 0, 0, 0.5); margin-bottom: 20px; background-color: rgba(255, 255, 255, 0.1); backdrop-filter: blur(5px); } .comment img{ width: 200px; border-radius: 200px; border: 2px solid orange; box-shadow: 0px 0px 20px orange; } .comment .txt{ margin-left: 50px; color: white; text-shadow: 2px 2px 3px white; font-size: 30px; } .comment .txt h2{ color: orange; text-shadow: 2px 2px 3px orange; } /*-------------------------------------------------------------*/ footer{ background-color: rgba(255, 255, 255, 0.1); backdrop-filter: blur(5px); position: relative; bottom: 0; padding-top: 10px; text-align: center; color: white; text-decoration: overline; font-size: 20px; } /*-------------------------------------------------------------*/ @keyframes logoslide { from{transform: translateX(2000px);opacity: 0;} to{transform: translateX(0px);opacity: 1;} } @keyframes btnslide { from{transform: translateX(-2000px);opacity: 0;} to{transform: translateX(0px);opacity: 1;} } @keyframes moving { from{transform: translateX(20px);opacity: 0;} to{transform: translateX(0px);opacity: 1;} } /*-------------------------------------------------------------*/ @media screen and (max-width: 912px){ header{ width: 100%; margin: 0; } header #switch1{ display: block; } .headbuttons{ display: none; } main{ padding: 30px 0; width: 100%; margin: 0; } .content{ flex-direction: column; } .buttons{ flex-direction: row; width: 100%; } .buttons .btn{ width: 25%; } .box{ width: 100%; } .okna{ display: flex; flex-direction: column; } .okna iframe{ width: 100%; height: 400px; border: 1px solid orange; margin-bottom: 10px; } } @media screen and (max-width: 800px){ .comment{ flex-direction: column; text-align: center; } .comment img{ width: 150px; border-radius: 150px; border: 2px solid orange; box-shadow: 0px 0px 20px orange; margin-bottom: 10px; } .comment .txt{ margin-left: 0; } } /*-------------------------------------------------------------*/ @media screen and (max-width: 1600px){ #myVideo{ width: 120%; } } @media screen and (max-width: 1500px){ #myVideo{ width: 140%; } } @media screen and (max-width: 1400px){ #myVideo{ width: 160%; } } @media screen and (max-width: 1300px){ #myVideo{ width: 180%; } } @media screen and (max-width: 1200px){ #myVideo{ width: 200%; } } @media screen and (max-width: 1100px){ #myVideo{ width: 220%; } } @media screen and (max-width: 1000px){ #myVideo{ width: 240%; } } @media screen and (max-width: 900px){ #myVideo{ width: 260%; } } @media screen and (max-width: 800px){ #myVideo{ width: 280%; } } @media screen and (max-width: 700px){ #myVideo{ width: 320%; } } @media screen and (max-width: 600px){ #myVideo{ width: 360%; } } @media screen and (max-width: 500px){ #myVideo{ width: 1000%; } } /*-------------------------------------------------------------*/ #sideMenu { position: fixed; top: 0; right: -200px; width: 180px; padding: 10px; height: 100%; background-color: rgba(255, 255, 255, 0.4); backdrop-filter: blur(5px); transition: right 0.3s ease-in; z-index: 4; text-align: right; } #sideMenu ul { list-style: none; padding: 0; } #sideMenu ul li { margin-bottom: 10px; } #sideMenu ul li a, i { color: rgba(0, 0, 0, 0.8); text-decoration: none; font-size: 35px; } #sideMenu ul li a:hover{ color: orange; } #sideMenu ul li:hover{ cursor: pointer; transform: translateX(-8px); transition-duration: 0.3s; } #toggleMenu { position: fixed; top: 20px; left: 20px; } /*-------------------------------------------------------------*/