/*

Theme Name: RWG 2025
Theme URI: https://rwg.bio
Author: Andrii Shekhirev
Description: custom WP theme for RWG Hackathon
Version: 1.0
Text Domain: rwg
Domain Path: /languages/

*/



/* Table of Contents
-------------------------------------



/*



/* 
1. General
-------------------------------------
*/

/* Resets */

html, 
body, 
div, 
span, 
applet, 
object, 
iframe, 
h1, 
h2, 
h3, 
h4, 
h5, 
h6, 
p, 
blockquote, 
pre, 
a, 
abbr, 
acronym, 
address, 
big, 
cite, 
code, 
del, 
dfn, 
em, 
font, 
ins, 
kbd, 
q, 
s, 
samp, 
small, 
strike, 
strong, 
sub, 
sup, 
tt, 
var, 
dl, 
dt, 
dd, 
ol, 
ul, 
li, 
fieldset, 
form, 
label, 
legend, 
table, 
caption, 
tbody, 
tfoot, 
thead, 
tr, 
th, 
td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

@font-face {
	font-family: 'vcr';
	src: url('fonts/vcr.eot');
	src: url('fonts/vcr.eot?#iefix') format('embedded-opentype'),
		 url('fonts/vcr.woff2') format('woff2'), 
		 url('fonts/vcr.woff') format('woff'),
		 url('fonts/vcr.ttf')  format('truetype'),
}

@font-face {
	font-family: 'w95';
	src: url('fonts/w95.eot');
	src: url('fonts/w95.eot?#iefix') format('embedded-opentype'),
		 url('fonts/w95.woff2') format('woff2'), 
		 url('fonts/w95.woff') format('woff'),
		 url('fonts/w95.ttf')  format('truetype'),
}

html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	overflow-y: scroll;
	font-size: 62.5%;
}

*,
*:before,
*:after {
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

/* Defaults */

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
}

body {
	font-family: 'Roboto Mono', Arial, sans-serif;
	line-height: 1.4;
	color: #000;
}

.clear:after {
	display: table;
	clear: both;
	content: '';
}

a {
	text-decoration: none;
}

.uppercase {
	text-transform: uppercase;
}

ul {
	list-style: none;	
}

textarea {
	height: auto;
}

::-webkit-input-placeholder { 
	color:#aaa; 
}
::-moz-placeholder { 
	color:#aaa; 
}
:-ms-input-placeholder { 
	color:#aaa; 
}
input:-moz-placeholder { 
	color:#aaa; 
}

input[type="checkbox"] {
	margin: 0;
    vertical-align: middle;	
}

input[type="submit"] {
	border: none;
    padding: 16px 20px;
	padding: 1.6rem 2rem;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	-webkit-border-radius: 0;
}

strong {
	font-weight: 800;
}

p {
	margin-bottom: 30px;
}

select {
	display: block;
    width: 100%;	
}

label {
		
}

small {
	font-size: 12px;
	font-size: 1.2rem;	
}

img {
	max-width: 100%;
	height: auto;	
}

embed,
iframe {
	max-width: 100%;	
}

.says,
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

.monospace {
	font-family: 'Roboto Mono', monospace;
}


/* Header */

.logo {
	font-family: vcr;
	padding: 0 0 1vw 0;
}

.logo img {
	height: auto;
}

.hero-animation {
	background-image: url('images/hero-gif.gif');
	background-repeat: no-repeat;
    background-size: cover;
    background-position: right center;
	flex: 1 0 auto;
}


/* Body */

h1,
h2,
h3 {
	font-family: 'vcr';
	text-transform: uppercase;
	margin-bottom: 0.4em;
	font-weight: 700;
	line-height: 1.2;
}

h1 {
	line-height: 0.9;
	color: #999;
	margin-left: -0.2vw;
}

.h1-highlight {
	color: #fff;
}

