
/*main.css*/

@import './reset.css';
@import './fonts.css';
@import './variables.css';
@import './materialdesignicons.css';

html, body, main {
    width: 100%;
    height: auto;
    min-height: 100vh;
}

.menu {
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-dark-blue);
    overflow: hidden;
}

.navbar {    
    width: 100%;
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-header {        
    width: 100%;
    height: 60px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 150px;
    height: 60px;
}

.brand-right {
    justify-content: flex-end;
}

.navbar-brand img {
    width: 150px;
    height: auto;
}

.menu-header {    
    width: 100%;
    height: 30px;
    display: flex;
    align-items: center;
    padding-right: 10px;
    box-sizing: border-box;
}

.navbar-menu {
    width: auto;
    height: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    box-sizing: border-box;
}

.nav-login {
    display: flex;
    justify-content: center;
    width: 80px;
    height: 30px;
}

.nav-link {
    display: flex;
    margin: 0px 5px;
    color: var(--color-white);
}

.nav-link.active {
    color: var(--color-green);
}

.nav-link:hover {
    color: var(--color-red);
}

.nav-login .nav-link {
    margin: 0;
}

.nav-link i {
    margin-right: 5px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-family: var(--font);
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4px 2px;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
    box-sizing: border-box;
}

.link {
    border: none;
    font-family: var(--font);
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
    box-sizing: border-box;
}

/* Estilo para inputs de texto, senha, email, etc. */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="datetime-local"],
input[type="date"],
input[type="file"],
input[type="url"],
textarea {
    width: 100%;
    height: 32px;
    padding: 5px 10px;
    font-size: 14px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    box-sizing: border-box;
}

/* Estilo para selects */
select {
    width: 100%;
    height: 32px;
    padding: 5px 10px;
    font-size: 14px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    box-sizing: border-box;
    width: 100%;
    background-color: var(--color-text);
}

/* Estilo para options */
select option {
    width: 100%;
    height: 32px;
    font-size: 14px;
    padding: 5px;
}

footer {
    width: 100%;
    height: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background-color: var(--color-dark-blue);
}

.copy {
    width: 450px;;
    height: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
}

.copy span {
    color: var(--color-white);
    font-size: 14px;
    margin-right: 5px;
}

.ext-link {
    color: var(--color-red);
}

.ext-link:hover {
    color: color-mix(in srgb,  var(--color-red) 70%, var(--color-black) 30%);
}

.social-box {
    flex: 1;
    height: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social {
    width: 24px;
    height: 24px;
    text-decoration: none;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
    box-sizing: border-box;
    margin: 0px 4px;
}

.social i {
    font-size: 22px;
}

.linkedin {
    color: var(--color-linkedin);
    background-color: var(--color-white);
}

.facebook {
    color: var(--color-facebook);
    background-color: var(--color-white);
}

.instagram {
    background: var(--color-instagram);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.linkedin:hover {
    color: var(--color-white);
    background-color: var(--color-linkedin);
}

.facebook:hover  {    
    color: var(--color-white);
    background-color: var(--color-facebook);
}

.instagram:hover {
    background: var(--color-instagram);
    -webkit-background-clip: none;
    background-clip: none;
    color: var(--color-white);
}

/* O modal está escondido por padrão */
.modal {
    display: none; /* Escondido por padrão */
    position: fixed;
    z-index: 999; /* Certifique-se de que o modal fique acima de outros elementos */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-black);
    justify-content: center;
    align-items: center;
}

/* Quando a classe 'active' é adicionada, o modal é exibido */
.modal.active {
    display: flex; /* Mostra o modal ao ativar a classe 'active' */
}

.modal-content {
    background-color: var(--color-white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--elevation-medium);
    width: 100%;
    max-width: 500px;
    text-align: center;
}

.modal-actions {
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
}

.modal-message {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-family: var(--font);
}

.modal .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-danger {
    background-color: var(--color-red);
    color: var(--color-white);
}

.btn-secondary {
    background-color: var(--color-dark-blue);
    color: var(--color-white);
}

.btn-modal:hover {
    opacity: 0.8;
}

.btn-modal i {
    display: flex;
    margin-right: 5px;
    border: 1px solid var(--color-pure-white);
    color: var(--color-pure-white);
    padding: 5px;
    border-radius: 2px;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}
