﻿@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&display=swap');


html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-top: 70px;
  margin-bottom: 60px;
  font-family : Google sans;
}
 
h1{
    font-size: 9rem;
}
.dark-submit {
    background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid #2a2a2a;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .dark-submit:hover {
        background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
        box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
        color: #ffffff;
    }

    .dark-submit:active {
        transform: scale(0.98);
    }

.glow-link {
    color: black !important; 
    padding: 8px 16px;
    border-radius: 9999px;
    transition: all 0.25s ease;
    text-decoration: none;
}

    .glow-link:hover,
    .glow-link.active {
        color: #ffffff !important; 
        background-color: #111; 
        text-shadow: 0 0 6px rgba(255,255,255,0.4); 
        box-shadow: 0 0 10px rgba(255,255,255,0.15);
        letter-spacing: 1px;
        font-weight:700;
        font-size:0.9rem;
    }


.container_border {
    border: 5px #1a1a1a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-radius: 2rem;
}

.remove-btn {
    background-color: #111; 
    color: #ddd; 
    padding: 8px 16px; 
    border: 1px solid #222;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.25s ease;
}

    .remove-btn:hover {
        background-color: #222; 
        color: #fff;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.15); 
        text-shadow: 0 0 6px rgba(255,255,255,0.3);
        letter-spacing: 1px;
    }

    .remove-btn:active {
        transform: scale(0.97);
    }


.update-article {
    background-color: #111;
    color: #ddd;
    padding: 24px;
    margin-bottom: 24px;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}

/* Image section */
.image-wrapper {
    position: relative;
    width: 320px;
}

.update-image {
    width: 100%;
    height: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

/* Arrow button */
.view-full-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: rgba(0,0,0,0.7);
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 6px 10px;
    border-radius: 9999px;
    transition: all 0.25s ease;
}

    .view-full-btn:hover {
        background-color: #000;
        box-shadow: 0 0 10px rgba(255,255,255,0.25);
        transform: scale(1.05);
    }

/* Content section */
.update-body {
    flex: 1;
}

.update-title {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.update-content {
    line-height: 1.7;
    color: #ccc;
    margin-bottom: 14px;
}

.update-source a {
    background-color: white;
    padding: 0.3rem;
    border-radius:9999px;
    color: #000;
    text-decoration: none;
}

    .update-source a:hover {
        text-shadow: 0 0 8px rgba(255,255,255,0.4);
    }

.update-time {
    color: #888;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .update-article {
        flex-direction: column;
    }

    .image-wrapper {
        width: 100%;
    }

    .update-image {
        max-height: 240px;
    }
}

/* Page background vibe */
.home-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f4f7fb, #e9eff6);
    padding: 40px 16px;
}

/* Card */
.home-card {
    max-width: 850px;
    width: 100%;
    background: #ffffff;
    padding: 48px 42px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    animation: fadeUp 0.6s ease;
}

/* Title */
.home-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 22px;
    letter-spacing: -0.5px;
}

/* Main text */
.home-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 28px;
}

/* Highlights */
.home-highlights {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .home-highlights p {
        background: #f6f8fb;
        padding: 12px 18px;
        border-radius: 999px;
        font-size: 0.95rem;
        color: #333;
    }

/* Subtle animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .home-title {
        font-size: 2rem;
    }

    .home-card {
        padding: 32px 24px;
    }
}