.glitch {
	position: relative;
}
.glitch::before,
.glitch::after {
	content: "ATGCATGAG";
	position: absolute;
	width: 100%;
	height: 100%;
	background: #030303;
	overflow: hidden;
	top: 0;
	inset: 0;  
	will-change: clip-path, transform, text-shadow;
}
.glitch::before {
	left: 2px;
	text-shadow: -2px 0 #c861d2;
	animation: glitch-1 6s linear infinite alternate-reverse;
}
.glitch::after {
	left: -2px;
	text-shadow: -2px 0 #0bc680;
	animation: glitch-2 6s linear infinite alternate-reverse;
}

@keyframes glitch-1 {
  0%   { clip-path: inset(51% 0 30% 0); }
  5%   { clip-path: inset(25% 0 93% 0); }
  10%  { clip-path: inset(40% 0 32% 0); }
  15%  { clip-path: inset(19% 0 26% 0); }
  20%  { clip-path: inset(22% 0 3% 0); }
  25%  { clip-path: inset(60% 0 61% 0); }
  30%  { clip-path: inset(71% 0 94% 0); }
  35%  { clip-path: inset(90% 0 10% 0); }
  40%  { clip-path: inset(31% 0 1% 0); }
  45%  { clip-path: inset(67% 0 60% 0); }
  50%  { clip-path: inset(21% 0 44% 0); }
  55%  { clip-path: inset(9% 0 71% 0); }
  60%  { clip-path: inset(42% 0 89% 0); }
  65%  { clip-path: inset(9% 0 68% 0); }
  70%  { clip-path: inset(68% 0 60% 0); }
  75%  { clip-path: inset(59% 0 42% 0); }
  80%  { clip-path: inset(94% 0 7% 0); }
  85%  { clip-path: inset(9% 0 80% 0); }
  90%  { clip-path: inset(7% 0 80% 0); }
  95%  { clip-path: inset(47% 0 70% 0); }
  100% { clip-path: inset(72% 0 78% 0); }
}

@keyframes glitch-2 {
  0%   { clip-path: inset(21% 0 60% 0); }
  5%   { clip-path: inset(52% 0 15% 0); }
  10%  { clip-path: inset(93% 0 14% 0); }
  15%  { clip-path: inset(57% 0 46% 0); }
  20%  { clip-path: inset(57% 0 85% 0); }
  25%  { clip-path: inset(71% 0 7% 0); }
  30%  { clip-path: inset(83% 0 38% 0); }
  35%  { clip-path: inset(73% 0 5% 0); }
  40%  { clip-path: inset(39% 0 1% 0); }
  45%  { clip-path: inset(46% 0 51% 0); }
  50%  { clip-path: inset(35% 0 20% 0); }
  55%  { clip-path: inset(5% 0 17% 0); }
  60%  { clip-path: inset(4% 0 61% 0); }
  65%  { clip-path: inset(51% 0 97% 0); }
  70%  { clip-path: inset(12% 0 88% 0); }
  75%  { clip-path: inset(37% 0 82% 0); }
  80%  { clip-path: inset(70% 0 82% 0); }
  85%  { clip-path: inset(15% 0 36% 0); }
  90%  { clip-path: inset(23% 0 25% 0); }
  95%  { clip-path: inset(88% 0 84% 0); }
  100% { clip-path: inset(69% 0 55% 0); }
}



.heading-dna-1 {
	color: #aaa;
}

.heading-dna-2 {
	color: #777;
}

.heading-dna-3 {
	color: #333;
}

::-webkit-input-placeholder {
	color: #666;
	font-size: inherit;
	font-style: italic;
}
::-moz-placeholder {
	color: #666;
	font-size: inherit;
	font-style: italic;
	opacity: 1;
}
:-ms-input-placeholder {
	color: #666;
	font-size: inherit;
	font-style: italic;
}
:-moz-placeholder {
	color: #666;
	font-size: inherit;
	font-style: italic;
	opacity: 1;
}

.section-atf {
	background-color: #030303;
	background-image: url('images/hero-gif.gif');
	background-repeat: no-repeat;
    background-size: contain;
}

.event-date {
	color: #fff;
	line-height: 1.2;
	font-family: 'Roboto Mono', monospace;
	font-style: italic;
}

