@font-face { font-family: gb; src: url(../font/Arvo-Regular.ttf); } @font-face { font-family: title; src: url(../font/LMS\ Pokemon\ Master\ Solid.ttf); } *{ margin:0; padding: 0; list-style: none; overflow-x: hidden; font-family: gb; } html { scroll-behavior: smooth; } body{ overflow-y: hidden; } *::-webkit-scrollbar { width: 4px; } *::-webkit-scrollbar-thumb { background-color: white; } body { display: flex; flex-direction: column; } nav{ display: flex; flex-direction: row; justify-content: center; width: 100%; position: absolute; top: 0; left: 0; } #sub { width: 100%; height: 12.5vw; } a{ text-decoration: none; } .fill { margin-right: 1vw; margin-left: 1vw; width: 10vw; height: 2.75vw; margin-top: 6.5vh; text-align: center; font-size: 2.25vw; font-family: gb; background-color: rgb(255, 255, 255); mix-blend-mode: screen; overflow: hidden; border-radius: 5px 5px; backdrop-filter: blur(8px); cursor: pointer; transition: 0.75s ease-in; color: rgb(53, 53, 53); } #fill { border-radius: 20px 20px; font-size: 5vw; width: 35vw; height: 6vw; margin-top: 2.5vh; cursor: none; } .fill:hover{ color: rgb(0, 102, 255); } main { width: 100%; background-image:url(../img/Dym19R.jpg); background-position: center center; background-size: cover; background-repeat: no-repeat; background-attachment: fixed; background-origin: padding-box; background-clip: border-box; background-color: #ccc; } #desc { position: relative; left: 50%; width: 75%; margin-top: 5vw; margin-bottom: 5vw; background-color: rgba(0, 0, 0, 0.597); backdrop-filter: blur(20px); border-radius: 10px; transform: translate(-50%); color: white; } #title{ font-size: 4vw; padding-left: 2vw; } #text{ margin-top: 2vh; margin-bottom: 2vh; padding-left: 2vw; padding-right: 2vw; font-size: 2vw; } #prices{ padding-top: 5vw; padding-bottom: 15vw; width: 100%; display: flex; flex-direction: row; transition: 1s ease; } .box { width: 30%; height: 20%; background-color: rgba(0, 0, 0, 0.597); backdrop-filter: blur(20px); margin-left: 10%; margin-right: 10%; border-radius: 20px; } .lititle { color: white; font-size: 2.5vw; text-align: center; margin-top: 2vh; } .prices { color: white; font-size: 3vw; text-align: center; } footer { height: 10vw; width: 100%; text-align: center; background-color: rgba(0, 0, 0, 0.597); backdrop-filter: blur(20px); } img{ margin-top: 5vh; width: 3vw; height: 3vw; } footer > p { color: white; } iframe { border: none; position: relative; left: 50%; width: 50%; height: 30vw; transform: translate(-50%); } @media screen and (max-width: 600px) { .fill { width: 25vw; height: 10vw; font-size: 6vw; margin-top: 2.5vh; } #fill { width: 50vw; display: none; } #desc { width: 100%; border-radius: 0; } #title{ font-size: 10vw; padding-left: 2vw; } #text{ font-size: 6vw; } #prices{ flex-direction: column; } .box { width: 60%; height: 40%; margin-left: 20%; margin-right: 20%; border-radius: 20px; margin-top: 1vh; margin-bottom: 1vh; } .lititle { font-size: 5vw; margin-top: 0vh; } .prices { color: white; font-size: 5vw; text-align: center; } footer { height: 25vw; } img{ margin-top: 2vh; width: 6vw; height: 6vw; } iframe { width: 100%; height: 70vw; overflow-y: hidden; } }