:root {
    --color-html: #E44D26;
    --color-css: #1572B6;
    --color-js: #538260;
    --color-highlight: #008080;
    --color-grid: rgba(0,0,0,0.08);
    --color-main-text: #333;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F8F8F8;
    background-image: url('img/fondo.jpg');
    color: var(--color-main-text);
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.new-header-banner {
    background-color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-bottom: 2px solid #ccc;
}

.header-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #eee;
    padding: 5px 10px;
    border-radius: 5px 5px 0 0;
    font-size: 0.9em;
    color: #666;
    border: 1px solid #ccc;
    border-bottom: none;
}

.domain-info {
    flex-grow: 1;
    text-align: center;
}

.url {
    background-color: white;
    padding: 3px 10px;
    border-radius: 15px;
    border: 1px solid #ddd;
}

.browser-controls .control-icon {
    margin-left: 10px;
    font-size: 1.1em;
}

/* Contenido principal del título */
.header-main-content {
    padding: 15px 20px 20px 20px;
}

.section-title {
    font-size: 1em;
    font-weight: 300;
    color: #888;
    margin: 0 0 5px 0;
}

#logo-isil{
    border-radius: 50%;
    width: 100px;
    height: auto;
    object-fit: contain;
    padding-bottom: 5px;
}

.title-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 4px solid var(--color-highlight);
    padding-bottom: 10px;
}

.web-title {
    display: flex;
    font-size: 2em;
    font-weight: 800;
    text-shadow: 5px 8px 15px rgb(0, 0, 0);
    color: rgb(4, 134, 255);
    background-color:#ffffff;

    
    margin-bottom: 4%;
}



.intro-text p {
    line-height: 1.6;
    margin: 15px 0;
}

.highlight, .structure, .style, .interaction {
    font-weight: 700;
}
.highlight { color: black; }
.structure { background-color: yellow; }
.style { background-color: yellow; }
.interaction { background-color: yellow; }


.definitions-flex {
    display: flex;
    margin: 5px;
    padding: 10px;
    border: 5px solid;
    justify-content: space-between;
    gap: 12px;
}

.card {
    flex: 1;
    background-color: white;
    padding: 15px;
    border: 2px solid #000000;
    border-radius: 1px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
    min-height: 350px;
}

.box-title {
    display: block;
    padding: 5px 10px;
    color: white;
    font-weight: 700;;
    border-radius: 4px;
    margin-bottom: 10px;
    text-align: center;
}

.html-box { 
    background-color: var(--color-html);

}
.css-box { background-color: var(--color-css); }
.js-box { background-color: var(--color-js); } 

.logo-container {
    text-align: center;
}

.logo {
    width: 80px;
    height: 150px;
    object-fit: cover;
}

.analogy-flex {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 5px;
    padding: 10px;
    border: 5px solid #000000;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.analogy-card {
    flex: 1;
    padding: 10px;
    border: 1px solid #000000;
    border-radius: 2px;
    background-color: #F0F0F0;
}

.analogy-title {
    font-weight: 700;
    font-size: 1.1em;
    padding: 3px 0;
    text-align: center;
    color: white;
    margin-bottom: 5px;
    border-radius: 3px;
}

.html-title { background-color: var(--color-html); }
.css-title { background-color: var(--color-css); }
.js-title { background-color: var(--color-js); }


.summary-image-section {
    text-align: center;
    margin: 40px ;
}

.summary-image {
    width: 500px;
    height: 200px;
    /* SOMBRA */
    box-shadow: 10px 10px 8px rgba(0,0,0,0.3); 
    /* BORDES */
    border: 3px solid #666; 
    border-radius: 5px;
}

/* Resumen y Línea */
.summary-section {
    background-color: white;
    padding: 2px;
    border: 1px solid #000000;
    box-shadow: 0px 10px 10px rgba(0,0,0,0.3);
    border-radius: 8px;
    margin-bottom: 50px;
}

.line-separator {
    border-top: 4px solid var(--color-highlight); 
    margin: 20px 0 20px 0;
}

.summary-section p {
    font-style: italic;
    color: #555;
    text-align: center;
    font-size: 17px;
}