.years2 {
    font-size: 3vh;
    color: aliceblue;
    animation: bounce 1s infinite alternate;
    text-shadow: 12px -25px 20px #fff, black -10px 22px 18px;
}

.story {
    font-size: 2vh;
}

body, html {
    height: 100%;
    font-family: "Afacad Flux", sans-serif;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.container {
    background-image: url('img/patrick-fore-LkjruCBLg9I-unsplash.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

header h1 {
    font-size: 9vh;
    font-weight: bold;
    padding-top: 5%;
    text-align: center;
    color: #FF4500;
    text-shadow: 12px -25px 20px #fff, black -10px 22px 18px;
}

.content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-shadow: 12px -25px 20px #fff, black -10px 22px 18px;
}

.left-content {
    text-align: left;
}

.right-content {
    text-align: right;
}

.text-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-shadow: 12px -25px 20px #fff, black -10px 22px 18px;
}

.text-group h2 {
    font-size: 6vh;
    font-weight: bold;
    margin-bottom: 10px;
    color: #FF4500;
    animation: bounce 1s infinite alternate;
    text-shadow: 12px -25px 20px #fff, black -10px 22px 18px;
}

.text-group p {
    font-size: 2.5vh;
    margin-top: 0;
    text-align: center;
    color: aliceblue;
    animation: bounce 1s infinite alternate;
}

.right-content .years {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.years1 {
    font-size: 15vh;
    font-weight: 1000;
    display: block;
    color: #FF4500;
    animation: bounce 1s infinite alternate;
}

.social-links {
    text-align: center;
    margin-top: 20px;
    text-shadow: 12px -25px 20px #fff, black -10px 22px 18px;
}

.social-links a {
    margin: 0 15px;
    font-size: 2.5vh;
    color: #FF4500;
    text-decoration: none;
    border: 2px solid white;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.2s ease;
}

.social-links a:hover {
    background-color: rgba(241, 84, 11, 0.2);
}

.photo-background {
    position: absolute;
    top: 70%;
    left: 52%;
    transform: translate(-50%, -50%);
    z-index: -1;
    overflow: hidden;
}

.photo {
    width: auto;
    height: 140vh; 
    transition: transform 0.3s ease; 
    filter: grayscale(100%);
}

.photo:hover {
    transform: scale(1.05); 
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 36px;
    }

    .content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .left-content, .right-content {
        text-align: center;
    }

    .years {
        font-size: 20px;
    }

    .social-links a {
        font-size: 16px;
        padding: 8px 16px;
    }

    .photo-background {
        width: 200px; 
    }
}
