/* Lora Font */
/* lora-regular - latin_math_symbols */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/lora-v37-latin_math_symbols-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lora-italic - latin_math_symbols */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/lora-v37-latin_math_symbols-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lora-700 - latin_math_symbols */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lora';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/lora-v37-latin_math_symbols-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lora-700italic - latin_math_symbols */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lora';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/lora-v37-latin_math_symbols-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /* background: url('images/sierpinski-carpet.png') no-repeat center center fixed;
    background-size: cover; */
    background-color: black;
}

body {
    font-family: 'Lora';
    /* background: rgb(36, 36, 36); */
    background: url('images/sierpinski-carpet.png') no-repeat center center fixed;
    background-size: cover;
    padding: 20px;
    min-height: 100vh;
}

.header {
    text-align: center;
    padding: 15px 0;
}

.header h1 {
    font-size: 48px;
    color: rgb(152,147,218);
    font-weight: bold;
    margin: 0;
}

.header .subtitle1 {
    color: rgb(152,147,218);
    margin-bottom: 20px;
}

.header h2 {
    color: #FFFFE3;
    margin-bottom: 5px;
}

.header .subtitle2 {
    color: #FFFFE3;
    margin-bottom: 15px;
    font-size: 18px;
}

.header h3 {
    color: #FFFFE3;
    margin-bottom: 15px;
    font-size: 20px;
}

.container {
    max-width: 95%;
    margin-bottom: 24px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    background: rgb(0, 0, 0);
    color: #FFFFE3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.tabs {
    display: flex;
    background: rgb(34, 34, 34);
    border-bottom: 2px solid rgb(201, 190, 182);
}

.tab {
    flex: 1;
    padding: 15px 20px;
    text-decoration: none;
    background: transparent;
    border: none;
    font-size: 16px;
    color: #FFFFE3;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
    display: block;
}

.tab:hover {
    /* background: rgb(240, 226, 216); */
    background: rgb(83, 81, 122);
    /* color: #212529; */
    color: #FFFFE3;
}

.tab.active {
    background: #FFFFE3;
    color: rgb(83, 81, 122);
    font-weight: bold;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgb(83, 81, 122);
}

.content {
    padding: 30px;
}

/* Columns business */
.content-columns1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
}

.content-columns2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
}

.content-columns3 {
    column-count: 3;
    column-gap: 20px;
}

.column {
    border: 3px solid #FFFFE3;
    border-radius: 10px;
    padding: 15px;
}

.column img {
    max-width: 100%;
    height: auto;
    display: block;
}

.content-columns3 .column {
    break-inside: avoid;
    border: 3px solid #FFFFE3;
    border-radius: 10px;
    padding: 0px;
    margin-bottom: 20px;
}

/* General text */
p {
    color: #FFFFE3;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}

.highlight {
    color: rgb(152, 147, 218);
    font-weight: bold;
}

ul {
    margin-left: 20px;
    color: #FFFFE3;
}

li {
    margin-bottom: 8px;
}

a {
    color: rgb(152, 147, 218);
    text-decoration: underline;
}

a:hover {
    color: rgb(112, 109, 163);
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 12px;
    }

    .header h1 {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .header h2 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .header .subtitle1 {
        margin-bottom: 12px;
        font-size: 14px;
    }

    .header .subtitle2 {
        margin-bottom: 10px;
        font-size: 14px;
    }

    .header h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .container {
        margin-bottom: 16px;
        border-radius: 6px;
        max-width: 100%;
    }

    .tab {
        padding: 12px 15px;
        font-size: 14px;
    }

    .content {
        padding: 20px;
    }

    .content-columns2 {
        grid-template-columns: 1fr;
    }

    .content-columns3 {
        column-count: 1;
    }

    .column {
        padding: 12px;
        border: 2px solid #FFFFE3;
    }

    .content-columns3 .column {
        margin-bottom: 15px;
    }

    p {
        font-size: 14px;
        margin-bottom: 12px;
        text-align: justify;
    }

    ul {
        margin-left: 16px;
        font-size: 14px;
    }

    li {
        margin-bottom: 6px;
    }
}

/* Extra small devices (phones) */
@media (max-width: 480px) {
    body {
        padding: 0;
    }

    .header {
        padding: 8px 0;
    }

    .header h1 {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .header h2 {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .header .subtitle1 {
        margin-bottom: 8px;
        font-size: 12px;
    }

    .header .subtitle2 {
        margin-bottom: 8px;
        font-size: 12px;
    }

    .header h3 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .container {
        margin-bottom: 12px;
        max-width: 100%;
        border-radius: 0;
    }

    .tabs {
        flex-wrap: wrap;
    }

    .tab {
        padding: 10px 12px;
        font-size: 12px;
        flex: 1 1 auto;
    }

    .content {
        padding: 8px;
    }

    .column {
        padding: 5px;
        border: 2px solid #FFFFE3;
    }

    p {
        font-size: 13px;
        margin-bottom: 10px;
        text-align: justify;
    }

    ul {
        margin-left: 14px;
        font-size: 13px;
    }

    li {
        margin-bottom: 5px;
    }
}