/* CSS for about page styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4),    /* Darker color at the top */
        rgba(0, 0, 0, 0.4) 50%, /* Slightly lighter color in the middle */
        rgba(0, 0, 0, 0.6) 100% /* Darker color at the bottom */
      ),
      url('/static/images/ImmaginePippo5.jpeg') no-repeat; /* Replace with the actual image path */
      background-size: cover;
}

/* Header styles */
header {
    background-color: transparent;
    color: #fff;
    padding: 10px 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 150px; /* Adjust the width as needed */
}

/* Go Back link styles */
.go-back {
    background-color: transparent;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 10px 20px;
}

.go-back i {
    margin-right: 5px;
}

/* About section styles */
.about-section {
    display: flex;
    flex-direction: column;
    align-items: right;
    padding: 20px;
}

.image {
    padding: 20px;
}

.image img {
    max-width: 50%; /* Ensure the image fits within its container */
    border: 2px solid #162938; /* Add a border to the image */
    border-radius: 80px; /* Add rounded corners */
}

.details {
    padding: 20px;
}

/* Stile del titolo della sezione "Percorso di formazione personale" */
.details h2 {
    font-size: 30px;
    margin-bottom: 10px;
    color: rgb(161, 173, 148); /* Azzurro più prezioso */
    position: relative;
    display: inline-block;
}

.details h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #5b644c; /* Azzurro più prezioso */
    transition: width 0.3s ease-in-out;
}

.details h2:hover::after {
    width: 80%; /* Modifica la lunghezza della barra sotto il titolo quando ci passi sopra */
}


.details p {
    font-size: 16px;
    margin-top: 10px;
    color: #fff;
}


/*styling the timeline */
.timeline {
    list-style: none;
    padding: 0;
}

.timeline li {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.timeline .year {
    font-size: 25px;
    font-weight: bold;
    color: rgb(226, 211, 230);
    margin-bottom: 5px;
}

.timeline p {
    font-size: 20px;
    color: #fff;
    margin-top: 5px;
}
.quotes {
    margin-top: 50px;
    text-align: center;
}

.quote {
    margin-bottom: 10px;
    font-style: italic;
    color: #333; /* Adjust the color as needed */
    font-size: 24px;
    line-height: 1.4;
}
.quote p{
    font-size: 24px;
}
