:root {
    --primary-color: #3cc8b5; /* Turquesa */
    --secondary-color: #ffffff; /* branquin */
    --background-color: #000000; /* fundo geral */
    --section-background: #111111; /* fundo seção */
    --hover-color: #25d3d3; /* hover */
    --max-width: 1100px; /* largura do conteúdo */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--secondary-color);
    line-height: 1.6;
}

header {
    background: var(--section-background);
    padding: 20px;
    text-align: center;
}

header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

nav a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
    font-size: 1.1rem;
    border-right: 1px solid #ccc;
    padding: 0 15px;
}

.filosofia{
    border: none;
  }

nav a:hover {
    color: var(--hover-color);
}

main {
    max-width: var(--max-width);
    margin: 40px auto;
    padding: 0 20px;
}

section {
    margin-bottom: 80px;
}

.content {
    background: var(--section-background);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.content:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px var(--secondary-color);
}

.left-img .content {
    flex-direction: column-reverse;
}

.contentCima{
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.contentBaixo{
border-end-start-radius: 12px;
border-end-end-radius: 12px;
}

@media (min-width: 768px) {
    .content {
        flex-direction: column;
        justify-content: flex-start;
        align-items: start;
    }

    .left-img .content {
        flex-direction: row-reverse;
        align-items: start;
    }

    .left-img .content.mediaMeio{
        align-items: center;
    } 
}

.media video {
    max-width: 100%;
    height: 100%;
    border-radius: 10px;
    transition: transform 0.3s;
}

.media video:hover {
    transform: scale(1.05);
}

.text {
    flex: 1;
    padding: 10px 20px;
}

.text h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: 900;
}

.text p {
    font-size: 1.1rem;
    text-align: justify;
}

.media {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.media img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s;
}

.media img:hover {
    transform: scale(1.05);
}

pre.styled-code {
    font-size: 0.7rem;
    line-height: 1.5;
    background: #1e1e1e;
    color: #dcdcdc;
    padding: 1em 1.2em;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.08);
    overflow: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #3cc8b5;
    position: relative;
}

pre.styled-code.Baixo{
    border-right: 4px solid #3cc8b5;
    border-left: none;
}

pre.styled-code:hover {
    transform: scale(1.05);
    transition: transform 0.3s;
}

pre.line-numbers {
    padding-left: 3.2em !important;
}

pre.line-numbers .line-numbers-rows > span:before {
    font-size: 0.7rem;
    color: #666;
    padding-right: 0.5em;
}

.contentCimaO .text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.lamp-container {
  display: flex;
  justify-content: center;
  margin: 40px auto;
  width: fit-content;
  cursor: pointer;
}

.lamp {
  width: 400px;
  height: 400px;
  transition: all 0.3s ease;
  animation: swing 3s ease-in-out infinite;
}

.bulb {
  transition: fill 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 0 10px #ffeb3b);
}

.lamp.off .bulb {
  fill: #aaa;
  filter: none;
}

@keyframes swing {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(1deg); }
  75% { transform: rotate(-1deg); }
}

footer {
    background: var(--section-background);
    padding: 15px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--secondary-color);
}