This repository has been archived on 2022-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
Mind-Overflow-Website/home-style.css

161 lines
2.7 KiB
CSS

@charset "utf-8";
html, body {
font-family: 'Montserrat', sans-serif;
height: 100%;
width: 100%;
margin: 0;
padding: 0;
background-color: black;
-moz-user-select: none;
-webkis-user-select: none;
-ms-user-select: none;
user-select: none;
-o-user-select: none;
}
.main{
height: 100%;
width: 100%;
margin: 0%;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
background: linear-gradient(45deg, #067062, #063d70, #2d0670, #4e0670, #700667);
background-size: 1000%, 100%;
animation: gradient 7s linear infinite;
animation-direction: alternate-reverse;
}
h1 {
font-size: 90px;
font-weight: 800;
width: 100%;
color: white;
position: absolute;
margin-top: 20px;
}
.bottomnav {
display: flex;
align-items: center;
text-align: center;
margin-top: auto;
padding-bottom: 20px;
text-transform: uppercase;
}
.bottomnav a {
color: white;
text-align: center;
text-decoration: none;
padding: 14px;
font-size: 30px;
font-family: 'Oswald', sans-serif;
font-weight: 300;
}
.bottomnav a.rainbow {
background: linear-gradient(to right, #33ffc5 20%, #fc33ff, #ff3370, #ff3333, #3dff33, #33ffc5);
background-size: 800px, 800px;
color: aquamarine;
background-clip: text;
text-fill-color: transparent;
animation: gradient 2s linear infinite;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
/* ANIMATED GRADIENT BACKGROUND */
@keyframes gradient {
0% {background-position: 0%}
100% {background-position: 100%}
}
/*MOBILE*/
@media (min-width: 0px) and (max-width: 200px) {
h1 {
font-size: 20px;
}
.bottomnav a {
font-size: 8px;
}
}
@media (min-width: 200px) and (max-width: 300px) {
h1 {
font-size: 39px;
}
.bottomnav a {
font-size: 11px;
}
}
@media (min-width: 300px) and (max-width: 400px) {
h1 {
font-size: 52px;
}
.bottomnav a {
font-size: 18px;
}
}
@media (min-width: 400px) and (max-width: 500px) {
h1 {
font-size: 64px;
}
.bottomnav a {
font-size: 27px;
}
}
@media (min-width: 500px) and (max-width: 800px) {
h1 {
font-size: 76px;
}
.bottomnav a {
font-size: 28px;
}
}
@media (min-width: 800px) and (max-width: 1000px) {
h1 {
font-size: 80px;
}
.bottomnav a {
font-size: 29px;
}
}
/* 4K+ MONITORS*/
@media (min-width: 2100px) {
h1 {
font-size: 180px;
}
.bottomnav a {
font-size: 40px;
}
}
@font-face {
font-family: 'Oswald';
font-style: normal;
font-weight: 300;
src: url(https://fonts.gstatic.com/s/oswald/v24/TK3_WkUHHAIjg75cFRf3bXL8LICs169vsUZiZQ.woff2) format('woff2');
}
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 800;
src: url(https://fonts.gstatic.com/s/montserrat/v14/JTURjIg1_i6t8kCHKm45_c5H3gnD_g.woff2) format('woff2');
}