@font-face {
    font-family: 'NachistoFont';
    src: url('fonts/6-font.otf') format('opentype');
}

@font-face {
    font-family: 'Fledgling';
    src: url('fonts/fledgling-sb.otf') format('opentype');
}

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

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

body {
    font-family: 'Fledgling', sans-serif;
    color: white;
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("images/Background1.jpg");
    background-size: 145%;
    background-position: right;
    background-attachment: fixed;
    filter: blur(5px);
    z-index: -1;
}

header {
    position: fixed;
    font-size: 2rem;        
    color: white;
    top: 0;
    padding: 1rem;
    width: 2%;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    box-shadow: 0 -1rem 1rem rgba(0, 0, 0, 0.45);
    z-index: 2;
    animation: slideInLeft 0.8s ease-out;
}

header a {
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

header a:hover {
    transform: scale(1.2) rotate(10deg);
    color: #960158;
}

.quote {
    font-style: italic;
    color: #eeeeee93;
}

#contentContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
}

.imageGroup {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}
.imageGroup img {
    width: 40rem;
    height: auto;
    border-radius: 1.2rem;
    box-shadow: 0 0.5rem 2rem rgba(172, 252, 255, 0.45);
}

.contentBlock {
    width: 80%;
    margin-top: 15rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(1rem);
    border-radius: 12px;
    padding: 5rem;
    box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.45);
}

.timelineContentBlock
{
    width: 80%;
    margin-top: 15rem;
    background: rgba(0, 0, 0, 0.486);
    backdrop-filter: blur(10rem);
    border-radius: 12px;
    padding: 5rem;
    box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.45);
}

h1 {
    font-family: 'NachistoFont', sans-serif;
    color: white;
    text-align: center;
    font-size: 10rem;
    animation: fadeInUp 1s ease-out;
    transition: text-shadow 0.3s ease;
}

h1:hover {
    text-shadow: 0 0 30px rgba(172, 252, 255, 0.6), 0 0 50px rgba(150, 1, 88, 0.4);
}

h2 {
    color: white;
    text-align: center;
    font-size: 60px;
    animation: fadeInUp 0.8s ease-out;
    transition: transform 0.3s ease, color 0.3s ease;
}

h2:hover {
    transform: translateY(-5px);
    color: #acfcff;
    text-shadow: 0 0 20px rgba(172, 252, 255, 0.5);
}

p {
    font-size: 2.4rem;
}


.elements {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    margin-top: 2rem;
}

.element {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20%;
    max-width: 600px;
    margin: 1rem auto;
    background: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    border-radius: 8px;
}

.element h3 {
    color: white;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-align: left;
    animation: fadeInUp 0.6s ease-out;
    transition: color 0.3s ease;
}

.element h3:hover {
    color: rgb(255, 187, 0);
    text-shadow: 0 0 15px rgba(255, 187, 0, 0.5);
}

.element ul {
    list-style: disc inside;
    margin: 0.5rem 0;
    font-size: 2rem !;
    padding-left: 1.5rem;
}

.element li {
    font-size: 2.3rem;
    color: white;
}

.timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    margin: 1.5rem auto;
}

.milestone {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin: 1rem 0;
}

.milestone .date {
    min-width: 110px;
    color: #ddd;
    font-size: 1.6rem;
    text-align: right;
}

.milestone .card {
    background: rgba(0, 0, 0, 0.45);
    padding: 1rem 1.2rem;
    border-radius: 8px;
}

.milestone .card h3 {
    margin: 0 0 .4rem 0;
    font-size: 2.6rem;
    color: rgb(255, 187, 0);
    animation: fadeInUp 0.6s ease-out;
    transition: transform 0.3s ease;
}

.milestone .card h3:hover {
    transform: translateX(10px);
}

.milestone .card p {
    margin: 0;
    font-size: 2rem;
    color: #eee;
}

i
{
    margin-right: 2rem;
}

a
{
    color: white;
    text-decoration: none;
}

a:hover
{
    color: #960158;
}