
@import url('https://fonts.googleapis.com/css2?family=Krona+One&family=Poppins:wght@300&display=swap');

body {
	font-size: 16px;
	line-height: 1.7;
	font-weight: 400;
	font-family: 'Poppins', sans-serif;
	color: #202124;
	letter-spacing: 1px;
	background: #fff;
} 

body.dark-mode {
	background: #202124;
	color:#c3c5ca;
}

body a {
	color: #333;
    letter-spacing: 1px; 
    word-break: break-word;

}

body.dark-mode a {
	text-decoration: underline;
	color: #C7C7C7; 
}

body.dark-mode a:hover {
	color:#333;
}

body.dark-mode .toggle {
	background: #202124;
}

.toggle {
	display: flex;
    align-items: center;
    justify-content: space-around;
    max-width: 120px;
    position: fixed;
    top: 0;
    right: 2%;
    z-index: 1;
    padding: 10px 0;
	border-radius: 0 0 0 6px;
	background: white;
}
 .toggle span {
	 margin: 0 0.5rem;
}
 .toggle input[type="checkbox"] {
	 height: 0;
	 width: 0;
	 visibility: hidden;
	 display: none;
}
 .toggle input[type="checkbox"]:checked + label {
	 background: #444;
}
 .toggle input[type="checkbox"]:checked + label:after {
	 left: calc(100% - 1px);
	 transform: translateX(-100%);
}
 .toggle label {
	 cursor: pointer;
	 width: 50px;
	 height: 24px;
	 background: #000;
	 display: block;
	 border-radius: 20px;
	 position: relative;
}
 .toggle label:after {
	 content: "";
	 position: absolute;
	 top: 1px;
	 left: -1px;
	 width: 20px;
	 height: 20px;
	 background: #fff;
	 border: 1px solid #202124;
	 border-radius: 20px;
	 transition: 0.3s;
}
 .alt {
	 border: 0;
	 clip: rect(1px, 1px, 1px, 1px);
	 clip-path: inset(50%);
	 height: 1px;
	 margin: -1px;
	 overflow: hidden;
	 padding: 0;
	 position: absolute !important;
	 width: 1px;
	 word-wrap: normal !important;
}

section {
	max-width: 1380px;
	width:90%;
	height: 100%;
	margin: 100px auto;
	padding: 0 2%;
}

h1, h2, h3 {
	font-weight: 400;
}

hr {
	height: 1px;
	background: #333;
	box-sizing: content-box;
	border-style: none !important;
	margin: 6% 0;
	} 

h1 {
	font-size: 74px;
    font-family: 'Krona One', sans-serif;
    letter-spacing: -1px;
    text-align: left;
    line-height: 105px;
}

h2 {
	font-size: 26px;
	line-height: 1.6;
	font-weight: 300;
}

h3 {
	font-size: 18px;
}

p {
	font-size: 22px;
	margin-bottom: 60px;
	padding-right: 2%;
}

ul {
	margin: 0 0 60px 0px;
}

li {
	padding: 10px 0;
	list-style: none;
}

li a {
	font-weight: 400;
}

footer p{
	text-align: center;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 2px;
}

/* ---- Work ------ */

.work a {
	font-size: 60px;
	font-family: 'Krona One', sans-serif;
	display: block;
	letter-spacing: -1px;
}

.work span {
	display: block;
	text-transform: uppercase;
}

.work ul {
	padding: 0;
}

.work li {
	    margin: 80px 0;
}


/* ---- Timeline ----- */


.timeline {
	padding: 0 20% 0 0;
}

 .highlight {
	margin: 4em 1em;
    position: relative;
    padding-left: 18px;
}
 .highlight:before {
	background-color: black;
    content: '';
    margin-left: -22px;
    position: absolute;
    top: 0;
    left: 2em;
    width: 2px;
    height: 100%;
}
 .highlight-event {
	 position: relative;
}
 .highlight-event:hover .highlight-event-icon {
	transition: background-color 0.5s ease;
	background-color: #14E8C2;
	border: 4px solid #202124;
}
 .highlight-event-content {
	padding: 2em;
    position: relative;
    top: -3.5em;
    left: 1em;
    width: 80%;
}

.highlight-event-content p {
	font-size: 18px;
}
 .highlight-event-content h3 {
	font-size: 28px;
    font-weight: 600;
    margin: .5em 0 0;
    letter-spacing: 4px;
    text-transform: uppercase;
}
 .highlight-event-content h4 {
	font-size: 22px;
    margin: 0 0 2em;
    font-weight: 300;
}

.highlight-event-content a {
	display: block;
	width: max-content;
	margin: 10px 0;
	font-weight: 700;
}

img {
	 width: 100%;
    margin: 10px 0 36px;
}
 
 .highlight-event-icon {
	display: block;
    margin: 0.5em 0.5em 0.5em -0.5em;
    position: absolute;
    top: 0;
    left: -.7em;
    width: 1em;
    height: 1em;  
    border-radius: 2em;
    border: 4px solid #202124;
    background: #040404;
    transition: background-color 0.5s ease;

}
 .highlight-event-content .tag {
    display: inline-block;
    padding: .5em 1em .4em 1em;
    background-color: #000;
    margin: 1.5em 1em 1em -1.1em;
    font-size: 14px;
    text-transform: uppercase; 
    letter-spacing: 3px; 
    color: #eee;
    transition: padding 0.5s ease;
    border-radius: 3px;
}

.highlight-event:hover .highlight-event-content .tag {
	transition: padding 0.5s ease;
	padding: .5em 1em .4em 4em;
}

body.dark-mode  .highlight-event-content h4, 
body.dark-mode  .highlight-event-content h3, 
body.dark-mode  .highlight-event-content .tag {
	color: #c3c5ca;
}



@media only screen and (max-width: 450px) {
	
	h1 {
		font-size: 54px;
		line-height: 70px;

	}

	p {

		padding-right: 0;

	}

	.work a {
		font-size: 36px;
	}

	.timeline {
	padding: 0;
	}

	.highlight {
	margin: 4em 0em;}
}

