@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&family=Roboto&display=swap'); *{ margin: 0; padding: 0; box-sizing: border-box; } body{ background: #1a0327; font-family: 'Poppins', sans-serif; height: 350vh; } .container{ width: 100%; height: 100vh; background: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url(image/varus.jpg); background-size: cover; background-position: center; background-attachment: fixed; } header{ width: 100%; height: 10vh; background:rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: space-between; } .logo{ width: 300px; height: 10vh; background: #550381; display: flex; align-items: center; justify-content: center; color: #fff; clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%); padding: 10px; line-height: 1.3rem; } .logo li p{ width: 130px; margin-left: 10px; font-size: 20px; } .logo .fas { padding-right: 1rem; font-size: 50 px; } ul.navbar{ display: flex; list-style: none; } ul.navbar li{ width: 120px; } ul.navbar li a{ text-decoration: none; color: #fff; font-weight: bold; } .content-wrapper{ width: 80%; min-height: 80vh; margin: auto; display: flex; justify-content: space-between; align-items: center; color: #fff; } #btn2{ width: 350px; height: 10vh; padding-left: 20px; outline: none; border: none; background: #FEC53A; font-size: 1.2rem; font-weight: bold; margin-top: 15px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%); border-radius: 20px; text-align: left; } .main-photo{ width: 700px; height: 400px; background: linear-gradient(rgba(38, 2, 39, 0.849),rgb(204, 115, 14)); background-size: cover; background-position: center; position: relative; } .main-photo::after{ content: ''; width: 700px; height: 400px; background: url(image/lolmain.jpg); background-size: cover; background-position: center; position: absolute; bottom: 0px; left: 0px; } .info-section-bar{ display: flex; align-items: center; justify-content: center; margin: 30px 0; } .info-section-bar .fas{ align-items: center; font-size: 6rem; color: #FEC53A; } .info-section-bar h1{ width: 250px; align-items: center; font-size: 2rem; color: #FEC53A; margin-left: 10px; } .info-section{ width: 100%; height: auto; background: linear-gradient(rgba(0, 0, 0, 0.767),rgba(0, 0, 0, 0.712)), url(image/mario.jpg); background-size: cover; background-position: center; background-attachment: fixed; } .info-container{ display: flex; justify-content: center; align-items: center; margin: 20px 0px; flex-wrap: wrap; } .info-box{ width: 700 px; height: 398 px; background-color: rgba(255, 255, 255, 0.11); border: 1px solid rgba(255, 255, 255, 0); margin-left: 30rem; margin-right: 30rem; margin-top: 2rem; } .info-img{ width: 700 px; height: 398 px; } .info-img img{ width: 700 px; height: 398 px; object-fit: cover; } .info-text{ padding: 30px; display: flex; flex-direction: column; } .info-text span{ color: red; font-size: 1rem; } .info-text .info-title{ font-size: 1.5rem; font-weight: 500; color: white; } .info-text .info-title:hover{ color: blue; transition: all ease 0.3s; } .info-text p{ color: white; font-size: 1.2rem; } .info-text a{ color: white; } .info-text a:hover{ color: blue; transition: all ease 0.3s; }