/* This website has been recreated without the usage of AI*/

* {
	box-sizing: border-box;
    -ms-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

html, body, div, h1, h2, h3, h4, h5, h6, p, a, img, ul, li {
	font-family: sans-serif;
  	font-weight: 400;
  	font-style: normal;
	color: #000000;
	margin: 0;
	padding: 0;
}


h1 {font-size: clamp(5rem, calc(.5em + 10.2vh), 8.5rem); }

h2 {font-size: clamp(4rem, calc(.5em + 7.2vh), 6rem); }

h3 {font-size: calc(.5em + 2.2vh); }

h4 {font-size: calc(.5em + 1.8vh); }

h5 {font-size: calc(.5em + 1.2vh); }

h6 {font-size: calc(.5em + 1vh); }

span {font-size: 2vh; }

p {font-size: 2vh; }

html {
	background-color: #ffffff;
	padding: 0px;
    height: 100%;
}

body {
    height: 100%;
}

.smallerh2 {
    font-size: calc(.5em + 3.2vh);
}

/* SKILLS CAROUSEL 
Credits: https://www.youtube.com/watch?v=KD1Yo8a_Qis
*/
.outer-skills-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    margin-bottom: 25px;
}

.skills-carousel {
    width: 80%;
    display: flex;
    padding-top: 20px;
    padding-bottom: 20px;
    overflow-x: auto;
}

@media (min-width:1200px) {
    .skills-carousel {
        width: 50%;
    }
}

.skills-carousel::-webkit-scrollbar {
    display: none;
}

.skills-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;

    animation: spin 25s infinite linear;
    padding-right: 1em;
}

.skill {
    height: 5em;
    width: auto;
    border-radius: .2em;
    align-content: center;
    padding-left: 10px;
    padding-right: 10px;
}

.skill img {
    height: 100%;
}

@keyframes spin {
    from {
        translate: 0;
    }

    to {
        translate: -100%;
    }
}

/* INDIV PROJECT PAGES*/

.project-in-depth-page {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0px 20px 0px 20px;
}

.project-in-depth-container {
    width: 50%;
    padding: 20px;
    border: 1px solid black;
}

.proj-mini-heading {
    padding-top: 15px;
}

.project-images-big{
    width: 100%;
    height: auto;
    padding: 10px;

    display: flex;
    justify-content: center;
}

.project-images-big img {
    width: 60%;
}

.project-images-very-big{
    width: 100%;
    height: auto;
    padding: 10px;

    display: flex;
    justify-content: center;
}

.project-images-very-big img {
    width: 90%;
}

.proj-pdf {
    width: 80%;
    height: 90vh;
}

.proj-pdf-little {
    width: 80%;
    height: 50vh;
}

.project-back-btn h3 {
    padding-left: 20px;
}

.project-back-btn:hover {
    text-decoration: underline;
    text-underline-offset: 8px
}

/* MAIN PAGE CONTAINER */

.right-sidebar, .left-sidebar, .one-page {
    height: 50%;
    display:flex;
    flex-wrap:wrap;
}

.right-sidebar > *, .left-sidebar > * {
    width:100%;
}

@media (min-width:1200px) {
    .right-sidebar > *:nth-child(1) {
        width:calc(100% / 3 * 2);
    }

    .right-sidebar > *:nth-child(2) {
        width:calc(100% / 3);
    }

    .left-sidebar > *:nth-child(1) {
        width:calc(100% / 3);
    }

    .left-sidebar > *:nth-child(2) {
        width:calc(100% / 3 * 2);
    }

    .right-sidebar {
    height: 90%;
    display:flex;
    flex-wrap:wrap;
    }
}

/* WHY, HELLO*/

.helloblock {
    height: 100%;
    display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 20px;
	vertical-align: middle; 
}

.helloblock h1, .helloblock h2{
    color: #022b3a;
}

.hellopfp {
    display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 20px;
}

.hellopfp img {
    float: right;
    width: 100%;
}

.hellopfp h4, .hellopfp h5, .hellopfp h6 {
    float: right;
    color: #022b3a;
}

/* CONTACT */

.contact-all-items {
	display: flex;
	flex-wrap: wrap;
	align-items: left;
}

.contact-item {
	display: flex;
	flex-wrap: wrap;

	padding: 10px;
	margin-left: 10px;
	font-size: clamp(2rem, calc(.5em + 4.2vh), 4rem);;
}

.contact-item a {
	color: #022b3a;
}

.contact-item a:hover {
	transform: scale(1.05);
}

