:root {
    --clr-one: #00ffff;
    --clr-bg: #1d1e22;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body{
    position: relative;
    font-family: 'Arial', sans-serif;
    background: #202020;
    color: #ffffff;
}

h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 5em;
    font-weight: bold;
    padding-top: 150px;
    color: #00ffff;
    text-align: center;
    animation: animates 5s linear infinite;
    position: relative;
    letter-spacing: 5px;
    color: #0e3742;
    line-height: 0.70em;
    outline: none;
    -webkit-box-reflect: below 1px linear-gradient(transparent, rgba(0, 0, 0, 0.185));
}
@keyframes animates {
    0%, 18%, 20%, 50.1%, 60%, 65.1%, 80%, 90.1%, 92% {
      color: #0e4239;
      text-shadow: none;
    }
    18.1%, 20.1%, 30%, 50%, 60.1%, 65%, 80.1%, 90%, 92.1%, 100% {
      color: #fff;
      text-shadow: 0 0 10px #00ffff,
                   0 0 20px #00ffff,
                   0 0 40px #00ffff,
                   0 0 80px #00ffff,
                   0 0 160px #00ffff;
    }
  }

h3 {
    font-size: 1.5rem;
    color:rgb(147, 255, 246);
    text-shadow: 0 0px 0px transparent, 
      0 0 1px #00ffff, 
      0 0 1px transparent, 
      0 0 0px #00ffff, 
      0 0 25px #00ffff, 
      0 0 0 #00ffff, 
      0 0 5px #00ffff, 
      0 0 6px #00ffff,
      -2px 0 5px #00000095, /* Esquerda */
    2px 0 5px #00000095,  /* Direita */
    0 -2px 5px #00000095, /* Topo */
    0 2px 5px #00000095;  /* Base */
    padding-bottom: 20px;
    padding-top: 10px;
}

h4 {
    text-align: center;
    padding-bottom: 20px;
}

h5 {
    font-size: 1.2em;
    text-align: left;
    color: #ffffff;
    
}

h6 {
    font-size: 1em;
    text-align: left;
    color: #ffffff;
    text-align: center;
}

p {
    font-size: 1.05em;
    color: #fff;
    font-family: 'Times New Roman', Times, serif;
}

button:focus {
    box-shadow: none;
    border: none;
    outline: none !important;
}

.text {
    color: aliceblue;
}

/* ----------------------------------------------------------------- */
/* --------------------------NAVBAR TOP----------------------------- */
/* ----------------------------------------------------------------- */
.navbar-brand {
    color: #424242;
    text-shadow: 1px 1px 2px #000000;
    text-shadow: 2px 2px 10px #00ffff;
    color: #00ffff;
    font-family: great vibes;
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 5px;
}
.cyber-nav {
    background: #242424;
    border-radius: 7px;
    box-shadow: 
      inset 0 -1px 0 #4d4d4d,
      inset 0 -5px 0 rgba(255,255,255,0.09),
      inset 0 4px 0 #1e1e1e,
      0 1px 2px rgba(0,0,0,0.7),
      0 2px 3px 2px rgba(9,9,9,0.6);
      position: fixed;
      width: 100%;
      top: 0;
      left: 0;
      z-index: 1000;
      padding: 0 15px;
}
.cyber-nav::after,
.cyber-nav::before {
    content: '';
    position: absolute;
    bottom: 0;
    width: 7px;
    height: 7px;
    background: rgba(36,36,36,0.4);
}
.cyber-nav::before {
    left: 0;
    border-bottom-left-radius: 7px;
}
.cyber-nav::after {
    right: 0;
    border-bottom-right-radius: 7px;
}
.cyber-link {
    position: relative;
    padding: 12px 25px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 2px;
    color: rgba(255,255,255,0.85) !important;
    text-shadow: 0 -1px 0 #000;
    border-radius: 5px;
    background: 
    linear-gradient(
        rgba(78,78,78,0.15) 0%,
        rgba(65,65,65,0.15) 2%,
        rgba(59,59,59,0.15) 5%,
        rgba(56,56,56,0.15) 32%,
        rgba(54,54,54,0.15) 33%,
        rgba(53,53,53,0.15) 46%,
        rgba(51,51,51,0.15) 47%,
        rgba(50,50,50,0.15) 60%,
        rgba(48,48,48,0.15) 61%,
        rgba(42,42,42,0.15) 100%
    ), #343434;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.15),
      inset 0 1px 0 1px rgba(255,255,255,0.05),
      0 1px 2px rgba(0,0,0,0.7),
      0 2px 3px 2px rgba(9,9,9,0.6);
}
.cyber-link:hover {
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.05),
      inset 0 1px 0 1px rgba(255,255,255,0.02),
      0 2px 2px 1px rgba(9,9,9,0.5);
    opacity: 0.9;
}
.cyber-link.active {
    color: #00ffff !important;
    text-shadow: 
      0 0 35px rgba(255,255,255,0.4),
      0 0 25px #00ffff;
    background: 
      linear-gradient(transparent 50%, #2e2e2e 50%),
      #2d2d2d;
    background-size: 2px 2px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.4);
    position: relative;
}
.cyber-link.active::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 10%;
    right: 10%;
    height: 6px;
    background: radial-gradient(
      ellipse at center,
      rgba(0, 255, 221, 0.51) 0%,
      rgba(30,87,153,0.01) 53%,
      transparent 54%
    );
}
.cyber-link.active::after {
    content: '>';
    position: absolute;
    right: -15px;
    animation: cyber-blink 1s infinite;
} 
.navbar-toggler {
    border: 1px solid rgba(0, 255, 255, 0.3) !important;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 255, 255, 0.8)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