.atf-content {	
	position: relative;
	z-index: 2;
}

.organizer-logos {
	display: flex;
	justify-content: space-around;
	align-items: center;
	margin: 2vw;
}

.organizer {
	
}

.organizer img {
	height: 3.5vw;
	width: auto;
	position: relative;
}

.boxed {
	border: 1px solid;
	padding: 0 0.5vw 0.2vw 0.5vw;
}

.apply {
    text-align: center;
}

.apply-button {
	
}

.button {
	display: inline-block;
	padding: 10px 12px;
	background-color: #85B899;
	color: #000;
	text-decoration: none;
	font-weight: bold;
	text-transform: uppercase;
	border: none;
	cursor: pointer;
	font-family: 'vcr';
	line-height: 0.9;
	box-shadow: 10px 10px #726F70;
}

.button:hover {
	box-shadow: none;
	background: linear-gradient(to right, #85B899, #BCBC8B, #B297B7);
	box-shadow: 10px 10px #000;
}

.button:active {
	position: relative;
	top: 10px;
	left: 10px;
	box-shadow: none;
}

.apply-subtitle {
	color: #888;
}

.section-tracks {
	background-color: #EEEEEE;
}

.subtitle {
	color: #000;
	text-align: center;
	line-height: 1.4;
	font-style: italic;
}

.subtitle u {
	text-decoration-style: double;
	text-decoration-thickness: 1px;
}

.highlight-rainbow {
	background: linear-gradient(to right, #85B899, #BCBC8B, #B297B7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.challenge-categories {
	display: flex;
	justify-content: space-between;
	padding: 7vw 0 0 0;
}

.category {
	text-align: center;
	flex-basis: 22%;
	color: #1F1F1F;
	font-family: 'vcr';
	text-transform: uppercase;
	line-height: 0.9;
}

.category img {
	max-width: 12vw;
}

.category-name {
	font-weight: 700;
	margin-top: 2vw;
}   

.category-plus {
	color: #8C878A;
}

.category-1 .category-plus {
	color: #B297B7;
}

.category-2 .category-plus {
	color: #85B899;
}

.category-3 .category-plus {
	color: #B2B279;
}

.subtitle-nodes {
	margin: 8vw 0 -8vw 0;
	position: relative;
	z-index: 2;
}

.nodes-map {
	text-align: center;
	padding-bottom: 5vw;
}

.subtitle-prizes {
	
}

.highlight-green {
	color: #85B899;
}

.prizes {
	padding: 5vw 0 8vw 0;
}

.prizes-grid {
	display: grid;
	grid-column-gap: 9vw;
	grid-row-gap: 9vw;
}

.prize-name {
    font-family: 'vcr';
	font-weight: 700;
	line-height: 0.9;
}

.prize-desc {
	color: #8C868A;
}

.prize-desc a { 
  border-bottom: 1px solid;
  color: #57926E;
}

.prize-name .highlight-green::after {
	content: "";
	display: block;
}

.faq-but {
	color: #888;
	width: 26ch;
	margin: 9vw auto 5vw auto;
}

.faq .tilde { 
	position: relative;
	top: 0.4em;
}

.faq p {
    margin-bottom: 10px;
}

.faq .highlight {
	color: #000;
	font-style: italic;
}

.faq-ellipsis {
	color: #aaa;
	font-size: 2vw;
	line-height: 2;
}

.faq-cta,
.faq-ellipsis {
	text-align: center;
}

.faq-cta {
	padding: 2vw 0 10vw 0;
}

.faq-square-2 {
	color: #999;
}

.faq-square-3 {
	color: #888;
}

.faq-square-4 {
	color: #666;
}

.faq-square-5 {
	color: #444;
}

.faq-square-6 {
	color: #222;
}

.faq-square-7 {
	color: #000;
}



.section-lastyear {
	background-color: #eee;
}

.title-lastyear {
	text-align: center;
}

.lastyear-winners {
	padding: 3vw 0 0 0;
	grid-template-columns: 1fr 1fr 1fr;
	grid-column-gap: 9vw;
	line-height: 1.3;
}

.winner-logo {
	padding: 2vw 0;
}

.winner-team {
	font-weight: 700;
}

.winner-desc {
	color: #666;
}



.section-partners {
	
}

.partners {
	text-align: center;
}

.partner-logos {
	display: flex;
	justify-content: space-around;
	align-items: center;
	flex-wrap: wrap;
	margin: 0 2vw 8vw 2vw;
}

.partner {
	padding: 2vw;
}

.partner img {
	width: auto;
	height: 4vw;
}

.partner-10 img,
.partner-11 img {
	height: 2.5vw;
}

.cooperation-text {
	position: relative;
	top: -6vw;
}

.cooperation-text img {
	max-width: 50vw;
}

.apply-bottom .button {
	background-color: #B297B7;
}






.section-timeline {
	padding: 8vw 0 10vw 0;
	background: #eee;
}

.timeline {
	display: flex;
	justify-content: center;
}

/* Timeline: CSS */


.rw-tl {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  display: grid;
  grid-template-columns: var(--date-w) var(--mid) minmax(20ch, 25ch);
  row-gap: var(--gap-y);
  position: relative;
}

/* vertical rail (full height) */
.rw-tl::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: calc(var(--date-w) + (var(--mid) / 2) - (var(--rail-w) / 2));
  width: var(--rail-w);
  background: #D2D0D1;
}

/* an item is a 3-column row */
.rw-tl__item { display: contents; } /* allows grid children to align per row without extra wrappers */

/* left date block */
.rw-tl__date {
  grid-column: 1;
  align-self: center;
  text-align: right;
  line-height: 1.1;
  white-space: nowrap;
}
.rw-tl__date .dow {
  font-style: italic;
  opacity: .45;
  letter-spacing: .04em;
  margin-right: .5ch;
}
.rw-tl__date .mon { letter-spacing: .08em; margin-right: .5ch; }
.rw-tl__date .day { font-weight: 700; }
.rw-tl__date .dash {
  display: block;
  position: relative;
  right: 1ch;
}

/* middle: short cross-bar (tick) */
.rw-tl__rail { grid-column: 2; position: relative; height: 48px; align-self: center; }
.rw-tl__tick {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: var(--tick-w);
  height: var(--tick-h);
  background: #D2D0D1;
  display: inline-block;
}

/* right text */
.rw-tl__content { grid-column: 3; align-self: center; }
.rw-tl__content p { margin: 0; max-width: 46ch; }

/* links look like in your mock (plain underline, darker after hover focus) */
.rw-tl__content a { 
  border-bottom: 1px solid;
  color: #57926E;
}
.rw-tl__content a:focus, .rw-tl__content a:hover { 
  border-bottom: 3px solid;
}











/* Footer */

#footer {
	padding: 5vw;
}

