@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
	--accent: rgb( 197, 206, 217 );
	--border: rgb( 161, 178, 199 );
}

body {
	background: rgb( 245, 245, 245 );
	margin: 0;
	margin-top: 10vh;
	padding: 0;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	justify-items: center;
	align-items: center;
	align-text: center;
	font-family: "Playfair Display";
}
body {
  background-color: #ffffff;

  background-image:
    radial-gradient(circle at top left,
                    rgba(223,22,60,0.4) 0%, rgba(223,22,60,0.4) 20%, transparent 50%),
    radial-gradient(circle at bottom right,
                    rgba(26,41,58,0.6) 0%, rgba(26,41,58,0.2) 30%, transparent 70%);
  
  background-repeat: no-repeat;

  /*  ← asta îl fixează pe toate cele trei straturi  → */
  background-attachment: fixed, fixed;
}

header {
	position: absolute;
	z-index: 9999;
	top: 0;
	left: 0;
	width: calc(100vw - 100px);
	height: 70px;
	display: flex;	
	flex-direction: row;
	justify-content: space-between;
	justify-items: center;
	align-items: center;
	align-text: center;
	padding: 30px 50px;
	padding-bottom: 0px;
	pointer-events: none;
}

header.overlay {
	z-index: 9998;
	backdrop-filter: blur( 12px );
	mask: linear-gradient( to bottom, black, rgba( 0, 0, 0, 0 ) );
}

header img {
	width: 300px;
	height: 300px;
	margin-left: -40px;
}

h1 {
	font-size: 1.7vw;
}

.snap-container {
	position: absolute;
	top: 0;
  	left: 0;
  	right: 0;
  	bottom: 0;
	overflow-y: scroll;
	scroll-snap-type: y mandatory;
	scroll-behavior: smooth;
}
.snap-container::-webkit-scrollbar {
 	width: 0;
  	height: 0;
}
section {
	height: calc( 100vh - 170px - 30px );                 /* 100% din înălțimea viewport-ului */
	padding-top: 140px;
	scroll-snap-align: start;      /* aliniază începutul secțiunii la topul viewport-ului */
	display: flex;
	justify-content: center;
	align-items: center;
}

.body {
	position: relative;
	background: white;
	border: 1px solid rgb( 220, 220, 220 );
	border-radius: 20px;
	height: fit-content;
	width: 80vw;
	padding-left: 30px;
	padding-bottom: 30px;
	top: 30px;
	transition: 0.4s ease-in-out;
	opacity: 0;
	overflow: hidden;
}

.body.active {
	box-shadow: 0px 0px 15px rgba( 40, 40, 40, 0.4 );
	top: 0px;
	transition: 0.4s ease-in-out;
	transition-delay: 0.2s;
	opacity: 1;
}

.body h1 {
	margin-top: 25px;
	font-family: inherit;
	font-size: 1.9vw;
	font-weight: 600;
}

.body h2 {
	font-weight: 600;
	margin-top: 22px;
	font-size: 1.6vw;
}

.body h3 {
	font-weight: 600;
	margin-top: 20px;
	font-size: 1.3vw;
}

.body p {
	font-size: 1vw;
}

.body img {
	position: absolute;
	right: 0;
	top: 0;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}
.top {
	position: relative;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	border-radius: 20px;
	height: 100%;
	width: 80vw;
	top: 30px;
	transition: 0.4s ease-in-out;
	opacity: 0;
}

.top.active {
	top: 0px;
	transition: 0.4s ease-in-out;
	transition-delay: 0.2s;
	opacity: 1;
}

.top div h1 {
	margin-top: 25px;
	font-family: inherit;
	font-size: 1.9vw;
	font-weight: 600;
}

.top div p {
	font-size: 1vw;
}

.top img {
	width: 40vw;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	border-radius: 20px;
}
.body.bottom {
	margin: auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	justify-items: center;
	align-items: center;
	align-text: center;
	background: transparent;
	box-shadow: 0px 0px 0px rgba( 0, 0, 0, 0 );
	border: 0px;
}
.body.bottom.active {
	box-shadow: 0px 0px 0px rgba( 0, 0, 0, 0 );
	justify-content: center;
	justify-text: center;
	justify-items: center;
	align-items: center;
	align-text: center;
}
ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap:15px;
	margin: 0px;
	margin-left: 15px;
	padding: 0px;
}

li {
	background: var(--accent);
	border-radius: 10px;
	color: black;
	padding: 10px 20px;
	width: fit-content;
	font-size: 23px;
	border: 1px solid var(--border);
	box-shadow: 0px 0px 10px rgba( 40, 40, 40, 0.45 );
	font-size: 1.2vw;
	transition: 0.2s ease-in-out;
	margin-top: 20px;
	margin-left: 20px;
	opacity: 0;
}

li.active {
	transition: 0.2s ease-in-out;
	transition-delay: 0.2s;
	margin-top: 0px;
	margin-left: 0px;
	opacity: 1;
}

li::marker {             /* modifici mărimea bullet-ului */
  	color: black;           /* culoare */
  	content: "» ";                    /* un alt caracter */
	margin-right: 10px;
}


.points {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	flex: 1;
	width: calc( 100% - 30px );
	gap: 30px;
	margin-bottom: 30px;
}

.point {
	display: flex;
	flex-direction: column;
	justify-content: center;
	justify-items: center;
	flex: 1;
	height: fit-content;
	background: var(--accent);
	border: 1px solid var(--border);
	border-radius: 10px;
	color: black;
	padding: 20px;
	padding-top: 0px;
	box-shadow: 0px 0px 10px rgba( 40, 40, 40, 0.45 );
}

table, th, td {
  border: 1px solid black;
  border-collapse: collapse; /* elimină spațiile dintre celule */
  font-size: 1vw;
}

td {
	padding: 1vw;
}

