/* General styles for the page */ *{ margin: 0px; padding: 0px; box-sizing: border-box; } html { width:100%; height:100%; margin:0; padding:0; overflow-x: hidden; } body { background-color: rgb(41, 42, 48); /* background-color: rgb(1, 1, 59); */ height:100%; margin:0; padding:0; } /* Better Scroll Bar */ body::-webkit-scrollbar { width: .7rem; height: .7rem; } body::-webkit-scrollbar-track { background-color: rgb(50,50,50); } body::-webkit-scrollbar-thumb { background-color: rgb(60,60,60); border-radius: 10px; } /* header portion */ .main-header { margin: 0 auto; background-color: black; height: 100px; width: 100%; z-index: 12; position: fixed; top: 0; } header { text-align: center; } .brand-name { /* class for band name: should be centered wherever it is */ text-align: center; /* heading elements like h1 all have margins: let the margins be 0 */ margin: 0; font-size: 1em; /* changing the everything tag's font set on the heading to be different */ font-family: Rajdhani, sans-serif, poppins; /* Since heading are by default bolded, the font-weight can be changed to normalize the bolded text */ font-weight: normal; /* All band names should be white */ color: white; } .band-name-large { font-size: 2em; } .logo { width: 50%; float: left; line-height: 100px; display: flex; align-items: center; margin-left: 5% } .logo a { text-decoration: none; font-size: 30px; font-family: poppins, sans-serif; color: #fff; letter-spacing: 5px; } .navigation { display: flex; justify-content: space-between; align-items: center; width: 100%; } .toggle-button { position: absolute; top: 3rem; right: 3rem; display: none; flex-direction: column; justify-content: space-between; width: 30px; height: 22px; } .toggle-button .bar { height: 3px; width: 100%; background-color: white; border-radius: 10px; } .navbar-links li { list-style: none; } .navbar-links li a { text-decoration: none; color: #fff; padding: 2rem; display: block; } .navbar-links li:hover { background-color: rgba(255, 255, 255, 0.5) } .navbar-links ul { margin:0; padding:0; display: flex; } .banner-area { width: 100%; height: 500px; position: fixed; top: 100px; background-image: url('https://github.com/ION606/selmer-bot-website/blob/main/assets/Header%20BK.gif?raw=true'); background-size: cover; background-repeat: no-repeat; background-position: center center; } .banner-area h2 { padding: 5%; font-size: 50px; font-family: sans-serif, poppins; text-transform: uppercase; color: #fff; } .content-area { padding-top: 5px; width: 100vw; height: auto; margin-top: 100px; position: relative; top: 450px; background-color: rgb(41, 42, 48); } .content-container { display: flex; flex-direction: column; justify-content: space-around; align-items: center; } footer { background-color: rgb(41, 42, 48); } .footer-area { padding-top: 30px; width: 100%; position: relative; top: 450px; background-color: rgb(41, 42, 48); } /* I have no clue */ .loginbtn { margin-top: 14px; scale: 1.2; border-radius: 10%; } .loginbtn:hover { color: #377aea; } .tooltip { position: relative; display: inline-block; cursor: default; } .tooltip .tooltiptext { visibility: hidden; padding: 0.25em 0.5em; background-color: black; color: #fff; text-align: center; border-radius: 0.25em; white-space: nowrap; /* Position the tooltip */ position: absolute; z-index: 1; top: 100%; left: 100%; transition-property: visibility; transition-delay: 0s; } .tooltip:hover .tooltiptext { visibility: visible; transition-delay: 0.3s; } .logoutbtn { margin-top: 14px; scale: 1.2; border-radius: 10%; /* float: right; */ } .logoutbtn:hover { cursor: pointer; color: red; } .desctext { /* float:left; */ color: white; /* margin-left: 50px; */ margin-top: 20px; background-color: rgb(1, 69, 196, 0.1); padding: 20px; border-radius: 10%; width: auto; } /************************* CAROUSEL *************************/ .carousel .carousel-inner { height: 550px; margin-top: 20px; margin-bottom: 100px; background: #faf9f9; border:1px solid rgb(94, 104, 104); } .carousel-control.right, .carousel-control.left { background-image: none; } .control-icon { color: #393939; text-shadow: none; } .carousel-inner { position: relative; height: 300px; } .carousel-img { /* width: 200px; height: 400px; */ background-size: cover; position: relative; /* top: 50px; */ transform: translateY(5%); } .cat-title { text-shadow: none; } .item { position: relative; } /* FIT TO SMALLER SCREEN */ @media (max-width: 800px) { .toggle-button { display: flex; } .navbar-links { display: none; width: 100%; } .navbar { flex-direction: column; align-items: flex-start; } .navbar-links ul { flex-direction: column; width: 100%; } .navbar-links li { border-top: 1px solid rgba(255, 255, 255, .3); text-align: center; } .navbar-links li a { padding: 0.5rem 1rem; } .navbar-links.active { display: flex; } .brand-name { /* class for band name: should be centered wherever it is */ text-align: center; /* heading elements like h1 all have margins: let the margins be 0 */ margin: 0; font-size: .8em; /* changing the everything tag's font set on the heading to be different */ font-family: Rajdhani, sans-serif, poppins; /* Since heading are by default bolded, the font-weight can be changed to normalize the bolded text */ font-weight: normal; /* All band names should be white */ color: white; } .banner-area { width: 100%; height: 500px; position: fixed; top: 100px; background-image: url('https://github.com/ION606/selmer-bot-website/blob/main/assets/Header%20BK.gif?raw=true'); background-size: cover; background-repeat: no-repeat; background-position: center center; display: flex; flex-direction: column; } .banner-area h2 { padding: 8%; font-size: 40px; font-family: sans-serif, poppins; text-transform: uppercase; color: #fff; justify-content: space-between; align-content: center; } }