body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #4b4b4b;
}

.logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 190px;
    height: 115px;
    margin-left: 370%; 
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    padding: 5px 1%;
    position: fixed;
    top: 0;
    width: 100%;
    height: 116px;
    z-index: 10;
    box-shadow: 3px 0 5px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
    font-size: 20px;
    font-weight: bold;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: right;
    width: 30px;
    height: 25px;
    cursor: pointer;
    margin-left: 80%;
    
}

@media (max-width: 768px) {
    .logo img {
        max-width: 130px;
        max-height: 90px;
        margin-left: 80%;
    }

    .menu-icon {
        font-size: 20px;
        margin-left: 40%;
    }
}

.menu-icon .bar {
    width: 100%;
    height: 3px;
    background-color: rgb(66, 66, 66);
}

.menu-icon div {
    width: 100%;
    height: 4px;
    background-color: rgb(77, 77, 77);
}

.menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: #444;
    color: white;
    transition: right 0.3s ease, opacity 0.3s ease;
    padding: 20px;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 20;
    opacity: 0;
    visibility: hidden;
}

.menu ul {
    list-style: none;
    padding: 0;
}

.menu ul li {
    margin: 15px 0;
}

.menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.menu.active {
    right: 0;
    opacity: 1;
    visibility: visible;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 15;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.close-btn:hover {
    color: rgb(0, 140, 255);
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: rgb(0, 0, 0);
    border-radius: 10px;
    text-align: center;
    display: none;
    z-index: 30;
    filter: none; /* Garante que o popup não seja borrado */
}

.popup-content {
    filter: none; /* Certifica-se de que o conteúdo do popup permaneça nítido */
    background: #FFFFFF url("../files/logo_minimalista.PNG") no-repeat right top fixed;
    height: 400px;
    width: 500px;
    margin-left: 35%;
    margin-top: 10%;
    border-radius: 10px;
    padding-top: 100px;
    padding-left: 1%;
    padding-right: 1%;
    
}

.popup.active {
    display: block;
}

.popup button {
    margin-top: 10%;
    padding: 10px 20px;
    border: none;
    background-color: rgb(65, 154, 255);
    color: white;
    cursor: pointer;
    border-radius: 5px;
}

.popup button:hover {
    background-color: rgb(0, 56, 139);
}

/* Menu Lateral Fixo 
.sidebar {
    position: fixed;
    top: 95px;
    left: 1px;
    background-color: #7a3838;
    width: 185px;
    height: calc(59% - 90px);
    padding: 10px;
    padding-top: 200px; 
} */

/*.sidebar a {
    display: block;
    margin-bottom: 10px;
    color: #000000;
    text-decoration: none;
    font-weight: bold;
}

.sidebar a:hover {
    color: #3395fd;
} */

/*.sidebar button {
    font-size: 18px;
    color: #e1e1e1;
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
    position: relative;
    border: none;
    background: none;
    text-transform: uppercase;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 400ms;
    transition-property: color;
  }
  
  .sidebar button:focus,
  .sidebar button:hover {
    color: #fff;
  }
  
  .sidebar button:focus:after,
  .sidebar button:hover:after {
    width: 100%;
    left: 0%;
  }
  
  .sidebar button:after {
    content: "";
    pointer-events: none;
    bottom: -2px;
    left: 50%;
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: #fff;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 400ms;
    transition-property: width, left; 
  } */

/* Conteúdo Principal */
main {
    
    padding: 10px 5% 10px 5%;
    max-width: 100%;
    max-height: 100%;
    text-align: left;
    background-color: #727272;
    color: #ffffff;
    border: none;
    overflow: hidden;
    top: 300px;

}

/*.btnDownload {
    font-size: 18px;
    color: #e1e1e1;
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
    position: relative;
    border: none;
    background: none;
    text-transform: uppercase;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 400ms;
    transition-property: color;
    align-items: center;
    display: inline-block;
    padding: 10px 20px;
    cursor: pointer;
    margin-bottom: 20px;
    margin-left: 40%;
    margin-top: 50px;
  }
  
  .btnDownload:focus,
  .btnDownload:hover {
    color: #fff;
  }
  
  .btnDownload:focus:after,
  .btnDownload:hover:after {
    width: 100%;
    left: 0%;
  }
  
  .btnDownload:after {
    content: "";
    pointer-events: none;
    bottom: -2px;
    left: 50%;
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: #fff;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 400ms;
    transition-property: width, left;
  } */

  .btnDownload {
    display: inline-block;
    padding: 10px 10px;
    background-color: #278fff;
    color: #fff;
    font-size: 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 15px;
    margin-left: 40%;
    height: 10%;
    width: 15%;
}

.btnDownload:hover {
    background-color: #007bff;
}

@media (max-width: 768px) {
    .btnDownload {
        height: 10%;
        width: 25%;
        font-size: 15px;
        margin-left: 35%;
    }

}

.language-switcher {
    display: flex;
    gap: 45px;
    margin-bottom: 30px;
    align-items: center;
    display: flex;
    margin-bottom: 20px;
    margin-left: 35%;
    margin-top: 10%;
}

.language-switcher img {
    width: 53px;
    height: 35px;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
}

@media (max-width: 768px) {

    .language-switcher {
        margin-top: 35%;
        margin-left: 20%;
        gap: 20px;
    }

    .language-switcher img {
        width: 33px;
        height: 20px;
    }
}

.language-switcher img:hover {
    transform: scale(1.1);
    border-color: #0066cc;
}

/*.btnDownload {
    display: inline-block;
    padding: 10px 20px;
    background-color: #99dcfc;
    color: #000000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 20px;
    margin-left: 40%;
    height: 60px;
    width: 200px;
    font-size: 20px;
    align-items: center;
}

.btnDownload:hover {
    background-color: #0056b3;
    color: #f4f4f4;
}

#download-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 20px;
}

#download-button:hover {
    background-color: #0056b3;
} */

section {
    line-height: 1.6;
}

/* Rodapé */
footer {
    background-color: #616161;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    height: 96px;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.5);
}

.pTitulo {
    text-align: center;
    font-size: 30px;
}

.pBook {
    text-align: center;
}