/* reset */
* {
    box-sizing: border-box;
}

/* Base HTML & Body */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-size: 15px;
    line-height: 1.5;
    font-family: "Lato", sans-serif;
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header & Navigation */
header {
    background-color: black;
    color: white;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

nav {
    width: 100%;
    max-width: 2000px;
    margin: 0 auto;
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    color: inherit;
    text-decoration: none;
    font-size: 15px;
    padding: 8px 16px;
    transition: background-color 0.3s, color 0.3s;
}

nav a:hover {
    color: rgba(3, 226, 255, 0.812);
}

#logo-senai {
    font-size: 1.7em;
    font-weight: bold;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Segoe UI", Arial, sans-serif;
    font-weight: 400;
    margin: 10px 0;
}

h2 {
    font-size: 30px;
}

/* General Layout & Utility Classes */
.button-ipi {
    text-align: center;
    white-space: normal;
}

.content-ipi {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    flex-grow: 1;
    margin-top: 50px;
}

.container-ipi {
    padding: 0.01em 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.to-right-ipi, .to-left-ipi {
    float: none !important;
}

.padding-large {
    padding: 12px 24px !important;
}

.padding-64 {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
}

.wide-ipi {
    letter-spacing: 4px;
}

.opacity-ipi {
    opacity: 0.60;
}

.justify-ipi {
    text-align: justify;
}

.center-ipi {
    text-align: center;
}

.padding-32 {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
}

/* Mural Section */
#mural {
    padding-left: 200px;
    padding-right: 200px;
    width: 100%;
    background-color: black;
    color: white;
}

/* Card Button */
.btn-card-ipi {
    background-color: black;
    color: #fff;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

.btn-card-ipi:hover {
    background-color: rgba(3, 226, 255, 0.812);
    color: black;
    opacity: 0.8;
}

/* Section Styling */
section {
    width: 100%;
    padding: 20px;
    margin: 0 auto;
}

section p.justify-ipi {
    width: auto;
    margin: auto;
    padding: 10px;
}

section.cardBox-ipi {
    background-color: white;
    color: black;
}

.italic-ipi {
    font-style: italic;
}

/* Footer */
footer {
    background-color: gainsboro;
    width: 100%;
    min-height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    text-align: center;
}

.footer-copyright {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin: 0;
    padding: 0;
}

/* Media Queries */

/* Tablets and smaller screens */
@media (max-width: 768px) {
    h2 {
        font-size: 24px;
    }

    .wide-ipi {
        letter-spacing: 2px;
    }

    section p.justify-ipi {
        padding: 10px 20px;
    }

    .padding-large {
        padding: 8px 16px !important;
    }

    .padding-64 {
        padding-top: 32px !important;
        padding-bottom: 32px !important;
    }

    #logo-senai {
        font-size: 1.5em;
    }

    footer {
        min-height: 30vh;
    }

    .footer-copyright {
        font-size: 1em;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    nav {
        flex-direction: column;
        padding: 5px 10px;
    }

    nav a {
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    #logo-senai {
        margin-bottom: 10px;
    }

    h2 {
        font-size: 20px;
    }

    .wide-ipi {
        letter-spacing: 1px;
    }

    .padding-32 {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    footer {
        min-height: 20vh;
    }
}