.site-footer {
    background-color: #1F211F;
    color: #ddd;
    padding: 20px 0;
}

.footer-tagline {
	opacity: 50%;
	margin-bottom: -5vw;
}

.footer-bottom {
	color: #ccc;
	display: flex;
	position: relative;
	z-index: 2;
}

.footer-menu {
	flex: 1 0 auto;
	text-align: right;
}

.footer-bottom a {
	color: #ddd;
    text-decoration: none;
	border-bottom: 1px solid;
}

.footer-bottom a:hover {
	border-bottom: 4px solid;
	color: #fff;
}

.footer-nav a {
    margin: 0 0 0 20px;
}








/* Smaller mobile screens */
@media screen and (min-width: 10em) {
	
	body {
		font-size: 3vw;
	}
	
	h1 {
		font-size: 9vw;
	}
	
	.logo {
		max-width: 41.5vw;
	}
	
	.logo img {
		width: 100%;
	}
	
	.event-date {
		
		
	}
	
	.container {
		max-width: none;
		margin: 0 5vw;
	}
	
	.section-atf {
		position: relative;
		background-position: right -20vw center;
	}
	
	.hero-animation {
		background-position: -10vw center;
	}
	
	.subtitle {
		font-size: 4vw;
	}
	
	.apply-subtitle {
		padding: 2vw 0 5vw 0;
		font-size: 3vw;
	}
	
	.atf-content {
		padding: 7vw 0 7vw 7vw;
	}
	
	.apply-top {
		margin: 5vw 0 -16vw 0;
	}
	
	.button {
		font-size: 6vw;
		margin-bottom: 10px;
	}
	
	.section-tracks {
		padding: 22vw 0 10vw 0;
	}
	
	.category {
		font-size: 3vw;
		padding: 5vw 0;
	}
	
	.prize-name {
		text-align: center;
		padding: 4vw 0;
		font-size: 5vw;
	}
	
	.prize-desc {
		max-width: 24ch;
		margin: 0 auto;
	}
	
	.rw-timeline { 
	  --rail-w: 10px;
	  --tick-h: 10px;
	  --tick-w: 30px;
	  --date-w: 14ch;
	  --mid: 15vw;
	  --gap-y: 10vw;
	  padding: 0 0 10vw 0;
	}
	
	.lastyear {
		padding: 20vw 0 10vw 0;	
	}
	
	.lastyear-winner {
		padding: 10vw;
	}
	
	.title-lastyear {
		font-size: 10vw;
	}
	
	.winner-team {
		padding: 0 0 5vw 0;
	}
	
	.faq {
		font-size: 5vw;
	}
	
	.apply-bottom .apply-button {
		margin: -7.5vw 0;
	}
	
	.footer-tagline {
		margin-top: 25vw;
	}
	
}


