/************************ Background Pagina ***************************/
.area {
	width: 100%;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	z-index: -1;
}

.circles {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.circles li {
	position: absolute;
	display: block;
	list-style: none;
	width: 20px;
	height: 20px;
	background-image: url("assets/images/main-img/logo-background.svg");
	background-repeat: no-repeat;
	animation: animate 25s linear infinite;
	bottom: -150px;
}

.circles li:nth-child(1) {
	left: 25%;
	width: 80px;
	height: 80px;
	animation-delay: 0s;
}

.circles li:nth-child(2) {
	left: 10%;
	width: 120px;
	height: 120px;
	animation-delay: 2s;
	animation-duration: 12s;
}

.circles li:nth-child(3) {
	left: 70%;
	width: 120px;
	height: 120px;
	animation-delay: 4s;
}

.circles li:nth-child(4) {
	left: 40%;
	width: 60px;
	height: 60px;
	animation-delay: 0s;
	animation-duration: 18s;
}

.circles li:nth-child(5) {
	left: 65%;
	width: 120px;
	height: 120px;
	animation-delay: 0s;
}

.circles li:nth-child(6) {
	left: 75%;
	width: 100px;
	height: 100px;
	animation-delay: 3s;
}

.circles li:nth-child(7) {
	left: 35%;
	width: 120px;
	height: 120px;
	animation-delay: 7s;
}

.circles li:nth-child(8) {
	left: 50%;
	width: 80px;
	height: 80px;
	animation-delay: 15s;
	animation-duration: 45s;
}

.circles li:nth-child(9) {
	left: 20%;
	width: 120px;
	height: 120px;
	animation-delay: 2s;
	animation-duration: 35s;
}

.circles li:nth-child(10) {
	left: 85%;
	width: 120px;
	height: 120px;
	animation-delay: 0s;
	animation-duration: 11s;
}

@keyframes animate {

	0% {
		transform: translateY(0) rotate(0deg);
		opacity: 1;
		border-radius: 0;
	}

	100% {
		transform: translateY(-1000px) rotate(720deg);
		opacity: 0;
		border-radius: 50%;
	}
}

/* Stile globale */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
	background: #F5F5F5;
    color: #333;
}

 /* Stile del contenitore della barra superiore */
.top-bar {
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding: 10px 20px;
   border-bottom: 1px solid #8c1243;
}

.top-bar img {
  max-width: 150px;
}

.top-bar button {
	padding: 0.8rem;
	max-width: 200px;
    font-size: 1rem;
    color: #fff;
    background: #134395;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

 .top-bar button:hover {
 background-color: #0a2d6b;
}

/* Contenitore principale */
.container {
    max-width: 700px;
    margin: 2rem auto;
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Titolo */
h1 {
	font-size: 25px;
    text-align: center;
    color: #8c1243;
    margin-bottom: 2rem;
}

/* Stile del form */
form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Etichette */
label {
    font-size: 1rem;
    color: #134395;
    font-weight: bold;
}

/* Campi di input */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="file"],
input[type="password"], select {
    width: 90%;
    padding: 0.8rem;
    font-size: 1rem;
    border: 1px solid #134395;
    border-radius: 5px;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="file"]:focus,
input[type="password"]:focus {
    border-color: #134395;
    outline: none;
}

/* Pulsante di invio */
button {
    padding: 0.8rem;
	width: 40%;
    font-size: 1rem;
    color: #fff;
    background: #134395;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #0a2d6b;
}

/* ----------------------------- */
/* Animazione fadeIn */
.fadeIn {
	animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animazione fadeIn-reverse */
.fadeIn-reverse {
	animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animazione BackinLeft */
.BackinLeft {
  animation: backInLeft 2s ease-in-out;
}

@keyframes backInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animazione BackinRight */
.BackinRight {
  animation: backInRight 2s ease-in-out;
}

@keyframes backInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animazione Pulse */
.Pulse {
  animation: pulse 2s ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
/* ----------------------------- */

/* Stile responsivo */
@media (max-width: 600px) {
	.top-bar {
		flex-direction:column;
		gap: 1rem;
	}
	
    .container {
        padding: 1.5rem;
    }

    form {
        gap: 1rem;
    }

    button, .top-bar button {
        font-size: 1rem;
        padding: 0.7rem;
    }
}