body {
    color: white;
    font-family: 'Roboto';
    font-weight: 300;
    background-image: linear-gradient(#3f8e22, #24558a);
    background-size: cover;
    background-attachment: fixed;
}

#analysis-body {
    font-family: 'Roboto';
    color: white;
    background-image: linear-gradient(#29ad7e, #3476bc);
    background-size: cover;
    background-attachment: fixed;

}

html, body {
  height: 100%; /* Makes height 100% of the parent (viewport) */
  margin: 0;
  min-height: 100vh;
  padding: 0;
}


.title {
   
    font-weight: 350;
    color: rgb(255, 255, 255);  
    text-align: center;
    font-size: 4rem;
    margin-top: 30px;
    margin-bottom: 20px;

}

#submit {
padding: 15px 30px;
border-radius: 20px;
border: 3px solid black;
font-size: 1.5rem;
background-color: rgb(255, 255, 255);
transition: all 0.3s ease;
}

#submit:hover, #back-button:hover {
cursor: pointer;
transform: scale(1.1);
background-color: rgb(224, 222, 222);
}

#back-button {
    cursor: pointer;
    padding: 15px 30px;
    background-color: white;
    color: black;
    padding: 20px;
    border-radius: 20px;
    border: 2px solid black;
    text-decoration: none;
    position: absolute;
    top: 30px;
    font-size: 1.5rem;
    left: 20px;
    transition: all 0.3s ease;
}



label {
    font-weight: 300;
    font-size: 1.45rem;
    display: block;
    padding: 15px 0;
}

input {
    border-radius: 20px;
    border: 3px solid black;
    height: 50px;
    width: 120px;
    font-size: 1.4rem;
    text-align: center;
    
    font-weight: 300;
    display: block;
}

input:focus {
    outline: none;
}

.question {
    flex: 1;
    margin-bottom: 10px;
}

form {
    text-align: center;
    height: auto;
    width: 75%;
    background-image: linear-gradient( #14963d, #23679f);
    box-shadow: 0 8px 40px #0000001a;
    padding: 20px;
    border-radius: 20px;
    margin: 0 auto;
    margin-top: -20px;
    display: block;
    border: 3px solid black;
    align-self: center;
    position: relative;
    top: 5%;
}


.output {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 100px;
}

.widget {
    text-align: center;
    width: 20%;
    height: 300px;
    background-image: linear-gradient(#358fd9, #134d77);
    border-radius: 20px;
    box-shadow: 10px 12px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 10px 20px;
    border: 3px solid black;
}

.widget:hover {
    transform: scale(1.05)
}

.questions input{
    display: block;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 10px;
}

.question-block {
    display: flex;
}

#vacation-block {
    justify-content: center;
    gap: 100px;
    width: 100%; 
}

#vacation-block .question {
    width: 300px;
    flex: 0;
}

#vacation-block label {
    white-space: nowrap;
}

#submit {
    margin: 20px auto;
    
}

.chart-box {
    flex-shrink: 0;
    height: 30%;
    width: 30%;
    max-width: 400px;
    max-height: 400px;

}
#myChart, #myChart-2 {
    border: 3px solid black;
    padding: 20px;
    border-radius: 15px;
}

.chart-label  {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 15px;
}

.chart-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 70px;
}

.recChanges {
    display: flex;
    height: 100px;
    width: 90%;
    align-self: center;
    margin-top: 100px;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    margin: 0 auto;
    margin-top: 100px;
}

.recChanges p {
    padding: 15px 20px;
    width: 15%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #605454;
    border-radius: 20px;
    border: 2px solid black;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.recChanges p:hover {
    transform: scale(1.1);
}

#budget-table {
    width: 400px;
    max-width: 400px;
    height: 400px;
    max-height: 400px;
    background-color: black;
    padding: 0px;
    border-radius: 20px;
    border: 3px solid black;
    position: relative;
    top: 50px;
    margin-top: -50px;
}

.values {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
}

td:not(.values) {
    text-align: center;
    font-size: 1.2rem;
}

#vacation-output {
    display: flex;
}

tr {
    background-color: #246763;
}

td, th {
    padding: 15px 20px;
}

th {
    font-size: 1.2rem;
    font-weight: 450;
}

img {
    position: absolute;
    top: 3%;
    width: 100px;
    left: 2%;
    border: 3px solid black;
    border-radius: 50%;
    overflow: hidden;
    object-fit: cover;
    display: block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

td {
    font-weight: 300;
}

tr:first-child td:first-child, tr:first-child th:first-child {
    border-radius: 15px 0 0 0;
}

tr:first-child td:last-child, tr:first-child th:last-child {
    border-radius: 0 15px 0 0;
}

tr:last-child td:first-child {
    border-radius: 0 0 0 15px;
}

tr:last-child td:last-child {
    border-radius: 0 0 15px 0;
}

.optional {
    font-size: 0.9rem;
    margin-top: -10px;
    font-weight: 250;
    color:#dad6d6;
}


