*{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
header{
    display: flex;
    justify-content: center;
    max-width: 100%;
	margin: 0;
}
/*Hamburguer*/
.hamburger-icon {
    display:none;
    width: 30px;
    height: 20px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .hamburger-icon-span {
    width: 100%;
    height: 4px;
    background-color: #8A2BE2;
    border-radius: 20px;
    transition: transform 0.3s, opacity 0.3s;
  }
  
  #menu-toggle.open .hamburger-icon-span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }
  
  #menu-toggle.open .hamburger-icon-span:nth-child(2) {
    opacity: 0;
  }
  
  #menu-toggle.open .hamburger-icon-span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
  }
  
/*Nav*/

nav {
    background: radial-gradient(circle, #f0e0ff, #e7fbff );
    background-size: 200% 200%;
    padding: 10px 20px;
    display: flex;
    justify-content:flex-start; 
    align-items: center; 
    border-radius: 40px;
    margin: 10px auto;
    position:fixed;
    width: 90%;
    z-index: 999;
    box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.1);
    animation: animationBackground 10s infinite linear;
}
@keyframes animationBackground{
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/*logo*/
nav .logo {
    width: auto;
    height: 50px;
    margin-right: 10px;
	border-radius: 30px;
	padding: 0 10px;
    transition: box-shadow 1s;
}
nav .logo:hover{
    box-shadow: 0px 0px 10px 1px rgba(205, 0, 255, 0.1);
}

/*links*/
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin:0 10px;
}

nav ul li a {
    text-decoration: none;
    color:black;
    font-size: 15px;
    transition: color 0.5s;
}

nav ul li a:hover{
    color: #8A2BE2; 
}

/*botão portal*/

.portal-aluno{
    color:white;
    background: #8A2BE2;
	box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.2);
    padding: 10px 20px;
    border-radius: 20px;
    border:0;
    width: 110px;
    transition: transform 1s, background-color 1s;
}
.portal-aluno:hover{
    transform: scale(1.05);
    cursor:pointer;
    background-color: #4BE4FF;
}

/*barra de pesquisa*/

.search-container-smart{
    width: 100%;
    margin: 10px auto;
    display: flex;
}
.search-container{
    width: 300px;
    margin: 10px 30px;
    display: flex;
}
.search-bar {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 0;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    box-sizing: border-box; /* Garante que o padding não afete a largura */
    outline: none;
}
.search-button{
    padding: 10px 10px;
    background-color: #8A2BE2;
	box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.2);
    color: #fff;
    border: none;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 1s;
}

/* Estilos para o botão de pesquisa no hover */
.search-button:hover{
    background-color: #4BE4FF; 
}

.nav-menu-smart{
    display:none;
}

.menu{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-height: 100%;
    width: 100%;
}

@media screen and (max-width : 1026px ){

    .nav-menu {
        display: none; 
    }
    .nav-menu-smart {
        display: flex; /* Exibido como bloco */
        overflow: hidden; /* Esconder qualquer conteúdo que ultrapasse a altura máxima */
        height: 0; /* Altura inicial definida como 0 */
        transition: height 0.5s ease;
        flex-direction: column;
		align-items: flex-start;
        width: 100%;
    }
    .nav-menu-smart.active {
        height: 240px;
    }
    nav {
        display: flex;
		flex-direction: column;
        margin: 10px 40px;
        align-items: flex-start;
        position:fixed;
        width: 80%;
        z-index: 999;
    }

    nav ul li {
        margin: 10px 0;
    }
    .search-container {
        display:none;
    }
    .hamburger-icon{
        display:flex;
    }
    nav .logo {
        max-height: 100%;
        height: 50px;
    }
    
}
@media screen and (max-width : 480px ){
	 nav .logo {
        max-height: 100%;
        height: 40px;
    }
    .portal-aluno{
        padding: 10px 6px;
        width: 70px;
    }
}