/* Small laptops and large tablets - 1024px and wider */
@media screen and (min-width: 64em) {
	
	body {
		font-size: 1.4vw;
	}
	
	h1 {
		font-size: 6vw;
	}
	
	.logo {
		max-width: 32.5vw;
	}
	
	.logo img {
		width: 28vw;
	}
	
	.container {
		max-width: 80%;
		margin: 0 auto;
	}
	
	.section-atf {
		background-position: right center;
	}
	
	.atf-content {
		padding: 5vw 0 5vw 10vw;
	}
	
	.hero-animation {
		background-position: right center;
	}
	
	.subtitle {
		font-size: 1.8vw;
		padding: 0 10%;
	}
	
	.apply-subtitle {
		padding: 2vw 0;
		font-size: 1.5vw;
	}
	
	.event-date {
		font-size: 1.5vw;
	}
	
	.apply-top {
		margin: 5vw 0 -8.5vw 0
	}

	.button {
		font-size: 4vw;
		margin-bottom: 0;
	}
	
		
	.subtitle u {
		text-decoration-thickness: 2px;
	}
	
	.section-tracks {
		padding: 16vw 0 8vw 0;
	}
	
	.category {
		font-size: 2vw;
		padding: 0;
	}
	
	.prizes-grid {
		grid-template-columns: 1fr 1fr 1fr;
	}
	
	.prizes {
		
	}
	
	.prize-name {
		text-align: left;
		padding: 0 0 2vw 0;
		font-size: 3vw;
	}
	
	.prize-desc {
		padding: 0;
		margin: 0;
		max-width: none;
	}
	
	
	.rw-timeline { 
	  --rail-w: 20px;
	  --tick-h: 20px;
	  --tick-w: 60px;
	  --date-w: 14ch;
	  --mid: 10vw;
	  --gap-y: 6vw; 
	  padding: 0;
	}
	
	.lastyear-winner .prize-name {
		text-align: left;
	}
	
	.lastyear {
		padding: 8vw 0;	
	}
	
	.title-lastyear {
		font-size: 6vw;
	}
	
	.lastyear-winner {
		padding: 0;
	}
	
	.lastyear-winners {
		display: grid;
	}
	
	.winner-team {
		padding: 0 0 1vw 0;
	}
	
	.faq {
		font-size: 3vw;
	}
	
	.apply-bottom .apply-button {
		margin: -2.5vw 0;
	}
	
	.footer-tagline {
		margin-top: 15vw;
	}
	
}