* {
    text-decoration: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

.navbar {
    background-color: crimson;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    padding-right: 1rem;
    padding-left: 1rem;
    z-index: 1;
    border: solid 0.06rem black;
}
.navdiv {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo a {
    font-size: 2.2rem;
    font-weight: 600;
    color: white;
}
li {
    list-style: none;
    display: inline-block;
}
li a {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 1.5rem;
}
button {
    background-color: black;
    margin-left: 0.6rem;
    border-radius: 0.6rem;
    padding: 0.6rem;
}
button a {
    color: white;
}
li a:hover {
    text-decoration: underline;
}
.search-bar {
    display: flex;
    align-items: center;
    width: 100%; 
    max-width: 25rem; 
}
.search-bar input {
    flex-grow: 1; 
    padding: 0.6rem;
    border-radius: 0.6rem 0 0 0.6rem; 
    width: 100%;
    font-size: 1rem;
}
.search-bar button {
    background-color: black;
    color: #fff;
    border: none;
    border-radius: 0 0.6rem 0.6rem 0; 
    font-size: 1rem;
    cursor: pointer;
    padding: 0.6rem;
}
button:active {
    transform: scale(0.95);
}
footer {
    background-color: crimson;
    margin-top: auto;
    display: flex;
    z-index: 1;
    border: solid 0.06rem black;
}
.footerContainer {
    width: 100%;
    padding: 4.4rem 2rem 1.25rem;
}
.socialIcons {
    display: flex;
    justify-content: center;
}
.socialIcons a {
    padding: 0.6rem;
    background-color: white;
    margin: 0.6rem;
    border-radius: 50%;
}
.socialIcons a i {
    font-size: 1.3rem;
    color: black;
    opacity: 0.9;
}
.socialIcons a:hover {
    background-color: black;
    transition: 0.5s;
}
.socialIcons a:hover i {
    color: white;
    transition: 0.5s;
}
.footerNav {
    margin: 1.9rem 0;
}
.footerNav ul {
    display: flex;
    justify-content: center;
}
.footerNav ul li a {
    color: white;
    margin: 1.25rem;
    font-size: 1.3rem;
    opacity: 0.7;
    transition: 0.5s;
}
.footerNav ul li a:hover {
    opacity: 1;
}
.footerBottom {
    background-color: rgb(255, 0, 51);
    padding: 1.25rem;
    text-align: center;
}
.footerBottom p {
    color: white;
}
.designer {
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.06rem;
    font-weight: 400;
    margin: 0 0.3rem;
}
.footerContainer {
    padding: 0 2rem;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}
.sidebar {
    position: fixed;
    background-color: crimson;
    height: 100%;
    width: 12.5rem;
    top: 0;
    left: 0;
    z-index: 0;
    border: 0.06rem solid;
}
.sidebar h2 {
    text-align: center;
    font-size: 1.25rem;
    text-transform: uppercase;
    color: black;
    padding: 0.9rem;
    margin-bottom: 1.25rem;
}
.sidebar ul li {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
}
.sidebar ul li a {
    color: white;
    padding: 0 1.25rem;
}
.sidebar ul li a:hover {
    margin-left: 1.25rem;
    transition: 0.4s;
}
.main {
    margin-left: 12.5rem;
    padding: 0.3rem;
}
.main h2 {
    text-align: center;
    font-size: 1.9rem;
    padding-bottom: 3.1rem;
}

label{
    margin-bottom: 6px;
    display: block;
    color: crimson;
}

.modal {
    display: none; /* Oculta o modal inicialmente */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fundo escuro com transparência */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Conteúdo do modal */
.modal-content {
    background-color: #fff;
    padding: 20px;
    width: 80%;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    
}

/* Botão de fechar */
.close {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
}

form {
    display: flex;
    flex-direction: column;
}

form label {
    margin: 10px 0 5px;
}

form input {
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form button {
    padding: 10px;
    background-color: crimson;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #ff6347;
}
.modal-close-btn {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #ddd;
    color: #333;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}
.modal-close-btn:hover {
    background-color: #ccc;
}



.cancel-button {
    background-color: crimson;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cancel-button:hover {
    background-color: darkred;
}

.download-button {
    background-color: green;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.download-button:hover {
    background-color: darkgreen;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1000;
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

.carousel-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}