/* 
NAVBAR 
CREDIT: https://www.w3schools.com/howto/howto_css_dropdown_navbar.asp
*/

.navbar {
    padding-top: 10px;
    padding-right: 20px;
    overflow: hidden;
}

.navbar a {
    float: right;
    font-size: calc(.5em + 2.7vh);
    color: #022b3a;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.dropdown {
    float: right;
    overflow: hidden;
}

.dropdown .dropbtn {
    font-size: calc(.5em + 2.7vh);
    border: none;
    outline: none;
    color: #022b3a;
    padding: 14px 16px;
    background-color: inherit;
    /* Following is important for vertical align on mobile phones */
    font-family: inherit; 
    margin: 0;
}

.navbar a:hover, .dropdown:hover .dropbtn {
    text-decoration: underline;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

hr {
    width: 98%;
    height: calc(.5em + 0.25vh);
    color: #022b3a;
    background: #022b3a;
    font-size: 0;
    border: 0;
}

.page-title{
    font-size: calc(.5em + 3.3vh);
}

/* PROJECT GRID STUFF 
Credits: https://youtu.be/3T0gjtXRNC0?si=m2yIFYsfb0kiGzGE
*/

.projects {
    width: 100%;
    height: auto;
}

.projects-container {
    width: 100%;
    height: auto;
    display: grid;
	grid-template-columns: repeat(auto-fit, minmax(30em, 1fr));
	gap: 20px;
	padding: 20px;
}

.graphics-container {
    width: 100%;
    height: auto;
    display: grid;
	grid-template-columns: repeat(auto-fit, minmax(30em, 1fr));
	gap: 20px;
	padding: 20px;
}

.project-title {
    padding: 5px;   
    display: inline;
}

.project-title.pink {
    background-color:rgba(255, 0, 140, 0.5); 
}

.project-title.purple {
    background-color:rgba(111, 9, 179, 0.5); 
}

.project-title.blue {
    background-color:rgba(0, 204, 255, 0.5); 
}

.project-title.green {
    background-color:rgba(36, 180, 0, 0.5); 
}

.project-title.yellow {
    background-color:rgba(255, 230, 0, 0.5); 
}

.project-subtitle {
    padding: 10px;
    font-style: italic;
    color: #707070;
}

.project-link {
    padding-top: 10px;
}

.pre-projects-intro {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 30px 20px 10px 20px;
}

.projects-introduction {
    width: 50%;
    padding: 20px;
}

@media (max-width: 1500px) {
    .project-in-depth-container {
        width: 100%;
        padding: 20px;
    }
    
    .projects-introduction {
        width: 100%;
        padding: 20px;
    } 
}

.project-card {
	padding: 20px;
	background-color: #ffffff;
    border-radius: 2px;
    border: 2px solid #000000;
	text-align: center;
}

.project-card:hover {
	transform: scale(1.02);
}

.graphics-card {
	padding: 20px;
	background-color: #ffffff;
    border-radius: 2px;
    border: 2px solid #000000;
	text-align: center;
}

.graphics-card:hover {
	transform: scale(1.02);
}

.project-timeframe {
    padding-top: 15px;
}

.project-tags {
    padding-top: 10px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.project-tags span {
	white-space: nowrap;
	padding:5px;
	margin: 5px;
	border-radius: 5px;
	background-color: #ffffff;
    border: 1px solid black;
    box-shadow: -5px 5px 5px #b4b4b4;
}

.project-images {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	justify-content: center;
}

.project-images img {
	width: 50%;
	height: auto;
	border-radius: 5px;
}

.graphics-images {
    display: flex;
}

.graphics-images img{
	width: auto;
	height: 250px;
	/* border: 1px solid #000000;*/
	background: #ffffff;
}

.otd-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-img {
    width: 100%;
}

.otd-img {
    width: 80%;
}

.single-img img {
    width: 100%;
    height: auto;
}

.otd-img img {
    width: 100%;
    height: auto;
}

.project-overview {
	padding: 10px;
	margin-top: 10px;
	border-radius: 5px;
}

/* PENGUINS PAGE */

.penguins {
	max-width: 50%;
	max-height: 50%;
	width: auto;
	
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 0 auto;
	padding: 20px;
}

.penguins img {
	width: 100%;
}

.tenor-gif-embed {
	data-width: "50%";
}

.hobby {
    padding: 10px;
}

.hobby span {
    padding: 10px;
    display: none;
}

h4:hover span{
    display: block;
}

@media (max-width: 1500px) {
    .penguins {
		max-width: 100%;
		max-height: 100%;
	}
}