html, body {
  height: 100%;
  min-height: 100%;
}

body {
    background-color: #1c3d56;
    align-items: center;
    color: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}





@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

body, footer, footer *, header, main {
  font-family: "Roboto", sans-serif !important;
}

* {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
}
/* CSS Header */
header {
    width: 100%;
    display: flex;
    background-color: #f4f4f4;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}

#navbar-ul {
    display: flex;
    gap: 50px;
    margin: 25px;
    color: #1c3d56;
    text-decoration: none;
    transition: max-height 0.3s;
}

#menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 20;
}
#menu-toggle .bar {
    width: 28px;
    height: 4px;
    background: #1c3d56;
    margin: 4px 0;
    border-radius: 2px;
    display: block;
    transition: 0.3s;
}



#navbar-ul a {
    color: #1c3d56;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

#navbar-ul a::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: #1c3d56;
    transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
}

#navbar-ul a:hover::after {
    width: 100%;
}

header img {
    width: 60px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}



main{
    margin-top: 70px;
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    padding-bottom: 50px
}
a{
    
    color: white;
    text-decoration: none;
}
a:hover{
    color: #B0B0B0;
}
main li{
    display: flex;
    align-items: center;
    padding: 10px 0px;
}
main h2{
    font-size: 2rem;
    color: #B0B0B0;
    font-weight: bold;
}
main h1{
    font-size: 3rem;
    padding: 20px 0px;
    font-weight: 600;
}



.icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
}

iframe{
    margin-top: 20px;
    border-radius: 10px;
}


@media (max-width: 900px) {
    main {
        width: 98%;
        padding: 10px;
    }
    main h1 {
        font-size: 1.6rem;
        text-align: center;
    }
    main h2 {
        font-size: 1.2rem;
        text-align: center;
    }
    main ul {
        padding: 0;
    }
    main ul li {
        font-size: 1rem;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }
    .icon {
        width: 28px;
        height: 28px;
        margin-right: 8px;
        padding-right: 0;
    }
    iframe {
        width: 100% !important;
        height: 300px !important;
        margin-top: 10px;
    }

     footer>div{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

@media (max-width: 600px) {
    main {
        width: 100%;
        padding: 5px;
    }
    main h1 {
        font-size: 1.5rem;
        padding: 5px 0;
        text-align: center;
    }
    main h2 {
        font-size: 1rem;
        padding: 5px 0;
        text-align: center;
    }
    main ul li {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }
    .icon {
        width: 22px;
        height: 22px;
        margin-right: 6px;
        padding-right: 0;
    }
    iframe {
        width: 100% !important;
        height: 150px !important;
    }

   #menu-toggle {
        display: block;
        margin-right: 5px;
    }
    nav {
        width: 100%;
    }
    #navbar-ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #f4f4f4;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        margin: 0;
        padding: 0;
        width: 100vw;
        max-height: 0;
        overflow: hidden;
        box-shadow: 0 4px 16px rgba(0,0,0,0.07);
        border-bottom: 1px solid #e0e0e0;
        z-index: 15;
        transition: max-height 0.3s;
    }
    #navbar-ul.open {
        max-height: 300px;
        padding: 10px 0 10px 0;
    }
    #navbar-ul li {
        width: 100%;
        padding: 0;
        margin: 0;
        border-bottom: 1px solid #e0e0e0;
    }
    #navbar-ul li:last-child {
        border-bottom: none;
    }
    #navbar-ul a {
        display: block;
        width: 100%;
        padding: 14px 24px;
        font-size: 1.1rem;
        color: #1c3d56;
        background: none;
        border: none;
        text-align: left;
    }
    #navbar-ul a:hover {
        background: #e7e7e7;
        color: #497496;
    }
    header {
        flex-wrap: wrap;
        padding: 0 0 0 8px;
    }

    footer>div {
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
        width: 90%;
       
    }
    #footer-sobre, #footer-links, #footer-contatos {
        width: 100%;
        align-items: center;
        text-align: center;
        margin-bottom: 18px;
    }
    #footer-sobre>div {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }
    #footer-sobre>div>img {
        width: 60px;
    }
    #footer-sobre>div>h2 {
        display: none;
    }
    #footer-sobre>p {
        width: 90%;
        margin: 12px auto 0 auto;
        font-size: 0.95rem;
    }
    #footer-links>h2, #footer-contatos>h2 {
        font-size: 1rem;
        padding-top: 10px;
    }
    #footer-links>ul, #footer-contatos ul {
        padding: 0;
        margin: 0 auto;
        width: 100%;
        font-size: 0.95rem;
    }
    #footer-links>ul li, #footer-contatos li {
        margin-bottom: 8px;
        justify-content: center;
        font-size: 0.95rem;
    }
    .icon {
        width: 18px;
        height: 18px;
        margin-right: 6px;
    }
    footer>p {
        width: 95%;
        font-size: 0.85rem;
        margin: 10px auto 0 auto;
        text-align: center;
    }
}

/*CSS FOOTER*/

footer
{
    background-color: #262626;
    width: 100%;
    padding-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
}

footer>div
{
    display: flex;
    padding: 30px;
    justify-content: space-between;
    width: 90%;
    border-bottom: 10px solid #404040;
}

#footer-sobre
{
    display: flex;
    flex-direction: column;
}

#footer-sobre>div
{
    display: flex;
}

#footer-sobre>div>img
{
    width: 100px;

}

#footer-sobre>div>h2
{
    align-self: flex-end;
    font-size: 1.3rem;
    font-weight: 700;

}

#footer-sobre>p
{
    width: 300px;
    margin-top: 30px;
}

#footer-links
{
    text-align: center;
}

#footer-links>h2
{
    font-size: 1.2rem;
    font-weight: 600;
    padding-top: 33px;
}

#footer-links>ul
{
    line-height: 35px;
    text-align: center;
    margin: 0px;
    padding: 0px;
    width: 100%;
    list-style-type: none;
}

footer a,
footer p,
footer li {
    text-decoration: none;
    color: #b0b0b0;
}

#footer-contatos
{
    display: flex;
    flex-direction: column;
}

#footer-contatos>h2
{
    font-size: 1.2rem;
    margin-bottom: 10px;
}

#footer-contatos li
{
    margin-bottom: 10px;
    display: flex;
    align-items: center;

}

#footer-contatos>h2
{
    padding-top: 32px;
    padding-left: 30px;
    font-weight: 700;
}

footer>p
{
    margin-top: 13px;
    width: 85%;
}

footer a:hover
{
    color: white;
}

.icon
{
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
}




