@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,600,700,800,900&display=swap');

:root {
    --gradient: linear-gradient(45deg, #745ec2, #d65db1, #ff6f91, #ff9671, #ffc75f, #f9f871);
    --gradient-reverse: linear-gradient(45deg, #f9f871, #ffc75f, #ff9671, #ff6f91, #d65db1, #745ec2);
    --primary-color: #745ec2;
    --secondary-color: #ff6f91;
    --text-color: #333;
    --bg-color: #f9f9f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font: 400 16px/1.8 "Roboto", sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    position: fixed;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #b95454;
    background-image: var(--gradient-reverse);
    background-blend-mode: overlay;
    background-size: 300%;
    background-position: left;
    transition: background-position 0.5s ease-in-out;
    animation: bg-animation 15s infinite alternate;
    padding: 0 25px;
}

@keyframes bg-animation {
    to { background-position: right; }
}

.site-header:hover {
    background-blend-mode: difference;
    background-color: #230930;
}

.logo img {
    max-width: 100px;
    height: auto;
}

.menu {
    display: flex;
    list-style: none;
}

.menu a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 40px 25px;
    font-size: 18px;
    transition: 0.3s ease;
}

.menu a:hover {
    box-shadow: 0 -5px 0 #fff inset, 500px 0 0 rgba(255, 255, 255, 0.03) inset;
    padding: 35px 25px 45px 45px;
}

.hamburger,
.toggle-menu {
    display: none;
}

.content-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    background-image: url('/images/hero-img-paralax.webp');
    background-size: cover;
    background-position: center;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.about-hero {
    background-image: url('/images/selfie-img.webp');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero h1 {
    font-size: 4em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.5em;
    max-width: 600px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-align: center;
}


.game-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.game-item {
    width: 150px;
    margin: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.game-item:hover {
    transform: scale(1.05);
}

.game-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.blog-post {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
}

.blog-post h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5em;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: var(--secondary-color);
}

.gallery-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.album-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group textarea {
    height: 150px;
}

.site-footer {
    background-color: #230930;
    color: #fff;
    padding: 30px 0;
    margin-top: auto;
}

.social-media-icon {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-media-icon a {
    color: #fff;
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-media-icon a:hover {
    color: var(--secondary-color);
}

/* Animation styles */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

@media screen and (max-width: 992px) {
    .navigation {
        position: relative;
    }

    .hamburger,
    .toggle-menu {
        display: block;
    }

    .hamburger {
        width: 30px;
        height: 3px;
        background: #fff;
        border-radius: 5px;
        cursor: pointer;
        position: relative;
        z-index: 2;
    }

    .hamburger:before,
    .hamburger:after {
        content: "";
        position: absolute;
        height: 3px;
        right: 0;
        background: #fff;
        border-radius: 5px;
        transition: 0.3s;
    }

    .hamburger:before {
        top: -10px;
        width: 20px;
    }

    .hamburger:after {
        top: 10px;
        width: 25px;
    }

    .toggle-menu {
        position: absolute;
        width: 30px;
        height: 100%;
        z-index: 3;
        cursor: pointer;
        opacity: 0;
    }

    .navigation input:checked ~ .hamburger {
        background: transparent;
    }

    .navigation input:checked ~ .hamburger:before {
        top: 0;
        transform: rotate(-45deg);
        width: 30px;
    }

    .navigation input:checked ~ .hamburger:after {
        top: 0;
        transform: rotate(45deg);
        width: 30px;
    }

    .navigation input:checked ~ .menu {
        right: 0;
        box-shadow: -20px 0 40px rgba(0,0,0,0.3);
    }

    .menu {
        position: fixed;
        top: 0;
        right: -300px;
        background-color: #230930;
        background-image: var(--gradient);
        background-blend-mode: overlay;
        width: 300px;
        height: 100%;
        flex-direction: column;
        padding-top: 65px;
        transition: 0.5s ease;
    }

    .menu li {
        width: 100%;
    }

    .menu a,
    .menu a:hover {
        padding: 30px;
        font-size: 24px;
        box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset;
    }
}

/* about */

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: var(--bg-color);
    border: 4px solid var(--primary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid var(--primary-color);
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--primary-color);
}

.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid var(--primary-color);
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--primary-color) transparent transparent;
}

.right::after {
    left: -16px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-links a {
    color: var(--primary-color);
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.site-footer {
    background-color: #230930;
    color: #fff;
    padding: 30px 0;
    margin-top: auto;
    text-align: center;
}

@media screen and (max-width: 992px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::before {
        left: 60px;
        border: medium solid var(--primary-color);
        border-width: 10px 10px 10px 0;
        border-color: transparent var(--primary-color) transparent transparent;
    }

    .left::after, .right::after {
        left: 15px;
    }

    .right {
        left: 0%;
    }
}