body {
    background-image: url('bg2.png');
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3em;
    margin: 0;
    padding: 0;
}

.inv {
    opacity: 0 !important;
}

.inv2 {
    font-family: 'Rubik', sans-serif;
    text-shadow: 5px 3px 5px #000000;
    font-size: 1.5em;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

.title {
    font-size: 3em;
    background: linear-gradient(135deg, #7f00ff, #3c005f);
    border-radius: 10px;
    animation: intro 1.5s ease-in-out 0.7s 1 normal forwards;
    font-family: 'Rubik', sans-serif;
    opacity: 0;
    text-shadow: 5px 5px 15px #000000;
}

@keyframes intro {
	0% {
		opacity: 0;
		transform: scale(0.6);
	}

	100% {
		opacity: 1;
		transform: scale(1);
	}
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    text-decoration: none;
    color: #8a2be2;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ffffff;
}


section {
    margin-bottom: 50px;
}

h2 {
    color: #8a2be2;
}

.carousel {
    display: flex;
    justify-content: space-between;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#work {
    margin-bottom: 50px;
}

.timeline {
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 0;
}

.event {
    background-color: #f0f0f0;
    padding: 10px;
    margin-bottom: 10px;
}

#skills {
    margin-bottom: 50px;
}

.skills-list {
    list-style: none;
    padding: 0;
}

.skill-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.skill-bar {
    width: 100%;
    background: #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
    width: 70%;
    height: 17px;
}

.skill-level {
    background: #8a2be2;
    height: 10px;
    border-radius: 5px;
    width: 70%;
    height: 17px;
}


.skills-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.work-section {
    color: white;
    display: flex;
}

.event {
    border-radius: 10px;
    background: linear-gradient(135deg, #7f00ff, #3c005f);
    padding: 20px;
    color: white;
    margin: px;
}

.work-column {
    flex: 1;
    max-width: 50%;
    padding: 20px;
    box-sizing: border-box;
}


.skills-column {
    flex: 1;
    max-width: 50%;
    padding: 20px;
    box-sizing: border-box;
}

.skill-item {
    margin-bottom: 15px;
}

.skill-name {
    margin-bottom: 10px;
}

.stars {
    font-size: 0;
}

.star {
    display: inline-block;
    width: 35px;
    height: 35px;
    background-image: url('circle1.png');
    background-size: contain;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}

.star2 {
    display: inline-block;
    width: 35px;
    height: 35px;
    background-image: url('circle2.png');
    background-size: contain;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}

.swiper-container {
    width: 80%;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

.swiper-slide img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 400px;
    display: block;
    margin: 0 auto;
}

.carousel-img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 400px;
}

.menu-box {
    background: linear-gradient(135deg, #7f00ff, #3c005f);
    opacity: 0.8;
    border-radius: 10px;
    padding: 10px;
}

.menu-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-box ul li {
    display: inline;
    margin-right: 20px;
}

.menu-box ul li a {
    color: white;
    text-decoration: none;
}

.menu-box ul li a:hover {
    color: #9e9e9e;
}

.date {
    font-size: 18px;
}

.description {
    font-size: 23px;
}

.cat {
    text-shadow: 5px 3px 5px #000000;
}

footer {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-left: 40px;
    margin-bottom: 40px;
    opacity: 0.5;
}

.cs {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    opacity: 0.5;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media only screen and (max-width: 768px) {
    .container {
        padding: 10px;
    }

    header {
        margin-bottom: 15px;
    }

    .title {
        font-size: 2em;
    }

    nav ul {
        margin-bottom: 15px;
    }

    section {
        margin-bottom: 30px;
    }

    .skills-section,
    .work-section {
        flex-direction: column;
    }

    .skills-column,
    .work-column {
        max-width: 100%;
        padding: 15px;
    }

    .swiper-container {
        width: 100%;
    }
}

@media only screen and (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}