@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700&family=Outfit:wght@100..900&display=swap');
:root{
    --body-font: "Outfit", sans-serif;
    --peach: #fff5f0;
    --orange: #f9a620;
}
@font-face {
    font-family: "Epilogue";
    src: url("/font/Epilogue-VariableFont_wght.ttf");
}
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--body-font);
    color: var(--orange);
}
*::selection{
    background: var(--orange);;
    color: var(--peach);
}
body{
    background: var(--peach);
    color: var(--orange);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 26px;
    text-underline-offset: 0.18em;
}
header{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 60px;
    padding-bottom: 20px;
		backdrop-filter: blur(20px);
		position: sticky;
		top: -50px;
		background: rgb(255,245,240);
		background: linear-gradient(180deg, rgba(255,245,240,1) 85%, rgba(255,0,0,0) 100%);
		/* opacity: 0;
		transition: opacity 0.3s 3s ease-in; */
		z-index: 10;
}
header:hover{
	opacity: 1;
	transition: opacity 0.3s 0s ease-in;
}


.nav{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    list-style: none;
    text-align: center;
    gap: 40px;
    margin-left: 44px;
    user-select: none;
    font-size: 30px;
}
.navitem{
    margin-top: 5px;
    border-radius: 20px;
    transition: all ease 0.2s;
}
.navitem:hover{
    transform: translate(0, -3px);
    box-shadow: 0 30px 80px -10px var(--orange);
}
.navitem:active{
    transform: translate(0, 3px);
    box-shadow: inset 0 5px 10px 1px var(--orange);
}
.navitem a{
    text-decoration: none;
    position: relative;
}


li{
    cursor: pointer;
    padding: 15px 30px;
}
.content{
    flex: 1 0 auto;
}
section{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-evenly;
	height: 100vh;
	max-width: 1080px;
	margin: auto;
}
iframe{
	width: 90vw;
	height: 51vw;
	max-height: 80vh;
	margin-bottom: 5vw ;
}
section.second{
	background-color: var(--orange);
	flex-direction: row;
	flex-wrap: wrap;
	max-width: unset;
}

section.mini{
	height: unset;
	h1{
		margin-bottom: 10px;
	}
}

.img-container{
	/* background: #222; */
	color: var(--peach);
	position: relative;
	height: 320px;
	width: 320px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 10px;
	.img-bg{
		background-image: url("https://loremflickr.com/320/320");
		height: 320px;
		width: 320px;
		filter: brightness(0.3);
		transition: all 0.3s;
		cursor: pointer;
		max-width: 100%;
		
		position: absolute;
		top:0;
		z-index: 0;
	}
	.img-text{
		z-index: 10;
	}
	.img-bg:hover{
		/* opacity: 0.5; */
		filter: brightness(0.6)
	}
}

.subheader{
    text-align: center;
    line-height: 1.5em;
}
.splashlogo{
    width: 300px;
}
.instagram{
    display: block;
    width: 50px;
}
.instagram:hover{
    animation-timing-function: ease;
    animation: shaking 0.3s;
}

@keyframes shaking{
    0% {transform:rotate(0deg);}
    15% {transform:rotate(-3deg);}
    30% {transform:rotate(0deg);}
    50% {transform:rotate(5deg);}
    65% {transform:rotate(0deg);}
    80% {transform:rotate(-7deg);}
    100% {transform:rotate(0deg);}
}

#cv-container{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	width: 100%;
	gap: 10px;
	padding: 10px;
	min-height: 75vh;
}

.card{ 
	background-color: rgb(255,245,240);
	background-color: var(--peach);
	padding: 15px;
	border-radius: 10px;
	text-align: center;
	&:nth-child(1){ 
		grid-column: 1 / 3;	
	}

	&:nth-child(5){ 
		grid-column: 2/4;	
	}

	h3{
		margin-bottom: 20px;
	}
	p{
		font-size: 20px;	
	}
	&.smol{
		p{
			font-size: 17px;
		}
	}
}
.identity.card{
	display: flex;
	flex-direction: row;
	padding: 0;
	min-height: 150px;
	>*{
		text-align: left;
		width: 50%;
		padding: 15px;
		border-radius: 10px 0px 0px 10px;
	}
	.text-container{
		position:relative;
	}
	.bottom{
		position: absolute;
		bottom: 20px;
	}
	
}
.profile-pic{
	background: center/contain no-repeat url("/img/PROFILE CROP.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}





@media only screen and (max-width:1080px) {
	p{
		font-size: 15px !important;
	}
}


@media only screen and (max-width:840px) {
	body{	
		font-size: 18px;
	}
	#cv-container{
		grid-template-columns: 1fr 1fr;
	}
	.card{ 

		&:nth-child(1){ 
			grid-column: 1 / 3;	
		}
		&:nth-child(5){ 
			grid-column: 2 / 3;	
		}
	
		&:nth-child(6){ 
			grid-column: 1 / 3;	
		}
	}
	.nav{
		width: 100%;
		margin-left: 0;
	}
	section{
		min-height: 65vh;
		height: unset;
	}

	/* p{
		font-size: 12px !important;
	} */
	header{
			justify-content: center;
	}
	.splashlogo{
			width: 200px;
	}
	.instagram{
			display: none;
	}
	.identity.card{
		width: 100%;
	}
	
}
@media only screen and (max-width:579px) {
	body{	
		font-size: 16px;
	}
	.card p{
		font-size: 14px !important;
	}
	.nav{
			margin-left: 0;
			gap: 0;
			.navitem {
				padding: 15px;
				a{
				font-size: 0.5em;
			}
		}
	}
}