/**
  * Theme Name: Cristiano De Luca
  * Description: Another Syrus Child Theme
  * Author: Syrus
  * Template: syrus
  * Version: 0.0.1
  */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html * {
  	font-family: Inter;
  	color: white;
}

html, body {
  	background-color: rgb(var(--bs-dark-rgb)) !important;
}

body {
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
}

#main-topnav .navbar-brand {
	font-weight: 900;
	font-family: Playfair Display;
	font-size: 2rem;
	letter-spacing: 1px;
	position: relative;
}

#main-topnav .navbar-brand::after {
	position: absolute;
	content: "";
	height: 4px;
	width: 20%;
	border-radius: 10px;
	background-color: white;
	left: 0;
	bottom: 0;
}

.hero-section h2 {
	background: linear-gradient(90deg, #55ddff, #ffffff); /* Gradiente lineare da sinistra a destra */
    -webkit-background-clip: text; /* Ritaglio del background per il testo */
    -webkit-text-fill-color: transparent; /* Colore del testo trasparente per mostrare il gradiente */
    background-clip: text;
    text-fill-color: transparent;
}

.hero-section h2 > span {
	-webkit-text-fill-color: white;
    text-fill-color: white;
}


section.timeline-section .row > .col-md-6 {
	position: relative;
	padding-bottom: 2.5rem;
	display: flex;
	flex-direction: column;
	justify-content: start;
	align-items: start;
}

section.timeline-section .row > .col-md-6:nth-child(even)::before {
	content: "";
	position: absolute;
	background: white;
	width: 2px;
	height: 100%;
	left: 0;
}

section.timeline-section .row > .col-md-6:nth-child(odd) {
	align-items: end;
	text-align: end;
}

section.timeline-section .row > .col-md-6 span.year {
	position: relative;
	font-weight: 700;
	background-color: #55ddff;
	color: rgb(var(--bs-dark-rgb));
	position: relative;
	padding: 2px 10px;
	border-radius: 5px;
}

section.timeline-section .row > .col-md-6 span.year::before {
	content: "";
	position: absolute;
	background-color: #5df;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	left: calc(var(--bs-gutter-x) * .5 * -1);
	transform: translateX(-4px) translateY(7px);
	box-shadow: 1px 1px 10px black;
}

section.timeline-section .row > .col-md-6:nth-child(odd) span.year::before {
	left: auto;
	right: calc(var(--bs-gutter-x) * .5 * -1);
	transform: translateX(6px) translateY(7px);
	z-index: 3;
}

section.timeline-section .row > .col-md-6 span.year.first-year::before {
	transform: translateX(6px) translateY(-5px);
}

section.timeline-section .row > .col-md-6 img.ps-dad-image {
	width: 30%;
}

.fs-sm {
	font-size: .7rem;
}

#password-generator-container .btn-outline-light > i {
	transition: all .3s;
}

#password-generator-container .btn-outline-light:hover > i {
	color: black;
}

#password-strength-progress {
	position: absolute;
	bottom: 0;
	height: 5px;
	width: 96.5%;
	left: auto;
}

body.page.page-time-machine {
	background-color: black !important;
}

body.page.page-time-machine td {
	border: solid 3px white;
}

body.page.page-time-machine tr.header > td.datenow {
	width: 15%;
}

body.page.page-time-machine tr.header > td.datenow > div {
	text-align: center;
	overflow-y: scroll;
	max-height: 100px;
}

.aesthetic-card {
	width: 100%;
	aspect-ratio: 4/5;
	position: relative;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
}

.aesthetic-card.web-1 {
	background-image: url(assets/images/internet-aesthetics/card-bg.jpg);
	background-size: 150px;
}

.aesthetic-card.y2k {
	background-color: #ccb5fb;
}

.aesthetic-card.frutiger-aero {
	background-color: #199fe5;
	border-radius: 4px;
}

.aesthetic-card.frutiger-aero .light-rays {
	position: absolute;
	top: -30px;
	left: -30px;
	width: 100%;
}

.aesthetic-card.skeuo {
	background: url(assets/images/internet-aesthetics/bloc-note.webp);
	border-radius: 17px;
	border: 3px solid #513830;
  	box-shadow: inset 1px 1px 10px black;
}

.aesthetic-card.skeuo::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 40px;
	background: #513830;
	background: linear-gradient(0deg,rgba(81, 56, 48, 1) 0%, rgba(131, 95, 79, 1) 100%);
}

.aesthetic-card.flat {
	background-color: white;
}

.aesthetic-card.flat::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 50px;
	background: #f44336;
	box-shadow: 0px 3px 4px rgba(0, 0, 0, .2);
}

.aesthetic-card.neuo {
	border-radius: 20px;
	background-color: #ebedf6;
}

.aesthetic-card.neuo .main-element{
	width: 70%;
	aspect-ratio: 1;
	box-shadow: 2px 2px 15px rgba(0, 0, 0, .2);
	border-radius: 40px;
	background-color: #ebedf6;
}

@media only screen and (max-width: 670px) {
	#password-strength-progress {
		width: 94.5%;
	}

	section.timeline-section .row > .col-md-6,
	section.timeline-section .row > .col-md-6:nth-child(odd) {
		align-items: center;
		text-align: center;
	}

	section.timeline-section .row > .col-md-6:nth-child(even)::before,
	section.timeline-section .row > .col-md-6 span.year::before {
		display: none;
	}

	section.timeline-section .row > .col-md-6 img.ps-dad-image {
		width: 50%;
	}
}