@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700;900&display=swap'); *, body { font-family: 'Poppins', sans-serif; font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; -moz-osx-font-smoothing: grayscale; margin-bottom: 0; } .form-holder1 { display: flex; flex-direction: column; align-items: center; text-align: center; min-height: 100vh; } .form-holder2 { display: flex; flex-direction: column; align-items: center; text-align: center; min-height: 100vh; padding: 30px; } .form-holder1 .form-content { position: relative; text-align: center; display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-justify-content: center; justify-content: center; -webkit-align-items: center; align-items: center; padding: 30px; } .form-items { border: 6px solid #330075; background-color: #330075; padding: 40px; display: inline-block; width: 100%; min-width: 540px; border-radius: 40px; text-align: left; -webkit-transition: all 0.4s ease; transition: all 0.4s ease; } .form-items-nums { border: 3px solid #881ec9; padding: 10px; margin-bottom: 20px; display: inline-block; width: 100%; margin-bottom: auto; min-width: 540px; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; text-align: left; -webkit-transition: all 0.4s ease; transition: all 0.4s ease; } .form-content h1 { color: #fff; } .form-content h2 { color: #fff; } .form-content h3 { color: #fff; text-align: left; font-size: 28px; font-weight: 600; margin-bottom: 5px; } .form-content h3.form-title { margin-bottom: 30px; } .form-content { color: #fff; text-align: left; font-size: 17px; font-weight: 300; line-height: 20px; margin-bottom: 30px; padding: 5px; } .form-content label, .was-validated .form-check-input:invalid~.form-check-label, .was-validated .form-check-input:valid~.form-check-label { color: #fff; } .btn-primary:hover, .btn-primary:focus, .btn-primary:active { background-color: #495056; outline: none !important; border: none !important; box-shadow: none; } .mv-up { margin-top: -9px !important; margin-bottom: 8px !important; } .invalid-feedback { color: #ff606e; } .valid-feedback { color: #2acc80; } .flex-container { display: flex; flex-direction: row; } .flex-container input { /* Adjust input styles here */ margin-right: 5px; /* Adjust spacing between inputs */ } .row { margin: 10px; } .custom-navbar { background-color: #343a40; /* Set your desired background color */ color: #ffffff; /* Set your desired text color */ padding: 5px 0; position: relative; } .container { display: flex; justify-content: space-between; align-items: center; } .navbar-brand { font-size: 1.5rem; text-decoration: none; color: #ffffff; /* Set your desired text color */ } .navbar-toggler { background: none; border: none; cursor: pointer; font-size: 1.5rem; color: #ffffff; /* Set your desired text color */ display: none; } .navbar-links ul { list-style-type: none; margin: 0; padding: 0; display: flex; } .navbar-links ul li { margin-right: 20px; } .navbar-links a { text-decoration: none; color: #ffffff; /* Set your desired text color */ font-size: 1rem; transition: color 0.3s ease; } .navbar-links a:hover { color: #28a745; /* Set your desired hover color */ } * { box-sizing: border-box; } @import url(https://fonts.googleapis.com/css?family=Raleway:400,800); figure.photo { font-family: 'Raleway', Arial, sans-serif; position: relative; overflow: hidden; margin: 10px; width: 900px; height: 300px; background: #000000; color: #ffffff; text-align: center; box-shadow: 0 0 5px rgba(0, 0, 0, 0.15); border-radius: 50px; margin: 0; padding: 0; } figure.photo * { -webkit-box-sizing: border-box; box-sizing: border-box; -webkit-transition: all 0.4s ease-in-out; transition: all 0.4s ease-in-out; } figure.photo img { max-width: 100%; position: relative; opacity: 0.4; } figure.photo h2 { position: absolute; left: 0%; right: 0%; display: inline-block; background: #000000; -webkit-transform: skew(-10deg) rotate(-10deg) translate(0, -50%); transform: skew(-10deg) rotate(-10deg) translate(0, -50%); padding: 1%; margin: 0; top: 70%; text-transform: uppercase; font-weight: 400; } figure.photo h2 span { font-weight: 800; } figure.photo:before { height: 100%; width: 100%; content: ''; background: #ffffff; position: absolute; -webkit-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; -webkit-transform: rotate(110deg) translateY(-50%); transform: rotate(110deg) translateY(-50%); } figure.photo a { position: absolute; z-index: 1; } figure.photo.blue { background: #123851; } figure.photo.blue h2 { background: #0a212f; } figure.photo.red { background: red; } figure.photo.red h2 { background: #36100c; } figure.photo.green { background: green; } figure.photo.green h2 { background: #103a03; } figure.photo.yellow { background: yellow; } figure.photo.yellow h2 { background: #3e4205; } figure.photo.orange { background: orange; } figure.photo.orange h2 { background: rgb(66, 43, 1); } figure.photo:hover img, figure.photo.hover img { opacity: 1; -webkit-transform: scale(1.1); transform: scale(1.1); } figure.photo:hover h2, figure.photo.hover h2 { -webkit-transform: skew(-10deg) rotate(-10deg) translate(-150%, -50%); transform: skew(-10deg) rotate(-10deg) translate(-150%, -50%); } figure.photo:hover:before, figure.photo.hover:before { -webkit-transform: rotate(110deg) translateY(-150%); transform: rotate(110deg) translateY(-150%); } body { background-color: #212121; } body { margin: 0; padding: 0; font-family: Arial, sans-serif; } .image-container { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 20px; }