/* styles.css */

body {
    font-family: 'Comfortaa', sans-serif;
    margin: 0;
	padding: 0;
    background-color: #f9f9f9;
    color: #000;
    line-height: 1.4;
	overflow: hidden;
}

// <uniquifier>: Use a unique and descriptive class name
// <weight>: Use a value from 300 to 700

.comfortaa-<uniquifier> {
  font-family: "Comfortaa", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

.header {
    position: relative;
	text-align: center;
    padding: 50px 20px;
    background-color: transparent;
	z-index: 1;
}

.header h1 {
    font-family: "Comfortaa", sans-serif;
	font-style: normal;
	font-weight: 300;
	font-size: 5.5rem;
	line-height: 1;
    color: #333;
	word-break: break-all; /* Spezza le parole al limite della riga */
	
}

.header p {
    font-size: 1.3rem;
    color: transparent;
}

.header a {
    text-decoration: underline;
    color: #333;
    margin: 0 5px;
    border: 0px solid #333;
    padding: 1px 1px;
}

.about {
    position: relative;
	text-align: center;
    padding: 30px 20px;
    background-color: transparent;
	z-index: 1;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #666;
}

.links a {
    font-family: Comfortaa;
    text-decoration: none;
    color: #000;
    margin: 0 5px;
    border: 0px solid #333;
    padding: 1px 1px;
}

.social {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background-color: transparent;
}

.social-icon {
    font-size: 2rem;
    color: #666;
    text-decoration: none;
}

.social-icon:hover {
    color: #333;
}

.portfolio {
    text-align: center;
    padding: 30px 20px;
    background-color: transparent;
}

.portfolio h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-item {
    position: relative;
    overflow: hidden;
    background-color: transparent;
}

.grid-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.grid-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.footer {
	position: fixed;
	bottom: 20px;
	text-align: center;
    padding: 20px;
    background-color: transparent;
	z-index: 1;
}

.footer p {
    font-size: 0.8rem;
	color: #808080;
	margin: 0;
	text-align: center;
	position: fixed;

}

.footer a {
    color: #333;
    text-decoration: none;
	
}

.footer a:hover {
    text-decoration: underline;
}

/* Background Circles */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    background-color: #e1e1db;
}

.circle {
    position: absolute;
    border-radius: 100%;
    opacity: 0.7;
    
}

.links a {
    font-family: Comfortaa;
    text-decoration: none;
    color: #000;
    margin: 0 5px;
    border: 0px solid #333;
    padding: 1px 1px;
}

/* Dimensioni e posizioni iniziali dei cerchi */
.circle.one {
    width: 410px;
    height: 410px;
    top: 20%;
    left: 30%;
	filter: blur(65px);
    background: radial-gradient(circle, rgba(125, 158, 108, 0.8), rgba(125, 158, 108, 0));
	transition: transform 5s ease-in-out, background 3s ease-in-out; /* Cambiamenti di posizione e colore */
}

.circle.two {
    width: 650px;
    height: 650px;
    top: 60%;
    left: 50%;
	filter: blur(45px);
    background: radial-gradient(circle, rgba(244, 227, 104, 0.8), rgba(244, 227, 104, 0));
	transition: transform 9s ease-in-out, background 7s ease-in-out; /* Cambiamenti di posizione e colore */
}

.circle.three {
    width: 300px;
    height: 300px;
    top: 40%;
    left: 10%;
	filter: blur(25px);
    background: radial-gradient(circle, rgba(125, 198, 224, 0.8), rgba(125, 198, 224, 0));
	transition: transform 13s ease-in-out, background 10s ease-in-out; /* Cambiamenti di posizione e colore */
}

.circle.four {
    width: 150px;
    height: 150px;
    top: 30%;
    left: 20%;
	filter: blur(15px);
    background: radial-gradient(circle, rgba(125, 198, 224, 0.8), rgba(125, 198, 224, 0));
	transition: transform 4s ease-in-out, background 3s ease-in-out; /* Cambiamenti di posizione e colore */
}

.circle.five {
    width: 380px;
    height: 380px;
    top: 5%;
    left: 70%;
	filter: blur(75px);
    background: radial-gradient(circle, rgba(125, 198, 224, 0.8), rgba(125, 198, 224, 0));
	transition: transform 10s ease-in-out, background 8s ease-in-out; /* Cambiamenti di posizione e colore */
}

.circle.six {
    width: 500px;
    height: 500px;
    top: 80%;
    left: 35%;
	filter: blur(50px);
    background: radial-gradient(circle, rgba(125, 198, 224, 0.8), rgba(125, 198, 224, 0));
	transition: transform 6s ease-in-out, background 4s ease-in-out; /* Cambiamenti di posizione e colore */
}

.circle.seven {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 15%;
	filter: blur(85px);
    background: radial-gradient(circle, rgba(125, 198, 224, 0.8), rgba(125, 198, 224, 0));
	transition: transform 2s ease-in-out, background 2s ease-in-out; /* Cambiamenti di posizione e colore */
}

/* Aggiungiamo transizioni di colore usando le classi */
@keyframes changeColor {
    0%, 100% { background: radial-gradient(circle, rgba(255, 100, 100, 0.8), rgba(255, 100, 100, 0)); }
    50% { background: radial-gradient(circle, rgba(150, 150, 255, 0.8), rgba(150, 150, 255, 0)); }
}
