/* RESET CSS */
* {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
}

html {
    overflow: auto;
}

body {
    line-height: 1;
    padding: 0 !important;
}

ol,
ul {
    list-style: none;
}

/* NAV */
#logo-container {
    display: flex;
    justify-content: left;
    padding: 1em;
    margin: 1% 0;
}

#arrow-left-header {
    width: 25px;
    height: 25px;
    border: solid #333;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    margin-left: 3em;
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

#atomic-numer {
    color: #fff;
    background-color: #61B323;
    padding: 10px;
}

#pageTitle {
    display: inline;
    text-align: left;
    font-size: 2.5em;
    margin-left: 1em;
    margin-top: 0.5em;
    color: #333;
    text-decoration: none;
}

a {
    text-decoration: none;
    color: #333;
}

#myTopnav {
    text-align: center;
    width: 100%;
    position: relative;
    height: auto;
    overflow: hidden;
    background: none;
    border-bottom: 1px solid #436436;
}

nav ul {
    text-align: center;
}

nav ul li {
    display: inline-block;
    border-bottom: 4px solid #436436;
    border-radius: 25px 25px 0 0;
    margin: 0 3px;
    opacity: 0.85;
    transition: all .5s ease-in-out;
}

nav ul li:hover {
    opacity: 1;
    scale: 1.1;
}

#myTopnav ul li a {
    display: inline-block;
    padding: 1em 2em;
    font-size: 1.2em;
}

.active {
    text-transform: uppercase;
    font-weight: bold;
    opacity: 1;
}

#fa-bars-menu {
    display: none;
}

/* FOOTER */
footer {
    position: sticky;
    width: 100%;
}

#footer-nav ul {
    text-align: center;
}

#footer-nav ul li {
    display: inline-block;
    border-radius: 10px;
    margin: 3% 15%;
    text-align: center;
    max-width: 270px;
    min-width: 100px;
    line-height: 60px;
    padding: 10px 40px;
    transition: all .5s ease-in-out;
}

#footer-nav ul li:hover {
    scale: 1.1;
}

#footer-nav ul li a {
    color: #fff;
    text-transform: uppercase;
    font-size: 0.95em;
    display: block;
    font-weight: bolder;
}

#footer-nav ul li:first-child {
    background-color: #F88C8C;
}

#footer-nav ul li:nth-child(2) {
    background-color: #436436;
}

#footer-info {
    text-align: center;
    padding: 1em;
    background-color: rgba(201, 227, 172, 0.5);
    border-top: 1px solid #C9E3AC;
}

#arrow-left-footer {
    width: 10px;
    height: 10px;
    border: solid #ffff;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    vertical-align: sub;
}

#arrow-right-footer {
    width: 10px;
    height: 10px;
    border: solid #ffff;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(315deg);
    -webkit-transform: rotate(315deg);
    vertical-align: sub;
}

/* Home button styles */
.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: 1rem;
    background-color: #FF4700;
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.home-button i {
    font-size: 1rem;
}

.home-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.2);
    background-color: #e24000;
}

/* Mobile tweaks: keep size tappable */
@media screen and (max-width: 768px) {
    .home-button {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
    .home-button i {
        font-size: 1.1rem;
    }
}

/* RESPONSIVE DESIGN */
@media only screen and (min-width: 1380px) {
    body {
        overflow-x: hidden;
    }

    nav ul {
        padding-top: 7px;
    }
}

@media only screen and (max-width: 1380px) {
    #myTopnav ul li {
        margin: 15px;
    }

    #myTopnav ul li {
        border-radius: 25px;
    }
}

@media only screen and (max-width: 992px) {

    /* RESPONSIVE NAV */
    #arrow-left-header {
        width: 15px;
        height: 15px;
        margin-left: 1em;
    }

    #pageTitle {
        font-size: 2em;
    }

    #myTopnav ul li {
        margin: 0;
        border-bottom: none;
    }

    .topnav>ul>li:not(.active) {
        display: none;
    }

    .topnav>ul>li.active {
        width: 100%;
    }

    .topnav>ul>li#fa-bars-menu {
        display: block;

        position: absolute;
        right: 0;
        top: 0;
        width: 20%;
    }

    #myTopnav ul li {
        border-radius: 0;
    }

    .topnav.responsive {
        position: relative;
    }

    .topnav.responsive>ul>li {
        float: none;
        display: block;
        text-align: left;
    }

    #myTopnav ul {
        text-align: left;
    }
}