.btn-primary { background-color: darkgreen; color: white; } .btn-red { background-color: darkred; color: white; } .div-body { padding-top: 3rem; padding-bottom: 3rem; color: #5a5a5a; } .bg-inverse { background-color: #292b2c !important; } /* CUSTOMIZE THE CAROUSEL -------------------------------------------------- */ /* Carousel base class */ .carousel { margin-bottom: 4rem; } /* Since positioning the image, we need to help out the caption */ .carousel-caption { z-index: 10; bottom: 3rem; } /* Declare heights because of positioning of img element */ .carousel-item { height: 32rem; background-color: #777; } .carousel-item > img { position: absolute; top: 0; left: 0; min-width: 100%; height: 32rem; } /* MARKETING CONTENT -------------------------------------------------- */ /* Center align the text within the three columns below the carousel */ .marketing .col-lg-4 { margin-bottom: 1.5rem; text-align: center; } .marketing h2 { font-weight: normal; } .marketing .col-lg-4 p { margin-right: .75rem; margin-left: .75rem; } /* Featurettes ------------------------- */ .featurette-divider { margin: 5rem 0; /* Space out the Bootstrap
more */ } /* Thin out the marketing headings */ .featurette-heading { font-weight: 300; line-height: 1; letter-spacing: -.05rem; } /* RESPONSIVE CSS -------------------------------------------------- */ @media (min-width: 40em) { /* Bump up size of carousel content */ .carousel-caption p { margin-bottom: 1.25rem; font-size: 1.25rem; line-height: 1.4; } .featurette-heading { font-size: 50px; } } @media (min-width: 62em) { .featurette-heading { margin-top: 7rem; } } /* Main container styles */ #login-row { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 2rem 0; } #login-column { display: flex; justify-content: center; } /* Box and shape container */ .box { position: relative; width: 100%; max-width: 500px; margin: 2rem auto; height: 400px; display: flex; justify-content: center; align-items: center; } /* Common shape styles */ .shape1, .shape2, .shape3, .shape4, .shape5, .shape6, .shape7 { position: absolute; height: 150px; width: 150px; background-color: var(--primary-green, #2E7D32); border-radius: 50%; transition: all 0.3s ease; } /* Individual shape positioning */ .shape1 { left: 0; top: 20%; } .shape2 { left: 80px; top: 15%; } .shape3 { left: 160px; top: 10%; } .shape4 { left: 240px; top: 15%; } .shape5 { left: 320px; top: 20%; } .shape6 { left: 280px; top: 40%; } .shape7 { left: 200px; top: 45%; } /* Login form container */ .float { position: relative; z-index: 2; background: rgba(255, 255, 255, 0.9); padding: 2rem; border-radius: 15px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); width: 80%; max-width: 300px; margin: 0 auto; } /* Button styles */ .btn-success.login { margin: 0.5rem 0; padding: 0.75rem 1.5rem; font-weight: 500; width: 100%; transition: all 0.3s ease; } .btn-success.login:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); } /* Responsive adjustments */ @media (max-width: 768px) { .box { transform: scale(0.8); margin: 1rem auto; } .float { width: 90%; padding: 1.5rem; } } @media (max-width: 576px) { .box { transform: scale(0.7); } .shape1, .shape2, .shape3, .shape4, .shape5, .shape6, .shape7 { height: 120px; width: 120px; } }