@import url('https://fonts.googleapis.com/css2?family=Rubik+Doodle+Shadow&display=swap');

h1{
	font-size: 4em;
	display: flex;
	align-items: center;
	font-family: 'Rubik Doodle Shadow';
	text-align: center;
	color: white;
}

html,body {
    padding: 0;
    margin: 0;
    /* display: flex; */
    /* align-items: center; */
    /* justify-content: center; */
    font-family: 'Comfortaa', sans-serif;
    position: relative;
    max-width: 100%;
}

html {
    width: 100vw;
    position: relative;
    background: rgb(2,0,36);
    background: linear-gradient(131deg, rgba(2,0,36,1) 0%, rgba(22,92,107,1) 100%);
}

iframe {width: 559px;border-radius: 1em;box-shadow: 0 0 20px 8px #00000021;border: none;margin-bottom: 1em;background: white;max-width: 100%;}


textarea#feedback {
    width: 100%;
    height: 200px;
    box-shadow: 0 0 6px 1px #00000021;
    transition: 0.2s;
}

main {
    width: 90%;
    margin: 0.5em;
    padding: 2em 1em;
    box-shadow: 0 0 6px 1px #00000021;
    border-radius: 1em;
    background-color: #ffffff96;
    max-width: 600px;
}

button {
    border: 0;
    margin-top: 1em;
    padding: 0.5em 2em;
    font-family: inherit;
    font-size: 1em;
    border-radius: 0.5em;
    cursor: pointer;
    transition: 0.2s;
    background: #ff4f6e;
    width: fit-content;
    color: white;
}

button:hover {
    transform: scale(1.05);
}

textarea {
    border-radius: 0.5em;
    padding: 1em 0.5em;
    border: 0;
}

#feedback-container {
    display: flex;
    flex-direction: column;
    align-items: end;
    position: relative;
}

body {
    flex-direction: column;
    /* width: 1200px; */
    max-width: calc(100% - 1em);
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#nbrday sup {
    margin: 0 0.5em 0 0.1em;
    font-size: 0.6em;
    margin-top: -1em;
}

baseline {
    color: white;
    line-height: 1.3em;
    opacity: 0.95;
    /* letter-spacing: 0.01em; */
    padding: 0.5em;
    width: 600px;
    max-width: calc(100vw - 3em);
}

main baseline {
    padding: 1em 0.5em;
    font-size: 0.95em;
    font-style: italic;
    color: black;
    text-align: center;
    width: 100%;
}

#me {
    width: 100px;
    height: 100px;
    margin: auto;
    border-radius: 50%;
    box-shadow: 0 0 6px 1px #00000021;
}

article {
    display: flex;
    flex-direction: column;
    width: 90%;
}

.hide {
    display: none;
}

#nbrday {
    display: flex;
    /* flex-direction: column; */
}

@media (max-width: 600px){
	#nbrday {
		font-size:2em;
	}
}

a.back-arrow {
    position: absolute;
    text-decoration: none;
    color: white;
    font-size: 2.25em;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    padding-right: 3px;
    left: 1em;
    top: 0.25em;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 0 2px 0px #0000002e;
    background: linear-gradient(131deg, rgba(2,0,36,1) 0%, rgb(9 58 69) 100%);
}

a.back-arrow:hover {
    transform: scale(1.1);
    box-shadow: 0 0 6px 0px #00000014;
}

textarea#feedback:focus {
    outline: none;
    box-shadow: 0 0 20px 8px #00000021;
    transform: scale(1.01);
    border: 0.5px solid #ff4f6e;
}

.blury_by_design {
    animation: blurry-text 7s infinite;
}

@keyframes blurry-text {
    0%, 50%, 100% {        text-shadow: none;    }
    25% {        text-shadow: -1px -1px 5px rgb(255 255 255);    }
    75% {        text-shadow: 1px 1px 5px rgb(255 255 255);    }
}

html {
    width: 100vw;
    position: relative;
    background: rgb(2,0,36);
    background: linear-gradient(131deg, rgba(2,0,36,1) 0%, rgba(22,92,107,1) 100%);
    color: ghostwhite;
}

section {border-top: solid 2px white;margin-top: 1em;padding-top: 0;line-height: 1.5em;padding: 1em;padding-top: 0.75em;width: 600px;max-width: calc(90vw - 2em);}

a {
    color: aquamarine;
    text-underline-offset: 3px;
}

h3 {
    margin: 0.2em 0;
}

textarea.embeded {
    background: #ffffff59;
    color: white;
}

section.projects img {
    max-width: 100%;
    box-shadow: 0 0 2px #00000030;
    border-radius: 0.4em;
    min-width: 100%;
    max-height: 200px;
    min-height: 100px;
    background: #747474;
    filter: saturate(1);
}

section.projects {
    position: relative;
    transition: all 0.1s;
    border: none;
    cursor: pointer;
    width: 400px;
}

section.projects h3 {
    background: white;
    width: max-content;
    color: black;
    padding: 0.5em 1em;
    border-radius: 1em;
    position: absolute;
    top: 0.2em;
    left: -0.5em;
    box-shadow: 0 0 3px #0000002e;
    transition: 0.1s;
}

#feedback_container textarea {
    height: 5em;
}

span.hashtag_elem {
    text-decoration: none !important;
    border: none !important;
    font-style: italic;
    margin-right: 0.5em;
}

section.projects:hover {
    transform: scale(1.02);
}

section.projects:hover h3 {
    top: 0.5em;
    left: -1em;
}

.projects .hashtags {
    text-align: right;
}

span.hashtag_elem::before {
    content: "#";
}

.projects_container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 99%;
    font-size: 0.8em;
}


@media (max-width: 600px){
	section.projects{
		margin-top:1em;
	}
    section.projects h3 {
        font-size: 0.8em;
    }
}

video, img {
    max-width: 100%;
}

div.gallery {
    display: flex;
}

div.gallery figure {
    margin: 0.25em;
}

figcaption {
    /* text-align: left; */
    margin-top: 0.5em;
    /* border-left: 3px white solid; */
    margin-left: 1em;
    padding-left: 1em;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 1000; /* Ensures the lightbox is above all other content */
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    transition: transform 0.5s; /* Smooth zoom transition */
}

.lightbox.visible {
    display: flex;
    opacity: 1;
}

section.footer {
    margin-bottom: 5em;
}

a.back {text-decoration: none;}