@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@100..900&display=swap');
@import url("global.css");

* {
    transition: all 0.3s ease;
    font-family: "Heebo", sans-serif;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

/* Animation classes */
.fadeInUp-animation {
    animation: fadeInUp 1s ease-out;
}

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

/* Header styles */
header {
    display: flex;
    justify-content: flex-end;
    padding: 20px;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header li {
    margin-left: 20px;
}

header a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: .3s all;
    padding: 8px 12px;
    border-radius: 5px;
}

header a:hover {
    color: #ff6363;
    background-color: rgba(255, 99, 99, 0.1);
}

header a.active {
    color: #ff6363;
    background-color: rgba(255, 99, 99, 0.1);
}

/* Footer styles */
footer {
    text-align: center;
    padding: 40px 20px;
    background-color: #21243D;
    color: white;
    border-radius: 30px 30px 0 0;
    margin-top: 50px;
}

footer .social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

footer .social-links a {
    margin: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    transition: all 0.3s ease;
}

.social-icon i {
    color: #21243D;
    transition: all 0.3s ease;
}

footer .social-links a:hover {
    transform: translateY(-5px);
    background-color: #ff6363;
}

footer .social-links a:hover i {
    color: white;
}

footer p {
    font-size: 14px;
    color: #e0e0e0;
    margin-top: 10px;
}

/* Blog styles */
.blogs {
    max-width: 75%;
    margin: 50px auto;
    color: #21243D;
    padding: 20px;
}

.blogs-title {
    font-size: 44px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.highlight {
    position: relative;
    z-index: 1;
    color: #ff6363;
}

.highlight::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 12px;
    background-color: rgba(255, 99, 99, 0.2);
    bottom: 5px;
    left: 0;
    z-index: -1;
}

.date {
    font-size: 16px;
    color: #666;
    margin: 15px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.date i {
    color: #ff6363;
    margin-right: 5px;
}

.tag {
    display: inline-block;
    background-color: rgba(0, 168, 204, 0.1);
    color: #00A8CC;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 12px;
    margin-right: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: #00A8CC;
    color: white;
    transform: translateY(-2px);
}

.blog-content {
    margin: 50px 0;
    position: relative;
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.blog-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-content::after {
    content: "";
    background-color: #E0E0E0;
    width: 90%;
    height: 1px;
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translate(-50%, -20%);
}

.blog-header h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #21243D;
    transition: all 0.3s ease;
}

.blog-header h1:hover {
    color: #ff6363;
}

.blog-body p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.blog-body code {
    background-color: #f0f4f8;
    padding: 2px 5px;
    border-radius: 4px;
    font-family: monospace;
    color: #ff6363;
}

.read-more {
    display: inline-block;
    color: #ff6363;
    text-decoration: none;
    font-weight: 500;
    margin-top: 10px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.read-more:hover {
    background-color: rgba(255, 99, 99, 0.1);
}

.read-more i {
    font-size: 12px;
    margin-left: 5px;
    transition: all 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .blogs {
        max-width: 95%;
        margin: 30px auto;
        padding: 10px;
    }
    
    .blogs-title {
        font-size: 36px;
    }
    
    .blog-header h1 {
        font-size: 24px;
    }
    
    .blog-content {
        padding: 20px;
        margin: 30px 0;
    }
}