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

body {
    font-family: "Montserrat", sans-serif;
    line-height: 1.5;
    background-color: #f0f2f5;
    color: #333;
}

header {
    background-color: #e30613;
    color: #ffffff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: row;
    height: 8.125rem;
}

.nav-link {
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    list-style: none;
    gap: 1.5rem;
    text-decoration: none;
    color: #ffffff;
}

.nav-link a {
    display: flex;
    color: #ffffff;
    font-size: 1.3rem;
    border-bottom: 3px solid transparent;
    border-radius: 3px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.main-nav .nav-list {
    list-style: none;
    margin: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.nav-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.imagens {
    width: 50%;
    display: flex;
    flex-direction: row;
}

.image-header {
    width: 24%;
    height: 5%;
    align-items: center;
    display: flex;
    padding: 20px;
    margin-left: 5px;
}

.image-header2 {
    width: 19.7%;
    height: 5%;
    align-items: center;
    display: flex;
    padding: 20px;
    margin-left: 5px;
}

.line-header {
    height: 50px;
    width: 3px;
    background-color: #ffffff;
    margin: 0 20px;
    margin-right: 20px;
}

.menu-mobile ul {
    background-color: #ff0000;
    backdrop-filter: blur(10px);
    position: absolute;
    top: 95px;
    right: 0;
    width: 405px;
    height: 0;
    visibility: hidden;
    transition: 0.5s;
    overflow: hidden;
    margin-right: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
}

.menu-mobile.abrir ul {
    visibility: visible;
    height: calc(72vh - 7px);
}

.menu-mobile ul li:hover {
    background-color: #000000c4;
}

.menu-mobile ul li {
    display: block;
    padding: 10px;
    font-size: 16px;
    text-align: center;
}

.menu-mobile ul li a {
    color: #ffffff;
    text-decoration: none;
}

#btn-menu {
    width: 45px;
    height: 45px;
    border: 0px solid #ff0000;
    background: transparent;
    border-radius: 10px;
    position: absolute;
    right: 40px;
    top: 40px;
    cursor: pointer;
}

.linha {
    width: 40px;
    height: 3px;
    background-color: #ffffff;
    display: block;
    margin: 10px auto;
    position: relative;
    transform-origin: center;
    transition: 0.2s;
}

#btn-menu.ativo .linha:nth-child(1) {
    transform: translateY(12px) rotate(-45deg);
    background-color: #ffffff;
}

#btn-menu.ativo .linha:nth-child(3) {
    transform: translateY(-15px) rotate(45deg);
    background-color: #ffffff;
}

#btn-menu.ativo .linha:nth-child(2) {
    width: 0;
    height: 4px;
}

#btn-menu.ativo {
    border: 0px solid #000000;
}

.painel {
    position: relative;
}

.painel-image {
    position: relative;
    width: 100%;
    height: 41rem;
    filter: brightness(50%);
}

.painel-text {
    position: absolute;
    color: aliceblue;
    top: 170px;
    left: 50px;
    font-size: 2.5rem;
}

.carousel {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
}

.carousel-list {
    cursor: pointer;
    border: 0px solid rgb(0, 0, 0);
    font-size: 1.075rem;
    color: rgb(255, 255, 255);
    padding: 10px 30px;
    transition: 1328ms;
    width: 13%;
    box-shadow: rgb(0, 0, 0) 0px 0px 0px 0px;
    border-radius: 3rem;
    text-decoration: none;
    text-align: center;
    background: linear-gradient(178deg, #e30613 0%, rgb(92, 0, 0) 100%);
}

.carousel-list:hover {
    color: rgb(255, 255, 255);
    width: 14.5%;
    background: linear-gradient(178deg, #e30613 0%, rgb(92, 0, 0) 100%);
    border-color: #e30613;
    border-width: 0px;
    border-style: solid;
}

.section {
    justify-content: center;
    display: flex;
}

.title-news {
    margin: 3rem;
    font-size: 3rem;
    text-align: center;
}

.container-news {
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    display: flex;
    align-items: center;
}

.text-news {
    max-width: 60rem;
    font-size: 1.2rem;
    text-align: justify;
}

.image-filosofos img{
    width: 30rem;
    margin: 2rem;
    align-items: center;
    border-radius: 30px;
}

.image-academia img {
    width: 20rem;
    margin: 2rem;
    align-items: center;
    border-radius: 30px;
}

.text-decoration p {
    font-style: italic;
    font-weight: 700;
    text-align: center;
    color: #ff0000;
}

.footer {
    background-color: #9a1915;
    color: white;
    margin-top: 50px;
}

.footer .icones {
    background-color: #9a1915;
}

.senai {
    width: 20%;
    display: inline-block;
    text-align: center;
    padding: 30px 0 20px 0;
    margin-left: 29%;
}

.senai h3 {
    text-align: left;
}

.senai p {
    text-align: left;
}

.sesi {
    width: 20%;
    display: inline-block;
    margin-left: 3%;
    text-align: center;
    padding: 0 0 20px 0px;
}

.sesi h3 {
    text-align: left;
}

.sesi p {
    text-align: left;
}

.footer .icones img {
    display: inline-block;
    margin-left: 25px;
}

.icones {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-text {
    background-color: #9a1915;
    color: white;
}