html
{
scroll-behavior: smooth;
}
body
{
margin: 0;
background-color: #121212;
}
.dark-mode {
margin: 0;
background-color: white;
}
.link-effect {
/* RESET */
text-decoration: none;
line-height: 0.7;
position: relative;
z-index: 0;
display: inline-block;
padding: 5px 5px;
overflow: hidden;
color: #9fceee;
vertical-align: text-bottom;
transition: color .3s ease-out;
font-size: 1.6rem;
}
body.dark-mode .link-effect {
/* RESET */
text-decoration: none;
line-height: 0.7;
position: relative;
z-index: 0;
display: inline-block;
padding: 5px 5px;
overflow: hidden;
color: #4e4d4d;
vertical-align: text-bottom;
transition: color .3s ease-out;
font-size: 1.6rem;
}
.link-effect::before {
content: "";
position: absolute;
z-index: -1;
top: 0;
left: 0;
transform: translateY(calc(100% - 2px));
width: 100%;
height: 100%;
background: rgb(238,174,202);
background: radial-gradient(circle, rgb(236, 126, 174) 0%, rgb(116, 179, 250) 100%);
transition: transform .25s ease-out;
}
.link-effect:hover {
color: #fff;
}
.link-effect:hover::before {
transform: translateY(0);
transition: transform .25s ease-out;
}
@media screen and (max-width: 800px){
.link-effect {
/* RESET */
text-decoration: none;
line-height: 0.7;
position: relative;
z-index: 0;
display: inline-block;
padding: 5px 5px;
overflow: hidden;
color: #9fceee;
vertical-align: text-bottom;
transition: color .3s ease-out;
font-size: 1.3rem;
}
body.dark-mode .link-effect {
/* RESET */
text-decoration: none;
line-height: 0.7;
position: relative;
z-index: 0;
display: inline-block;
padding: 5px 5px;
overflow: hidden;
color: #4e4d4d;
vertical-align: text-bottom;
transition: color .3s ease-out;
font-size: 1.3rem;
}
.link-effect::before {
content: "";
position: absolute;
z-index: -1;
top: 0;
left: 0;
transform: translateY(calc(100% - 2px));
width: 100%;
height: 100%;
background: rgb(238,174,202);
background: radial-gradient(circle, rgba(238,174,202,1) 0%, rgba(148,187,233,1) 100%);
transition: transform .25s ease-out;
}
.link-effect:hover {
color: #fff;
}
.link-effect:hover::before {
transform: translateY(0);
transition: transform .25s ease-out;
}
}
/*======================================
Navbar
=======================================*/
@import url("//fonts.googleapis.com/css?family=Open+Sans");
nav{
height: 6rem;
width: 100vw;
background-color: #181818;
box-shadow: 0 3px 20px rgba(0, 0, 0, 0.2);
display: flex;
position: fixed;
z-index: 10;
}
/*Styling logo*/
.logo{
padding:1vh 1vw;
text-align: center;
}
.logo img {
height: 5rem;
width: 5rem;
}
/*Styling Links*/
.nav-links{
display: flex;
list-style: none;
width: 88vw;
padding: 0 0.7vw;
justify-content: space-evenly;
align-items: center;
text-transform: uppercase;
}
.nav-links li .nav-link-effect{
text-decoration: none;
margin: 0 0.7vw;
color: #ff2e2e;
font-size: 1.25rem;
font-family: "Montserrat";
font-weight: bold;
text-transform: uppercase;
}
.nav-links li .nav-link-effect:hover {
color: #b30202;
}
.nav-links li {
position: relative;
}
.nav-links li .nav-link-effect::before {
content: "";
display: block;
height: 3px;
width: 0%;
background-color: #850de0;
position: absolute;
transition: all ease-in-out 500ms;
margin: 0 0 0 10%;
}
.nav-links li .nav-link-effect:hover::before{
width: 80%;
}
/*Styling Buttons*/
.join-button{
color: #131418;
background-color: #61DAFB;
border: 1.5px solid #61DAFB;
border-radius: 2em;
padding: 0.6rem 0.8rem;
font-size: 1rem;
cursor: pointer;
}
.join-button:hover {
color: #f2f5f7;
background-color: transparent;
border:1.5px solid #f2f5f7;
transition: all ease-in-out 350ms;
}
/*Styling Hamburger Icon*/
.hamburger div{
width: 30px;
height:3px;
background: #f2f5f7;
margin: 5px;
transition: all 0.3s ease;
}
.hamburger{
display: none;
}
/*Stying for small screens*/
@media screen and (max-width: 800px){
nav{
position: fixed;
z-index: 3;
}
.hamburger{
display:block;
position: absolute;
cursor: pointer;
right: 5%;
top: 50%;
transform: translate(-5%, -50%);
z-index: 2;
transition: all 0.7s ease;
}
.nav-links{
position: fixed;
background: #131418;
height: 100vh;
width: 100%;
flex-direction: column;
clip-path: circle(50px at 90% -20%);
-webkit-clip-path: circle(50px at 90% -10%);
transition: all 1s ease-out;
pointer-events: none;
}
.nav-links.open{
clip-path: circle(1000px at 90% -10%);
-webkit-clip-path: circle(1000px at 90% -10%);
pointer-events: all;
}
.nav-links li{
opacity: 0;
}
.nav-links li:nth-child(1){
transition: all 0.5s ease 0.2s;
}
.nav-links li:nth-child(2){
transition: all 0.5s ease 0.4s;
}
.nav-links li:nth-child(3){
transition: all 0.5s ease 0.6s;
}
.nav-links li:nth-child(4){
transition: all 0.5s ease 0.7s;
}
.nav-links li:nth-child(5){
transition: all 0.5s ease 0.8s;
}
.nav-links li:nth-child(6){
transition: all 0.5s ease 0.9s;
margin: 0;
}
.nav-links li:nth-child(7){
transition: all 0.5s ease 1s;
margin: 0;
}
li.fade{
opacity: 1;
}
}
/*Animating Hamburger Icon on Click*/
.toggle .line1{
transform: rotate(-45deg) translate(-5px,6px);
}
.toggle .line2{
transition: all 0.7s ease;
width:0;
}
.toggle .line3{
transform: rotate(45deg) translate(-5px,-6px);
}
/*======================================
Sidebar
=======================================*/
@media screen and (min-width: 1150px) {
.sidebar {
height: 100%;
width: 200px;
position: fixed;
top: 0;
left: 0;
padding-top: 40px;
background-color: #212121;
border-right: 1px solid black;
}
body.dark-mode .sidebar {
height: 100%;
width: 200px;
position: fixed;
top: 0;
left: 0;
padding-top: 40px;
background-color: #e4e2e2;
border-right: 1px solid black;
}
.sidebar-title
{
margin-top: 150%;
text-align: center;
color: #FFFFFF;
}
body.dark-mode .sidebar-title
{
margin-top: 150%;
text-align: center;
color: black;
}
.sidebar-title span
{
font-size: 2.5rem;
border-bottom: 1px solid black;
padding: 0 15px;
}
.sidebar div {
padding: 8px;
font-size: 24px;
display: block;
}
.sidebar-content
{
margin-left: 20%;
color: #FFFFFF;
}
body.dark-mode .sidebar-link
{
text-decoration: none;
color: #4b4a4a;
}
body.dark-mode .sidebar-link:hover
{
text-decoration: none;
color: black;
}
.sidebar-link
{
text-decoration: none;
color: #cacaca;
}
.sidebar-link:hover
{
color: #FFFFFF;
}
}
@media screen and (max-width: 1150px) {
.sidebar
{
display: none;
visibility: hidden;
}
}
/*======================================
Cover photo
=======================================*/
@import url("//fonts.googleapis.com/css?family=Playfair+Display");
.title-gradient
{
background: linear-gradient(to right, #ef5350, #f48fb1, #7e57c2, #2196f3, #26c6da, #43a047, #eeff41, #f9a825, #ff5722);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-size: 5rem;
}
#hero1 {
background: url("../images/cover.jpeg");
background-size: cover;
background-position: center center;
background-attachment: fixed; }
.hero{
text-align: center;
position: relative;
width: 100%; }
.inner {
min-height: 400px;
position: relative; }
/*.hero .inner {
background: rgba(0, 0, 0, 0.7) url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAYAAACddGYaAAAAD0lEQVQIW2NkQABjRmQOAAM+AGkQsDBSAAAAAElFTkSuQmCC) repeat; }
*/
.copy {
position: absolute;
top: 50%;
margin-top: -5em;
width: 100%; }
.centered {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
}
/*======================================
Join button
=======================================*/
.join-button {
transition: all .5s ease;
color: #fff;
border: 3px solid white;
font-family:'Montserrat', sans-serif;
text-transform: uppercase;
text-align: center;
line-height: 1;
font-size: 1.5rem;
background-color : transparent;
padding: 10px;
outline: none;
border-radius: 4px;
cursor: pointer;
}
.join-button:hover {
color: #001F3F;
background-color: #fff;
}
/*======================================
Page Content
=======================================*/
@import url('https://fonts.googleapis.com/css2?family=Teko:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rokkitt:wght@100&display=swap');
.title
{
font-family: 'Teko', sans-serif;
margin-top: .8em;
font-size: 3rem;
text-align: center;
margin-top: 3%;
padding: 1%;
color: #FFFFFF;
}
body.dark-mode .title
{
font-family: 'Teko', sans-serif;
margin-top: .8em;
font-size: 3rem;
text-align: center;
margin-top: 3%;
padding: 1%;
color: black;
}
@media screen and (max-width: 800px){
.title
{
font-family: 'Teko', sans-serif;
margin-top: .8em;
font-size: 3rem;
text-align: center;
margin-top: 10%;
color: #FFFFFF;
}
body.dark-mode .title
{
font-family: 'Teko', sans-serif;
margin-top: .8em;
font-size: 3rem;
text-align: center;
margin-top: 10%;
color: black;
}
}
.content
{
font-family: "Montserrat",Arial,Helvetica,sans-serif;
font-weight: 400;
line-height: 1em;
font-size: 1.8rem;
margin-left: 16%;
margin-right: 5%;
padding: 1%;
margin-top: -2%;
color: #f5f5f5;
}
body.dark-mode .content
{
font-family: Open Sans;
font-size: 1.4rem;
line-height: 2rem;
margin-left: 16%;
margin-right: 5%;
padding: 1%;
margin-top: -2%;
color: #242424;
}
@media screen and (max-width: 800px){
.content
{
font-family: Open Sans;
font-size: 1.3rem;
line-height: 2rem;
margin-left: 5%;
margin-right: 5%;
padding: 1%;
margin-top: -5%;
color: #f5f5f5;
}
body.dark-mode .content
{
font-family: Open Sans;
font-size: 1.3rem;
line-height: 2rem;
margin-left: 5%;
margin-right: 5%;
padding: 1%;
margin-top: -5%;
color: #242424;
}
}
@media screen and (max-width: 600px) {
.history-div
{
width: 100%;
}
}
#mail
{
background-color: #242526;
}
body.dark-mode #mail
{
background-color: #e4e2e2;
}
.highlight
{
background-color: #ffffff;
font-family: Roboto Mono,SFMono-Regular,Consolas,Menlo,monospace;
}
.mobile-fix
{
overflow-wrap: break-word;
word-wrap: break-word;
-ms-word-break: break-all;
/* This is the dangerous one in WebKit, as it breaks things wherever */
word-break: break-all;
/* Instead use this non-standard one: */
word-break: break-word;
/* Adds a hyphen where the word breaks, if supported (No Blink) */
-ms-hyphens: auto;
-moz-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
}
/*======================================
Switch
=======================================
@media screen and (max-width: 800px){
#theme-switch
{
transform: scale(0.7);
width: 60px;
height: 30px;
background: #2d2d2d;
border-radius: 30px;
display: flex;
align-items: center;
bottom: 5%;
right: 2%;
position: fixed;
}
}
.switch{
width: 60px;
height: 30px;
background: #2d2d2d;
border-radius: 30px;
display: flex;
align-items: center;
bottom: 5%;
right: 2%;
position: fixed;
}
#mode{
display: none;
}
#sun{
font-size: 35px;
color:yellow;
margin:0px 0px 0px -13px;
background: #484848;
border-radius: 50%;
}
#moon{
font-size: 35px;
color:#bdbdbd;
margin:0px 5px 0px 20px;
}
.switch::before{
position: absolute;
content: "";
padding: 15px;
background: #bdbdbd;
border-radius: 50%;
transition: 0.3s;
transform: translateX(-12px);
border: 6px solid #656565;
}
#mode:checked ~ .switch::before{
transform: translateX(30px);
background: #484848;
}
/*======================================
Sidebar
=======================================*/
#scroll-down-animation {
position: absolute;
bottom: 5%;
left: 50%;
transform: translate(-50%,-50%);
}
h2 {
color: #fff;
font-family: 'Roboto', 'Arial', sans-serif;
font-weight: 200;
font-size: 16px;
}
.mouse {
margin: 0 auto;
display: block;
border-radius: 50px;
border: 2px solid #fff;
height: 100px;
width: 50px;
position: relative;
}
.move {
position: absolute;
background-color: #fff;
height: 10px;
width: 10px;
border-radius: 50%;
left: 50%;
transform: translateX(-50%);
animation: move 2s linear infinite;
}
@keyframes move {
0% {
transform: translate(-50%,10px);
opacity: 0;
}
50% {
transform: translate(-50%,40px);
opacity: 1;
}
100% {
transform: translate(-50%,80px);
opacity: 0;
}
}
/*======================================
News Cards
=======================================*/
.cards
{
background-color:white;
height:45%;
width: 100%;
margin: auto;
}
.cards-images
{
width: 100%;
height: 100%;
padding: 2%;
}
.card-image-style
{
width: 19%;
height: 100%;
}
.overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background-color: #008CBA;
overflow: hidden;
width: 100%;
height: 0;
transition: .5s ease;
}
.container:hover .overlay {
height: 100%;
}
.text {
color: white;
font-size: 20px;
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
text-align: center;
}
/*======================================
Footer
=======================================*/
#jm {
margin-top: 50px;
background-color: black;
color: white;
}
#jm h1
{
padding-top: 2%;
font-size: 1rem;
font-family: "Montserrat",Arial,Helvetica,sans-serif;
}
.fa-facebook
{
color: #3B5998;
}
.fa-youtube
{
color: #bb0000;
}
.fa-twitter
{
color: #55ACEE;
}
.fa-instagram
{
color: #bc2a8d;
}
.fa-linkedin
{
color: #2867b2;
}
.fa-icon {
display: inline-block;
font-size: 0px;
cursor: pointer;
margin: 15px 30px;
width: 90px;
height: 90px;
border-radius: 50%;
text-align: center;
position: relative;
z-index: 1;
text-decoration: none;
}
.fa-icon:after {
pointer-events: none;
position: absolute;
width: 100%;
height: 100%;
border-radius: 50%;
content: '';
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
}
.fa-icon:before {
font-family: 'fontawesome';
speak: none;
font-size: 48px;
line-height: 90px;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
display: block;
-webkit-font-smoothing: antialiased;
}
.fa-icon-effect-8 .fa-icon {
background: rgba(255,255,255, 1);
-webkit-transition: -webkit-transform ease-out 0.1s, background 0.2s;
-moz-transition: -moz-transform ease-out 0.1s, background 0.2s;
transition: transform ease-out 0.1s, background 0.2s;
}
.fa-icon-effect-8 .fa-icon:after {
top: 0;
left: 0;
padding: 0;
z-index: -1;
box-shadow: 0 0 0 2px rgba(255,255,255,1);
opacity: 0;
-webkit-transform: scale(1.0);
-moz-transform: scale(1.0);
-ms-transform: scale(1.0);
transform: scale(1.0);
}
.fa-icon-effect-8 .fa-icon:hover {
background: rgba(255,255,255,1);
-webkit-transform: scale(0.93);
-moz-transform: scale(0.93);
-ms-transform: scale(0.93);
transform: scale(0.93);
opacity: 0.5;
}
.fa-icon-effect-8 .fa-icon:hover:after {
-webkit-animation: sonarEffect 1.3s ease-out 75ms;
-moz-animation: sonarEffect .59s ease-out 75ms;
animation: sonarEffect .59s ease-out 75ms;
}
@-webkit-keyframes sonarEffect {
0% {
opacity: 20;
}
40% {
opacity: 50;
box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #fff, 0 0 0 10px rgba(255,255,255,0.5);
}
100% {
box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #fff, 0 0 0 10px rgba(255,255,255,0.5);
-webkit-transform: scale(1.5);
opacity: 100;
}
}
@-moz-keyframes sonarEffect {
0% {
opacity: 20;
}
40% {
opacity: 50;
box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #fff, 0 0 0 10px rgba(255,255,255,0.5);
}
100% {
box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #fff, 0 0 0 10px rgba(255,255,255,0.5);
-moz-transform: scale(1.5);
opacity: 100;
}
}
@keyframes sonarEffect {
0% {
opacity: 20;
}
40% {
opacity: 50;
box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #3851bc, 0 0 0 10px rgba(255,255,255,0.5);
}
100% {
box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #3851bc, 0 0 0 10px rgba(255,255,255,0.5);
transform: scale(1.5);
opacity: 100;
}
}