body {
    background-color: #0c0e13;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding-top: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #1c1f25;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    border-bottom: 2px solid #DE463A;
    flex-direction: row;
}

header img {
    height: 40px;
    justify-content: left;
    padding-top: 0.4cap;
}


.separador{
   padding-left: 5px;
   font-size: 3.2vh;
   font-weight: normal;
   font-family: Verdana, Geneva, Tahoma, sans-serif;
   color: #ffffff;
   opacity: 45%;
   cursor: default;

}

.titulo{
    color: #fff;
    font-size: 25px;
    font-weight: normal;
    padding-top: 0.4cap;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    padding-left: 3px;
    opacity: 55%;    
    cursor: default;
}

#main-content {
    margin-top: 80px;
    padding: 45px;
}

.form-section {
    margin-bottom: 20px;
}

#notaFinal {
    font-weight: bold;
    color: #DE463A;
}

#final-message {
    margin-top: 20px;
    padding: 10px;
    border-radius: 4px;
    background-color: #1a1c23;
    color: #fff;
    text-align: center;
}

header .menu img {
    width: 40px;
    margin-right: 15px;
}

header .menu h1 {
    font-size: 20px;
    color: #DE463A;
    margin: 0;
}

#loading-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #0c0e13;
}

#loading-image {
    width: 100px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.container {
    background-color: #1c1f25;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    width: 375px;
    text-align: center;
    margin: auto;
}

h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #fff;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    cursor: default;
}


input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 10px; 
    background-color: #1a1c23; 
    border: 1px solid;
    border-top-color: #0c0e13;
    border-left-color: #0c0e13;
    border-right-color: #0c0e13;
    border-bottom-color: #DE463A;
    color: #fff; 
    font-family: 'Roboto', sans-serif; 
    font-size: 16px; 
    box-sizing: border-box; 
    transition: border-color 0.3s ease, box-shadow 0.3s ease; 
}

input[type="text"]::placeholder {
    color: #888;
}

input[type="text"]:focus {
    border-top-color: #0c0e13;
    border-left-color: #0c0e13;
    border-right-color: #0c0e13;
    border-bottom-color: #DE463A;
    box-shadow: 0 0 5px rgba(255, 99, 71, 0.5);
    outline: none; 
}

#nota1 {
    margin-top: 20px;
}

.bimestre {
    margin-bottom: 20px;
}

.bimestre h3 {
    font-size: 20px;
    margin-bottom: 15px; 
    color: #DE463A;
    font-family: 'Roboto', sans-serif;
}



button {
    background: linear-gradient(135deg, #DE463A, #ff6f61);
    border: none; 
    color: #fff;
    font-size: 16px; 
    padding: 12px 24px; 
    border-radius: 8px; 
    cursor: pointer; 
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    outline: none;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

button:hover {
    background: linear-gradient(135deg, #ff6f61, #DE463A); 
    transform: translateY(-3px); 
}

button:active {
    background: linear-gradient(135deg, #DE463A, #ff6f61);
    transform: translateY(1px); 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#resultado {
    visibility: hidden; 
    opacity: 0; 
    transform: scale(0.9); 
    filter: blur(4px); 
    transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease; 
    margin-top: 20px;
    font-size: 18px;
}

#nova-simulacao {
    position: relative;
    cursor: pointer;
    width: 150px;
    height: 50px;
    margin-top: 30px;
    display: none;
    align-items: center;
    justify-content: center;
}


.circle, .rectangle {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #DE463A;
    color: #fff;
    transition: all 0.4s ease;
}

.circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #0c0e13;
    border-color: #DE463A;
    border-style: solid;
    border-width: 2px;
    color: #DE463A;
}

.rectangle {
    width: 150px;
    height: 40px;
    border-radius: 5px;
    font-size: 16px;
    background-color: #0c0e13;
    color: #DE463A;
    border: 2px solid #DE463A;
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;          
}

#nova-simulacao:hover .circle {
    width: 150px;
    height: 40px;
    border-radius: 5px;
    opacity: 0;
}

#nova-simulacao:hover .rectangle {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.transition-start {
    opacity: 1;
    transform: scale(1); 
}

.bimestre input::placeholder{
    color: #82B6F8;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

