Files
FTCWebsite/static/css/styles.css
abhiram v b5ca78551f update 1
2024-10-17 22:45:58 +00:00

1088 lines
18 KiB
CSS

body {
margin: 0;
margin-top:0;
/* background-color: #2B2A2B; */
background-color: whitesmoke;
cursor: default;
user-select: none;
}
.nav-container {
z-index: 1000000000;
list-style-type: none;
margin: 0;
padding: 0;
background: rgba(0, 0, 0, 0.5);
color: #e5e5e5d0;
display: flex;
justify-content: center;
align-items: center;
position: fixed;
top: 0;
width: 100%;
backdrop-filter: blur(5px);
height: 12vh;
font-family: Sans-Serif;
font-size: 1.10rem;
border-bottom: .5px solid white;
overflow-y: hidden;
}
.nav-item-center {
display: inline-block;
margin-right: 2%;
margin-left: 2%;
}
@media only screen and (max-width: 850px) {
nav {
padding: 0;
}
.nav-container {
display: flex;
align-items: center;
justify-content: left;
}
.header {
font-size: 1rem!important;
}
.header2 {
font-size: 1rem!important;
}
.sub-header {
font-size: 2.5rem!important;
}
.sub-content {
font-size: 1.5rem!important;
}
.stats-cards {
flex-direction: column!important;
}
.stats-card-header {
font-size: 3rem!important;
}
.stats-card-info {
font-size: 1.35rem!important;
}
.stats-button {
font-size: 1.125rem!important;
width: 50%!important;
transform: translateX(50%)!important;
margin-top: 5%!important;
margin-bottom: 5%!important;
}
.bottom-center-button {
width: 50%!important;
font-size: 1.125rem!important;
}
.sponsors-container {
flex-direction: column!important;
}
.sponsors-card {
margin-top: 3%!important;
max-width: 75%!important;
max-height: 45%!important;
margin-bottom: 15%!important;
}
#sponsors-more-button {
width: 50%!important;
font-size: 1.125rem!important;
transform: translateX(-25%)!important;
}
.stats-container {
margin-top: 10vh!important;
}
.info {
font-size: 1rem!important;
}
}
@media only screen and (max-width: 1250px) {
.nav-item-left {
display: none;
}
}
.nav-item-left {
float: left;
position: absolute;
margin-right: 100%;
margin-left: 15%;
transition: .25s;
}
.nav-item-left:hover {
transform: scale(1.025);
}
.nav-item {
display: flex;
animation-duration: 1s;
align-items: center;
color: white;
}
.nav-item-center a {
text-decoration: none;
color: rgba(255, 255, 255, 0.5);
transition-duration: .25s;
}
.nav-item-center a:hover {
color: white;
}
.header-line {
padding-top: 100px;
display: flex;
align-items: center;
}
.header-line h2 {
margin: 0;
padding-right: 10px;
font-size: 24px;
color: #FFFFFF;
}
.header-line .line {
flex-grow: 1;
height: 2px;
background-color: #333333;
}
.contact {
margin: 0;
padding: 0;
margin-top: 8vh;
position: absolute;
width: 100%;
height: 100%;
justify-content: center;
}
#logo {
height: 7vh;
}
.header-container {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
margin-top: 8%;
width: 50%;
padding-left: 25%;
}
.header-container4 {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
margin-top: 6%;
width: 50%;
padding-left: 25%;
}
.line {
flex: 1;
border-top: 0.5vh solid #000;
}
.header {
padding: 0 1vh;
margin: 0;
font-family: Sans-Serif;
font-size: 1.5rem;
/* 1.5vw */
}
.header2 {
padding-right: 1vh;
margin: 0;
font-family: Sans-Serif;
font-size: 1.5vw;
}
.contact-container {
width: 92%;
height: auto;
display: flex;
flex-wrap: wrap;
gap: 5%;
margin-left: 4%;
}
/* .contact-card {
display: flex;
flex-direction: column;
width: 30%;
height:100%;
transition: 1s;
padding-top: 5%;
}
.contact-card:hover {
transform: scale(1.03);
}
.card-img {
border-top-right-radius: 2vh;
border-top-left-radius: 2vh;
height: 50vh;
}
.card-txt-container {
background-color: #1c1c1c;
color: whitesmoke;
margin:0;
padding:0;
align-items: center;
text-align: center;
font-size: 3vh;
font-family: Sans-Serif;
border-bottom-left-radius: 2vh;
border-bottom-right-radius: 2vh;
}
.card-txt {
padding-top: 2%;
padding-bottom: 2%;
}
.link {
text-decoration: none;
color: rgba(245, 245, 245, 0.25);
transition: 1s;
}
.link:hover {
color: rgba(245, 245, 245, 0.5);
} */
.info {
font-family: Sans-Serif;
font-size: 1.75rem;
text-align: center;
}
.card-container {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
margin-top: 2%;
}
.card {
width: 30%;
height: 50vh;
background-color: whitesmoke;
border-radius: 1.5vh;
overflow: hidden;
margin-bottom: 4%;
text-decoration: none;
display: inline-block;
position: relative;
transition: transform 0.3s ease;
border: black solid .25vh;
}
.card-content {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
}
.card img {
max-width: 75%;
max-height: 100%;
height: auto;
transition: transform 0.3s ease;
}
.card:hover img {
transform: scale(1.2);
}
.home {
margin: 0;
padding: 0;
position: absolute;
width: 100%;
height: 100%;
justify-content: center;
}
.competitions {
margin: 0;
padding: 0;
position: absolute;
width: 100%;
height: 100%;
display: flex;
flex-direction: row;
}
.bg {
width: 100%;
background-color: white;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.bg img {
max-width: 75%;
max-height: 75%;
object-fit: cover;
overflow: hidden;
transition: .5s;
}
.bg img:hover {
transform: scale(1.05);
}
.header-container2 {
display: flex;
/* align-items: center;
justify-content: center;
text-align: center; */
padding-top: 12%;
width: 100%;
justify-content: center;
align-items: center;
}
.header-container6 {
display: flex;
/* align-items: center;
justify-content: center;
text-align: center; */
padding-top: 20%;
width: 100%;
justify-content: center;
align-items: center;
}
.home-info {
width: 75%;
margin-top: 0;
padding-top: 0;
display: block;
margin: auto;
padding-bottom: 6%;
}
.sub-header {
padding: 0 1vh;
font-family: Sans-Serif;
font-size: 4rem;
font-weight: 100;
}
.sub-content {
padding-left: 1vh;
font-size: 2rem;
font-family: Sans-Serif;
font-weight: 50;
letter-spacing: .15vw;
}
.stats-container {
border: 0.25vh black solid;
width: 100%;
border-radius: 1.5vh;
margin-top: 8%;
height: auto;
padding-bottom: 2%;
}
.header-container3 {
display: flex;
/* align-items: center;
justify-content: center;
text-align: center; */
padding-top: 2%;
width: 99%;
justify-content: center;
align-items: center;
color: black;
}
.line2 {
flex: 1;
border-top: 0.5vh solid black;
}
.stats-cards {
width: 100%;
display: flex;
align-items: center;
gap: 10%;
position: relative;
justify-content: center;
margin: 0;
padding-bottom: 2%;
flex-direction: row;
}
.stats-card {
margin:0;
}
.stats-card-header {
font-family: Sans-Serif;
font-size: 4rem;
color: black;
text-align: center;
transition: 0.1s;
}
.stats-card-info {
text-align: center;
padding: 0;
margin: 0;
font-family: Sans-Serif;
font-size: 1.5rem;
color: rgba(0, 0, 0, 0.75);
padding-bottom: 5%;
}
.stats-card-header:hover {
transform: scale(1.5);
}
.sponsors-container {
width: 100%;
height: auto;
padding-right: 1%;
position: relative;
justify-content: center;
margin: 0;
display: flex;
align-items: center;
flex-direction: row;
gap: 10%;
}
.sponsors-card {
max-width: 15%;
max-height: 15%;
filter: brightness(0) drop-shadow(0 0 0.75rem rgb(166, 166, 166));
flex: 1 1 calc(25% - 10px);
margin-bottom: 10px;
}
.sponsors-more-container {
align-items: center;
justify-content: center;
width: 100%;
margin: auto;
position: relative;
margin: 0;
padding:0;
margin-top: 5%;
}
#sponsors-more-button {
position: relative;
margin: auto;
justify-content: center;
align-items: center;
padding: 1%;
font-size: 1.25rem;
font-family: Sans-Serif;
border-radius: 100vh;
border: none;
color: black;
width: 25%;
height: 15%;
border: solid black 0.25vh;
background-color: rgba(245, 245, 245, 0);
left: 37%;
transition: 0.5s;
}
#sponsors-more-button:hover {
background-color: black;
color: white;
cursor: pointer;
}
.sponsors {
margin: 0;
margin-top: 8vh;
padding: 0;
position: absolute;
width: 100%;
height: 100%;
justify-content: center;
}
.card-container-sponsors {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
margin-top: 2%;
}
.card-sponsors {
width: 23%;
height: 50vh;
background-color: whitesmoke;
border-radius: 1.5vh;
overflow: hidden;
margin-bottom: 4%;
text-decoration: none;
/* display: inline-block; */
position: relative;
transition: transform 0.3s ease;
border: black solid .25vh;
}
.card-content-sponsors {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
}
.card-sponsors img {
max-width: 75%;
max-height: 100%;
height: auto;
transition: transform 0.3s ease;
filter: brightness(0);
opacity: 0.5;
}
.sponsors-container {
width: 92%;
height: auto;
display: flex;
flex-wrap: wrap;
margin-left: 4%;
}
.card-sponsors:hover img {
transform: scale(1.2);
opacity: 1;
}
.contributors {
margin: 0;
padding: 0;
position: absolute;
width: 100%;
height: 100%;
justify-content: center;
}
.contributors {
margin: 0;
padding: 0;
position: absolute;
width: 100%;
height: 100%;
justify-content: center;
}
.meet-our-team-container {
position: relative;
border: 0.25vh black solid;
width: 100%;
border-radius: 1.5vh;
margin-top: 10%;
height: 45vh;
overflow: hidden;
}
#meet-our-team {
width: 100%;
height: 100%;
object-fit: cover;
margin: 0;
padding: 0;
filter: brightness(.75);
transition: 5s;
}
#meet-our-team:hover {
transform: scale(1.25);
}
.meet-our-team-container::before {
content: '';
position: absolute;
bottom: 0; /* Keep the gradient at the bottom */
left: 0;
width: 100%;
height: 100%; /* Adjust this value to control the gradient height */
background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
z-index: 1;
pointer-events: none;
}
.bottom-center-button {
position: absolute;
bottom: 5%;
left: 50%;
transform: translateX(-50%);
/* padding: 10px 20px;
background-color: #ffffff;
color: #000000;
border: none;
border-radius: 5px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); */
font-size: 1.25rem;
font-family: Sans-Serif;
border-radius: 100vh;
border: none;
color: white;
width: 25%;
/* height: 7vh; */
border: solid white 0.25vh;
background-color: rgba(245, 245, 245, 0);
z-index: 2;
cursor: pointer;
transition: 0.5s;
min-height: 10%;
padding: 1%;
}
.bottom-center-button:hover {
background-color: white;
color: black;
cursor: pointer;
}
/* Span stuff */
.stats-button {
color: black;
font-size: 1.25rem;
font-family: Sans-Serif;
border-radius: 100vh;
width: 25%;
height: 50%;
border: solid black 0.25vh;
background-color: rgba(0, 0, 0, 0);
z-index: 2;
cursor: pointer;
transition: 0.5s;
box-shadow: none;
transform: translateX(150%);
margin-top: 1%;
margin-bottom: 1%;
padding: 1%;
}
.stats-button:hover {
color:white;
background-color: black;
}
.team-info {
width: 75%;
margin-top: 14%;
padding-top: 8%;
display: block;
/* transform: translateX(16%); */
margin: auto;
}
.footer {
width: 100%;
height: 5vh;
align-items: center;
justify-content: center;
text-align: center;
border-top: black 0.25vh solid;
}
.footer-content {
font-size: 2.5vh;
justify-content: center;
align-items: center;
margin: auto;
text-decoration: none;
padding-top: .5%;
font-family: sans-serif;
font-weight: 100;
}
.link-to-here {
color: black;
font-weight: bold;
text-decoration: underline;
}
.members-container {
width: 75%;
margin-top: 0;
padding-top: 0;
display: flex;
flex-wrap: wrap;
justify-content: center;
margin: auto;
padding-bottom: 5%;
gap: 3%;
border-top: black 0.25vh solid;
border-right: black 0.25vh solid;
border-left: black 0.25vh solid;
border-top-right-radius: 1.5vh;
border-top-left-radius: 1.5vh;
padding-top: 2%;
}
@media only screen and (max-width: 850px) {
.card-sponsors {
width: 100%;
height: 25vh;
}
.card-container-sponsors {
flex-direction: column;
}
.card {
width: 100%;
height: 25vh;
}
.contact-container {
flex-direction: column;
}
}
.member-card {
display: flex;
flex-direction: column;
font-family: sans-serif;
text-align: center;
justify-content: center;
align-items: center;
margin-top: 3%;
padding: 2%;
}
.member-image {
width: 15vh;
height: 15vh;
border: 0.25vh black solid;
border-radius: 100vh;
overflow: hidden;
transition: 1s;
}
.member-name {
font-size: 3vh;
margin: 0;
padding: 1%;
margin-top: 5%;
font-weight: bold;
}
.member-role {
font-size: 2vh;
padding: 0;
margin: 0;
margin-top: 5%;
font-weight: bold;
opacity: 0.5;
}
.member-image:hover {
transform: rotate(360deg);
}
.sidebar {
position: fixed;
width: 25%;
height: 86.5%;
justify-content: center;
display: flex;
align-items: center;
bottom: 0;
/* background-color: red; */
}
.sidebar-content {
height: 80%;
width: 85%;
margin: 37% auto;
position: relative;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 25%;
/* background-color: green; */
}
.sidebar-content::-webkit-scrollbar {
display: none;
}
.sidebar a {
text-decoration: none;
font-size: 4vh;
color: black;
display: block;
font-family: sans-serif;
opacity: .25;
transition: .5s;
filter: drop-shadow(0 0 1rem rgb(0, 0, 0));
width: 100%;
box-sizing: border-box;
position: relative;
margin: auto;
text-align: center;
}
.sidebar a:hover {
opacity: 1;
transform: scale(1.1);
filter: drop-shadow(0 0 0.75rem rgb(67, 67, 67));
}
.competitions-container {
margin-top: 8vh;
margin-left: 25%;
width: 100%;
display: flex;
flex-direction: column;
/* align-items: center; */
padding: 0;
}
.competitions-inner {
width: 82%;
/* background-color: aqua; */
margin: 0;
padding: 0;
padding-bottom: 5%;
}
.competition-year {
font-family: sans-serif;
font-size: 8vh;
margin-top: 2%;
padding: 0;
font-weight: 50;
/* background-color: antiquewhite; */
margin-bottom: 0;
}
.competition-header {
display: flex;
flex-direction: row;
gap: 2%;
padding: 0;
margin: 0;
font-size: 3vh;
font-family: sans-serif;
font-weight: bold;
}
.competition-card {
width: 100%;
/* background-color: lightgrey; */
margin: 0;
padding: 0;
position: relative;
}
.competition-date {
opacity: .5;
}
.middle-dot {
opacity: .5;
}
.competition-subtitle {
margin: 0;
padding: 0;
font-size: 2.5vh;
font-family: sans-serif;
font-weight: 750;
}
.competition-description {
font-family: sans-serif;
font-size: 2.5vh;
font-weight: 100;
}
.competition-awards {
font-size: 2.5vh;
font-weight: 100;
font-family: sans-serif;
}
span.sponsors,
span.contact,
span.team,
span.about,
span.stats,
span.competitions,
span.gallary {
position: relative;
cursor: pointer;
padding: 2%;
margin: -2%;
}
span.emoji::before,
span.emoji::after {
content: "";
position: absolute;
top: -16px;
left: -8px;
opacity: 0;
transform: scale(0.5) rotate(-30deg);
transition: opacity 120ms ease-out, transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.5);
}
span.emoji::after {
top: revert;
left: revert;
bottom: -16px;
right: -8px;
}
span.contact::before,
span.contact::after {
content: "📱";
font-size: 2.5vh;
top: -75%;
left: -10%;
}
span.contact::after {
top: revert;
left: revert;
bottom: -60%;
right: -10%;
}
span.about::before,
span.about::after {
content: "👋";
font-size: 2.5vh;
top: -75%;
left: -10%;
}
span.about::after {
top: revert;
left: revert;
bottom: -60%;
right: -10%;
}
span.stats::before,
span.stats::after {
content: "📊";
font-size: 2.5vh;
top: -75%;
left: -10%;
}
span.stats::after {
top: revert;
left: revert;
bottom: -60%;
right: -10%;
}
span.gallary::before,
span.gallary::after {
content: "📷";
font-size: 2.5vh;
top: -75%;
left: -10%;
}
span.gallary::after {
top: revert;
left: revert;
bottom: -60%;
right: -10%;
}
span.sponsors::before,
span.sponsors::after {
content: "❤️";
font-size: 2.5vh;
top: -75%;
left: -10%;
}
span.sponsors::after {
top: revert;
left: revert;
bottom: -60%;
right: -10%;
}
span.team::before,
span.team::after {
content: "👥";
font-size: 2.5vh;
top: -75%;
left: -10%;
}
span.team::after {
top: revert;
left: revert;
bottom: -60%;
right: -10%;
}
span.competitions::before,
span.competitions::after {
content: "🥇";
font-size: 2.5vh;
top: -55%;
left: -10%;
}
span.competitions::after {
top: revert;
left: revert;
bottom: -55%;
right: -10%;
}
span.emoji:hover::before,
span.emoji:hover::after {
transform: scale(1.2) rotate(0deg);
opacity: 1;
}
span.emoji:active::before,
span.emoji:active::after {
transform: scale(1) rotate(-2deg);
}