
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

@font-face {
	font-family: "Aboreto";
	src: url(../fonts/Aboreto-Regular.ttf);
}

@font-face {
	font-family: "Abaya";
	src: url(../fonts/AbhayaLibre-Medium.ttf);
}

@font-face {
	font-family: "Abril";
	src: url(../fonts/AbrilFatface-Regular.ttf);
}

.close {
	display: flex;
	align-items: center;
	justify-content: space-around;
	padding: 10px 0;
    background: rgba(255, 255, 255, 0.266); /* Transparent white */
    backdrop-filter: blur(10px); /* Frosted glass blur */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Subtle border */
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Soft shadow */
	cursor: pointer;
}

.close img {
	height: 30px;
}

.close p {
	font-size: 1.05rem;
	font-family: "Abril";
	color: rgb(255, 255, 255);
}

#menu {
	text-decoration: none;
}

.open {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-around;
	padding: 15px 0;
    background: rgba(255, 255, 255, 0.266); /* Transparent white */
    backdrop-filter: blur(10px); /* Frosted glass blur */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Subtle border */
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Soft shadow */
}

.open img {
	height: 50px;
	margin: 0 auto;
}
.open i{
    font-size: 1.2rem;
    margin: 0 auto;
    cursor: pointer;
    border: none;
}
.open a {
	text-decoration: none;
	color: rgb(255, 255, 255);
    font-size: 1.5rem;
    font-family: "Abril";
}

.box-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 80%;
	margin: 0 auto;
	gap: 0 2rem;
}

.links a {
	position: relative;
}

.links a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 2px;
	background-color: #ffffff;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.3s ease;
}

.links a:hover::after {
	transform: scaleX(1);
	transform-origin: left;
}

.links {
	padding: 10px 0;
	width: 80%;
	margin: 0 auto;
	justify-content: space-around;
	display: flex;
	z-index: 1;
}

.connexion {
	display: flex;
	align-items: center;
}

#connect {
	text-decoration: none;
	color: rgb(255, 255, 255);
	font-family: "Abril";
	font-size: 18px;
	padding: 5px 10px;
	border: none;
	background-color: rgba(75, 75, 75, 0.6);
	border-radius: 5px;
}

#connect:hover {
	background-color: rgb(255, 255, 255);
	transition: background-color 0.2s ease;
	color: black;
}

.open i {
	color: white;
	background-color: black;
}

@media (max-width: 900px) {
	.links {
		font-size: 18px;
		width: 95%;
		margin-left: 0;
		gap: 10px;
	}

	.close p {
		font-size: 16px;
	}

	.close img {
		height: 40px;
	}

	.open img {
		width: 55px;
		height: 45px;
	}
}

@media (max-width: 700px) {
	.links {
		font-size: 15px;
		flex-direction: column;
		gap: 6px;
		width: 100%;
		padding: 8px 0;
		text-align: center;
	}

	.box-box {
		display: flex;
		width: 100%;
		margin: 0 auto;
		flex-direction: row;
	}

	.connexion {
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 100%;
		gap: 1rem 0;
		border-left: 1px solid white;
	}

	.close {
		padding: 8px 0;
	}

	.close img {
		height: 35px;
	}

	.open {
		padding: 8px 0;
	}

	.open img {
		width: 40px;
		height: 30px;
	}
}

@media (min-width: 1200px) {
	.links {
		font-size: 22px;
		gap: 40px;
	}

	.close img {
		height: 40px;
	}

	.open img {
		width: 50px;
		height: 50px;
	}
}

@media (max-width: 480px) {
	.close {
		padding: 5px 0;
	}

	.close p {
		font-size: 14px;
	}

	.close img {
		height: 30px;
	}

	.open {
		padding: 5px 0;
	}

	.open button {
		font-size: 18px;
		margin: 0.5rem;
	}

	.box-box {
		display: flex;
		width: 100%;
		margin: 0 auto;
		flex-direction: row;
	}

	.connexion {
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 100%;
		gap: 1rem 0;
		border-left: 1px solid white;
	}

	#connect {
		font-size: 16px;
		padding: 4px 8px;
		margin: 0 auto;
	}

	.open img {
		width: 50px;
		height: 40px;
	}

	.links a {
		font-size: 0 9rem;
		padding: 0.5rem 0.7rem;
	}
}
