body {
    background-image: url("background13.webp");
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    /* flex-direction: column; */
}

input[type="text"] {
    text-align: center;
    /* font-size: 18px; */
    width: 105px;
    height: 22px;
}

b {
    font-size: 17px;
}

.app-window {
    width: 400px;
    background-color: #232e3c;
    border: 2px solid #17212b;
    border-radius: 10px;
    box-shadow: 40px 40px 40px rgba(0, 0, 0, 0.9);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.app-header {
    background-color: #17212b;
    color: #c1c1c1;
    padding: 10px;
    font-size: 18px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-header .close-btn {
    width: 20px;
    height: 20px;
    background-color: #2d3f53;
    border-radius: 50%;
    cursor: pointer;
}

.app-content {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
    position: relative;
}

.label-result {
    color: #627588;
}

#result {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #c1c1c1;
}

.highlight {
    color: #649dd3;
}

h1 {
    margin-bottom: 20px;
    color: #c1c1c1;
}

input {
    margin-bottom: 20px;
    padding: 5px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 10px;
}

a {
    text-decoration: none;
    color: #c1c1c1;
    font-weight: bold;
    /* margin-left: 85px; */
}

div a#ins {
    text-decoration: none;
    color: #f0f0f0;

}

a:hover {
    text-decoration: underline;
}

p {
    margin: 5px 0;
}

p#download {
    margin-top: 15px;
    margin-bottom: -10px;
}


.app-footer {
    background-color: #17212b;
    color: white;
    padding: 3px;
    text-align: center;
    font-size: 10px;
}

@media (max-width: 600px) {
    
    body {
        flex-direction: column;
    }
    
    .app-window {
        width: 90%;
        height: auto;
        margin: 15px;
    }

    .app-content {
        padding: 15px;
    }

    .app-header {
        font-size: 16px;
        padding: 8px;
    }

    input {
        font-size: 14px;
    }

    h1 {
        font-size: 20px;
    }

    #result {
        font-size: 20px;
        font-weight: bold;
        margin-bottom: 15px;
    }

    .app-footer {
        font-size: 10px;
    }

    #chatbro {
        margin-top: 15px;
        box-shadow: 40px 40px 40px rgba(0, 0, 0, 0.9);
    }

}

/*  */

.ratings-container {
    display: flex;
    justify-content: space-between;
    /* margin-top: 20px; */
    background-color: #18212b;
    border-radius: 10px;
}

.rating-section {
    width: 48%;
    padding: 10px;
    text-align: center;
}

#rating-title1,
#rating-title2 {
    font-size: 18px;
    color: #c1c1c1;
}

.exam-container {
    margin-top: 33px;
    text-align: center;
    margin-bottom: -20px;
    font-weight: bold;
    font-size: 17px
}

#toggleButton {
    color: #c1c1c1;
    background-color: #17212b;
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.9);
    margin-bottom: 8px;
}

#toggle {
    transition: max-height 0.3s ease-in-out;
    overflow: hidden;
}



.rating-inputs {
    display: flex;
    flex-direction: column;
    align-items: center;

}

.rating-inputs label {
    font-size: 16px;
    margin-bottom: 1px;
    color: #c1c1c1;
}


.rating-inputs input {
    width: 50px;
    height: 22px;
    text-align: center;
    margin-bottom: 10px;
}


b#animated-a {
    padding-left: 100px;
    font-size: 15px;
    color: #c1c1c1;
}

#animated-p {
    font-weight: bold;
}

#animated-b,
#animated-b1 {
    color: #c1c1c1;
}

input {
    background-color: #c1c1c1;
    color: #000;
}

button {
    color: #c1c1c1;
    background-color: #17212b;
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.9);
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    appearance: none;
    background-color: #c1c1c1;
    border: 5px solid #999;
    cursor: pointer;
    margin-left: 15px;
}

input[type="checkbox"]:checked {
    background-color: #2e3f52;
    border-color: #999;
}

#weekScoreOutput {
    color: #c1c1c1;
}


.circle-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    box-shadow: 3px 8px 5px #18212b;
    overflow: hidden;
    display: inline-block;
}

.circle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

hr {
    border: none;
    height: 5px;
    background-color: #18212b;
    border-radius: 5px;
}


.collapsible {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

#a1 {
    background-color: #18212b;
    border-radius: 10px;
    padding-top: 20px;
    margin-bottom: 10px;
    margin-top: 15px;
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    width: auto;
    max-width: 600px;
    background-color: #232e3c;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 20px;
    padding-top: 5px;
    color: #c1c1c1;
}


.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #17212b;
    margin-bottom: 10px;
    color: #c1c1c1;
    height: 35px;
    font-size: 14px;
}

.textPopup {
    margin: 5px 0;
    font-size: 14px;
    color: #c1c1c1;
}

.popup-close {
    color: #c1c1c1;
    background-color: #17212b;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.hidden {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

#info-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    width: auto;
    max-width: 600px;
    background-color: #232e3c;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

#info-popup.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    animation: fadeIn 0.3s ease;
}

#chatbro {
    box-shadow: 40px 40px 40px rgba(0, 0, 0, 0.9);
    /* margin-top: 15px; */
    margin-left: 20px;
}