/* Base styles */
body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    background-color: #f5f5f5;
    font-family: Arial, sans-serif;
    margin: 0;
}

main {
    flex: 1 0 auto;
    padding: 20px 0;
}

.container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Question styles */
.question {
    margin-bottom: 30px;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.question p {
    margin-bottom: 15px;
    font-weight: bold;
    color: #1565c0;
    font-size: 1.1em;
}

/* Radio group styles */
.radio-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.radio-option {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    width: 100%;
}

.radio-option span {
    margin-left: 10px;
    font-size: 0.9em;
    color: #555;
}

/* Button styles */
.btn {
    margin-top: 20px;
    width: 100%;
    max-width: 300px;
}

/* Introduction */
.introduction {
  margin-bottom: 30px;
  background-color: #e8f5e9;
  border-left: 5px solid #4caf50;
}

.introduction h4 {
  color: #2e7d32;
  margin-top: 0;
}

.introduction ul {
  padding-left: 20px;
}

.introduction li {
  list-style-type: disc;
  margin-bottom: 5px;
}

/* Result styles */
#result {
    margin-top: 30px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#interpretation {
    white-space: pre-line;
}

/* Responsive styles */
@media screen and (max-width: 599px) {
    .brand-logo {
        font-size: 1.5em !important;  /* Reduced from 1em to 0.8em */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .nav-wrapper {
        padding: 0 10px;  /* Add some padding to prevent text from touching the edges */
    }

    .radio-group {
        flex-direction: column;
    }

    .radio-option {
        flex-direction: row-reverse;
        justify-content: flex-end;
    }

    .radio-option span {
        margin-left: 0;
        margin-right: 10px;
    }
}

@media screen and (min-width: 600px) and (max-width: 991px) {
    .brand-logo {
        font-size: 1.5em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .radio-group {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .radio-option {
        width: auto;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .radio-option span {
        margin-top: 5px;
        margin-left: 0;
    }
}

@media screen and (min-width: 992px) {
    .container {
        width: 85%;
    }

    .question p {
        font-size: 1.2em;
    }
	
	.radio-group {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .radio-option {
        width: auto;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .radio-option span {
        font-size: 1em;
    }

    .brand-logo {
        font-size: 2em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
}