/* ------------------------------------------------------------------ */
/* ----------------------------ARQUIVO------------------------------- */
/* ------------------------------------------------------------------ */
.news {
    display: flex;
    width: 100%;
    justify-content: center;
}
.col-sm-2 {
    border: #009c9c 0.01em solid;
    width: 20%;
}
.col-lg-6 {
    width: 80%;
}
.archive-title {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 1rem;
    margin-top: 1rem;
    border-bottom: 1px solid #009c9c;
    font-weight: bold;
    padding-bottom: 1rem;
}
.lastposts {
    padding: 2px;
}
.sidebar-title {
    color: #6c757d;
    margin-bottom: 1rem;
    margin-top: 1rem;
}
.sidebar-post {
    margin-bottom: 1.5rem;
    border-radius: 6px;
    transition: transform 0.2s;
    
} 
.sidebar-thumb {
    width: 100%;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 0.5rem;
}
.sidebar-post-title {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    color: #00ffff;
}
.sidebar-excerpt {
    font-size: 0.8rem;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 0;
}
.archive-year {
    color: #00ffff;
    font-weight: bold;
    font-size: 1em;
    border-bottom: 1px solid #009c9c;
}
.archive-months {
    margin-left: 1rem;
}
.archive-day {
    margin-left: 1rem;
}
.archive-link {
    color: #8ad8d8 !important;
    text-decoration: none;
    transition: all 0.3s ease;
}
.archive-link:hover {
    color: #00ffff !important;
    text-shadow: 0 0 8px rgba(0,255,255,0.5);
}
.post-link {
    color: #00caca;
    font-family: 'Times New Roman', Times, serif;
    margin-left: 1rem;
}
/* ------------------------------------------------------------------ */
/* --------------------------POST CARD------------------------------- */
/* ------------------------------------------------------------------ */
.posttitle {
    font-size: 1.3rem;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color:rgb(255, 255, 255);
    text-shadow: 0 0px 0px transparent, 
    0 0 1px #00ffff, 
    0 0 1px transparent, 
    0 0 0px #00ffff, 
    0 0 25px #00ffff, 
    0 0 0 #00ffff, 
    0 0 5px #00ffff, 
    0 0 6px #00ffff;
    padding-bottom: 20px;
    padding-top: 10px;
    border-top: 1px solid #009c9c;
}
.action-buttons {
    display: flex;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #009c9c;
    margin-top: 20px;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
}
.posts { 
    display: flex;
    justify-content: center;
}
.card {
    font-size: 1em;
    font-family: 'Times New Roman', Times, serif;
    background-color: #202020;
    box-shadow: 
    -7px 0 10px #00000095, /* Esquerda */
    7px 0 10px #00000095,  /* Direita */
    0 -7px 10px #00000095, /* Topo */
    0 7px 10px #00000095;  /* Base */
    border: #009c9c 0.01em solid;
    margin: 20px;
    overflow: hidden;
    border-radius: 20px;
    margin: 10px auto;
    width: 70%;
    border-radius: 15px;
    
}
.post {
    width: 80%;
}
.specs-category {
    text-align: left;
}
/* ------------------------------------------------------------------ */
/* -------------------------INSTAGRAM BTN---------------------------- */
/* ------------------------------------------------------------------ */
.instagram-controls-container {
    display: flex;
    align-items: center;
    gap: 5px;
    width: calc(100% - 30px); /* Compensar o padding */
    background-color: inherit;
    border-top: 1px solid #009c9c55;
}
.control-group {
    display: flex;
    align-items: center;
    gap: 6px;
}
.instagram-btn {
    border: none;
    background: none;
    padding: 8px;
    cursor: pointer;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.instagram-btn:hover {
    color: #ffffff;
    text-shadow: 1px 1px 3px #00eeff;
}
.instagram-btn:active {
    transform: scale(0.92);
    animation: animate 0.5s ease-in-out;
}
.counter {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    color: #ffffff;
    font-weight: 600;
} 
.liked .bi-heart {
    color: #ed4956 !important;
    fill: currentColor;
    animation: like-pop 0.45s ease;
}
@keyframes like-pop {
    0% { transform: scale(1); }
    50% { transform: scale(2); }
    100% { transform: scale(1); }
}
/* ------------------------------------------------------------------ */
/* -------------------------NEON BUTTONS----------------------------- */
/* ------------------------------------------------------------------ */
.btn {
    font-size: 1em;
    display: inline-block;
    margin-bottom: 5px;
    cursor: pointer;
    text-decoration: none;
    border-radius: 0.5em;
    position: relative;
    color: var(--clr-one);
    border: var(--clr-one) 0.125em solid;
    text-shadow: 0 0 0.125em hsl(0 0% 100% / 0.3), 0 0 0.45em --clr-one;
    box-shadow: inset 0 0 0.5em 0 var(--clr-one), 0 0 0.5em 0 var(--clr-one);
}  
.btn:hover {
    transform: translateY(-2px);
    
} 
.btn::before {
    content: "";
    position: absolute;
    top: 120%;
    left: 0;
    width: 100%;
    height: 100%;
    transform: perspective(1.5em) rotateX(45deg) scale(0.8, 0.3);
    filter: blur(1.5em);
    opacity: 0.7;
    pointer-events: none;
} 
.btn.active::before {
    animation: scalingShadow 0.5s ease-in-out;
}  
@keyframes scalingShadow {
    0% {
      top: 120%;
      transform: perspective(1.5em) rotateX(45deg) scale(0.8, 0.3);
    }
    50% {
      top: 165%;
      transform: perspective(1.5em) rotateX(45deg) scale(0.75, 0.3);
    }
    100% {
      top: 120%;
      transform: perspective(1.5em) rotateX(45deg) scale(0.8, 0.3);
    }
} 
.btn::before {
    background: var(--clr-one);
}
.btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    z-index: -1;
    transition: opacity 100ms linear;
}
.btn::after {
    box-shadow: 0 0 2em 0.5em var(--clr-one);
    background-color: var(--clr-one);
}
.btn:hover::before,
.btn:focus::before {
    opacity: 1;
}
.btn:hover::after,
.btn:focus::after {
    opacity: 1;
}
.btn:hover,
.btn:focus {
    outline: none;
    color: var(--clr-bg);
    text-shadow: none;
}
.btn:active {
    animation: animate 0.5s ease-in-out;
}
@keyframes animate {
    0% {
      transform: translateY(0%);
    }
    50% {
      transform: translateY(-40%);
    }
    100% {
      transform: translateY(0%);
    }
}
.btn-link {
    color: #00ffff !important;
    padding: 3px 0;
}
.btn-link:hover {
    text-decoration: none;
    filter: brightness(120%);
}
/* ------------------------------------------------------------------ */
/* ------------------------------FORM-------------------------------- */
/* ------------------------------------------------------------------ */
.form {
    display: flex;
    justify-content: center;
}
.contactForm {
    padding: 10%;
}
.form-control {
    background-color: #212121;
    box-shadow: 
    -7px 0 10px #00000095, /* Esquerda */
    7px 0 10px #00000095,  /* Direita */
    0 -7px 10px #00000095, /* Topo */
    0 7px 10px #00000095;  /* Base */
    border: #009c9c 0.01em solid;
    border-radius: 10px;
    transition: 
        background-color 0.3s ease-in-out,
        border-color 0.3s ease-in-out,
        box-shadow 0.3s ease-in-out;
}
.form ::placeholder {
    color: rgba(255, 255, 255, 0.466);
}
.form-control:focus {
    background-color: #181818 !important; 
    border-color: #00ffff !important; 
    box-shadow: 0 0px 0px transparent, 
    0 0 1px #00ffff, 
    0 0 1px transparent, 
    0 0 0px #00ffff, 
    0 0 25px #00ffff, 
    0 0 0 #00ffff, 
    0 0 5px #00ffff, 
    0 0 6px #00ffff;
    color:white;
}
.btn-control {
    color: rgb(156, 156, 156);
}
.btn-control:hover {
    color:#00ffff;
    text-shadow: 0 0px 0px transparent, 
    0 0 1px #00ffff, 
    0 0 1px transparent, 
    0 0 0px #00ffff, 
    0 0 25px #00ffff, 
    0 0 0 #00ffff, 
    0 0 5px #00ffff, 
    0 0 6px #00ffff;
}
.btn-control:active {
    color:#00ffff;
    text-shadow: 0 0px 0px transparent, 
    0 0 1px #00ffff, 
    0 0 1px transparent, 
    0 0 0px #00ffff, 
    0 0 25px #00ffff, 
    0 0 0 #00ffff, 
    0 0 5px #00ffff, 
    0 0 6px #00ffff;
}
.btn-primary {
    background-color: #18181800 !important;
    border-color: var(--clr-one, #00ffff) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.btn-primary:hover {
    background-color: #00ffff !important;
    border-color: var(--clr-one, #00ffff) !important;
    box-shadow: 5px 5px 15px rgb(0, 255, 255),
                -5px -5px 15px rgb(0, 255, 255) !important;
}   
.btn-primary:active,
.btn-primary:focus-visible,
.btn-primary:focus:not(:focus-visible) {
    background-color: #00ffff !important;
    border-color: var(--clr-one, #00ffff) !important;
    box-shadow:
    0 0 20px rgba(0, 255, 255, 0.8),
    inset 0 4px 8px rgba(0, 0, 0, 0.3) !important;
}
/* ------------------------------------------------------------------ */
/* --------------------------FORM ALERTS----------------------------- */
/* ------------------------------------------------------------------ */
.message {
    padding: 15px;
    margin: 10px auto;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}  
.success {
    background: #282828;
    color: #00ff3c;
    border: 1px solid #00ffff;
    text-shadow: 1px 1px 1px #000000;
    border-radius: 30px;
}
.error {
    background: #282828;
    color: #ff0019;
    border: 1px solid #00ffff;
    text-shadow: 1px 1px 1px #000000;
    border-radius: 30px;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px) translateX(-50%); }
    to { opacity: 1; transform: translateY(0) translateX(-50%); }
}
  

/* ------------------------------------------------------------------ */
/* ------------------------RESPONSIVIDADE---------------------------- */
/* ------------------------------------------------------------------ */

/* Telas médias (tablets, 992px para baixo) */
@media (max-width: 900px) {
    .card {
        margin: 10px auto;
        width: 80%;
        border-radius: 15px;
    }
}

/* Telas pequenas (celulares, 768px para baixo) */
@media (max-width: 768px) {
    main {
        margin-left: 0;
        margin-right: 0;
    }

    .navbar-collapse {
        background: #242424;
        margin-top: 10px;
    }

    .cyber-nav {
        position: fixed;
        padding: 10px;
    }

    .cyber-link {
        width: 100%;
        margin: 5px 0;
        text-align: center;
    }

    .card {
        margin: 10px auto;
        width: 100%;
        border-radius: 15px;
    }

    .post img {
        max-width: 100%;
        height: auto;
    }

    h1 {
        font-size: 2.5em;
        padding-top: 100px;
    }

    h3 {
        font-size: 1.1rem;
    }

    .action-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .btn {
        font-size: 0.8em;
        padding: 6px 12px;
        margin: 3px;
    }

    .instagram-controls-container {
        justify-content: center;
    }

    .contactForm {
        padding: 5%;

    }

    .news {
        display: block;
        justify-content: center;
        padding-right: 6%;
    }

    .col-sm-2 {
        width: 100%;
    }

    .col-lg-6 {
        width: 100%;
        border-bottom: 1px solid #009c9c;
    }

    .archive-title {
        font-size: 1rem;
        margin-bottom: 1px;
    }

}


@media (max-width: 576px) {
    main {
        margin-left: 0;
        margin-right: 0;
    }

    .navbar-collapse {
        background: #242424;
        margin-top: 10px;
    }

    .cyber-nav {
        position: fixed;
        padding: 10px;
    }

    .cyber-link {
        width: 100%;
        text-align: center;
        height: 2rem;
    }

    .card {
        margin: 10px auto;
        width: 100%;
        border-radius: 15px;
    }

    .post img {
        max-width: 100%;
        height: auto;
    }

    h1 {
        font-size: 2.5em;
        padding-top: 100px;
    }

    h3 {
        font-size: 1.1rem;
    }

    .action-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .btn {
        font-size: 0.8em;
        padding: 6px 12px;
        margin: 3px;
    }

    .instagram-controls-container {
        justify-content: center;
    }

    .contactForm {
        padding: 5%;

    }

    .news {
        display: block;
        justify-content: center;
        padding-right: 6%;
    }

    .col-sm-2 {
        border: 0;
        width: 100%;
    }

    .col-lg-6 {
        width: 100%;
        border-bottom: 1px solid #009c9c;
    }

    .archive-title {
        font-size: 1rem;
        margin-bottom: 5px;
        border-bottom: 1px solid #009c9c;
    }
}