@font-face {
	font-family: mont;
	src: url(Montserrat-Light.ttf);
}
@font-face {
	font-family: title;
	src: url(monopol.ttf);
}
body {
	margin: 0;
	background: #000026;
	font-family: title;
}
a {
	text-decoration: none;
	color: white;
}
i {
	border: solid rgb(255,255,255,0.5);
	border-width: 0 0.3vh 0.3vh 0;
	padding: 1.5vh;
	font-size: 0;
	transform: rotate(45deg) translate(-50%, 0);
	text-align: center;
	left: 50%;
	position: fixed;
	z-index: 0;
	transition: 0.4s;
	animation: arrow 1.5s ease-in-out infinite, logoappear 4s ease-in;
}
img {
	width: 100%;
	transition: 0.4s;
}
nav {
    position: fixed;
    z-index: 2;
    height: 100vh;
    width: 100vw;
    background: rgb(245, 142, 133, 0.9);
    backdrop-filter: blur(10px);
    top: 0;
    left: -100vw;
    font-family: mont;
    font-size: 4vh;
    color: white;
    padding: 16vh 4vh;
    box-sizing: border-box;
	text-align: right;
	transition: 0.4s; 
}
nav a {
	display: block;
	padding-bottom: 4vh;
	transition: 0.4s; 
}
#navBtn {
	display: none;
}
#navBtn:checked + label > svg {
	left: 90vw;
	transform: rotate(225deg);
}
#navBtn:checked + label > my-nav nav {
	left: 0;
}
#wrap {
	height: 100dvh;
	overflow-y: auto;
	overflow-x: hidden;
	scroll-behavior: smooth;
	scroll-snap-type: y proximity;
}
#wrap > div {
	scroll-snap-align: start;
}
#logoBox {
	width: 100%;
	height: 110vh;
}
#logo {
	display: block;
	width: 25vh;
	top: 30vh;
	left: 50%;
	transform: translate(-50%, 0);
	position: fixed;
	z-index: 1;
	animation: logoappear 2s ease-in-out;
}
#rainbow, #welcome, #portfolio, #contact, #deco1, #deco2, #deco3 {
	position: relative;
	z-index: 2;
}
#rainbow div, #deco1, #deco2, #deco3, #deco4 {
	width: 100%;
	height: 30vh;
	margin-top: -10vh;
	font-size: 15.7vw;
	line-height: 20vh;
	overflow: hidden;
	animation: linear bottom-in;
	animation-timeline: view();
	cursor: default;
}
#deco4 {
	animation: linear bottom-in-special;
	animation-timeline: view();
	position: relative;
	z-index: 0;
}
#fixme {
	height: 20vh;
    background: #000026;
	background-image: url('/graphic/svg/menu.svg');
    z-index: 1000;
    position: relative;
}
#welcome {
	width: 100%;
	height: 100svh;
	color: #000026;
	font-family: mont;
	background: #f5bc70;
	overflow-x: scroll;
}
#pinwrapSticky {
	width: fit-content;
}
#pinwrapSticky::before {
	content: '';
	position: sticky;
	top: 0;
	left: 0;
	background: white;
	display: block;
	z-index: 100;
	height: 1vh;
	width: 0;
	margin-bottom: -1vh;
	animation: scroll-pos linear;
	animation-timeline: scroll(x);
}
#horBox {
	height: 100svh;
	width: fit-content;
	box-sizing: border-box;
	display: flex;
}
.horWrap {
	height: 100%;
	display: grid;
	grid-template-columns: 50vw 100vw 50vw;
}
.horTit {
	writing-mode: sideways-lr;
	background: #964b71;
	color: white;
	font-size: 10vh;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: title;
}
.horCont {
	background: #c8697d;
	color: white;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	box-sizing: border-box;
	padding: 5vh;
	text-align: right;
	font-size: 5vh;
}
.horImg {
	overflow: clip;
}
.horImg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
    object-position: 100% 0;
	animation: adjust-image linear both;
    animation-timeline: view(x);
}
.news {
	background: #000026;
	color: white;
	writing-mode: sideways-lr;
	text-align: center;
	font-size: 10vh;
	line-height: 5vh;
	height: 100%;
	width: 100%;
}
#portfolio {
	overflow: hidden;
}
#portfolio div {
	width: 33.3%;
	height: 33.3vw;
	float: left;
	animation: linear bottom-in;
	animation-timeline: view();
	overflow: hidden;
}
#portfolio div::after {
	content: url("../graphic/svg/flair.svg");
	width: 100%;
	display: block;
	padding: 5vh;
	box-sizing: border-box;
	opacity: 0;
	animation: bright 3s linear infinite;
}
#portfolio div:nth-child(4)::after, #portfolio div:nth-child(16)::after, #portfolio div:nth-child(28)::after {
	animation-delay: 0.5s;
}
#portfolio div:nth-child(6)::after, #portfolio div:nth-child(18)::after, #portfolio div:nth-child(30)::after {
	animation-delay: 1s;
}
#portfolio div:nth-child(8)::after, #portfolio div:nth-child(20)::after {
	animation-delay: 1.5s;
}
#portfolio div:nth-child(10)::after, #portfolio div:nth-child(22)::after {
	animation-delay: 2s;
}
#portfolio div:nth-child(12)::after, #portfolio div:nth-child(24)::after {
	animation-delay: 2.5s;
}
#portfolio .img-box::after, #portfolio a #morePort::after {
	content: '';
}
#morePort {
	background: #000026;
	padding-left: 2vh;
}
#morePort span {
	font-size: 10vh;
	font-family: mont;
	display: block;
    float: left;
	line-height: 18vh;
}
#contact {
	background: #c3cddf;
	width: 100%;
	height: 100svh;
	color: #000026;
	border-bottom: 10vh solid #c3cddf;
}
#contact span {
	font-size: 6vh;
	text-align: center;
	display: block;
	position: absolute;
	bottom: 5vh;
	color: white;
	animation: ease-in-out fade-in, linear bottom-in;
	animation-timeline: view();
}
#redes {
	width: 10vh;
	margin: auto;
	padding-top: 20vh;
}
#redes svg {
	margin-top: 5vh;
	animation: ease-in-out fade-in, linear left-in;
	animation-timeline: view();
}
#modal {
	display: none;
	width: 100%;
	height: 100svh;
	background: rgb(0,0,38,0.9);
	position: fixed;
	backdrop-filter: blur(10px);
	top: 0;
	z-index: 3;
	animation: modalIn 0.3s ease-out;
}
#desc {
	color: white;
	font-family: mont;
	font-size: 2.5vh;
	padding: 3vh;
	overflow: auto;
    height: calc(100svh - 100vw);
    box-sizing: border-box;
}
#close {
	position: fixed;
    right: 0;
    top: 0;
    font-size: 3vh;
    width: 3vh;
    height: 3vh;
    background: red;
    text-align: center;
    color: white;
    padding: 1vh;
    line-height: 3vh;
	opacity: 0.5;
}
.descTitle {
	font-size: 4vh;
	padding-bottom: 2vh
}
p, .descDesc, .descTitle div {
	font-size: 2.5vh;
	margin: 0;
}
.descDesc span, .descTitle div {
	color: #c8697d;
}
#modal svg {
	width: 5vh;
	display: inline-block;
	padding: 0 2vh 2vh 0;
	transition: 0.4s;
}
.symbols, #lang1, #lang2 {
	width: 5vh;
	position: fixed;
	bottom: 2vh;
	cursor: pointer;
	z-index: 3;
	opacity: 0.8;
	transition: 0.4s;
}
.symbols {
	color: white;
	animation: logoappear 4s ease-in;
	z-index: 2;
}
#lang1, #lang2 {
	right: 2vh;
	opacity: 0;
	transition: opacity 0.3s ease-in-out, bottom 0.3s ease-in-out, transform 0.1s ease-in-out;
}
.active {
	transition: transform 0.1s ease-in-out;
}
.active:active {
	transform: scale(0.9);
}