@import url('https://fonts.googleapis.com/css2?family=Onest:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sora:wght@100..800&display=swap');

/* Homepage, Signup, Choose Preferences, Login pages general style */

body {
    font-family: 'Onest', sans-serif;
    margin: 0;
    padding: 0;
    color: white;
}

.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 40px 20px;
}

.nav-link {
    font-weight: 400;
    font-size: 1rem;
    color: white;
}

.navbar-brand img {
    height: 30px;
}

@media (max-width: 750px) { 
    .navbar-brand img {
        content: url("/img/logoMobile.png");
    }
}

.navbar-toggler {
    border: none;
}

.offcanvas {
    background: linear-gradient(180deg, #311C1D 0%, #31354C 50%, #89749F 75%, #C2C1BD 100%);
}

.offcanvas-header {
    display: flex;
    justify-content: end;
}

.offcanvas-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.offcanvas-body a {
    color: #FAA0DD;
}

.btn-close.btn-close-white {
    font-size: 1.2rem;
    margin-top: 1rem;
}

.footer {
    background-color: #c4c4c4; 
    color: #0A142F;
    font-size: 14px;
}

.footer-logo {
    height: 40px; 
}

.footer .col-md-6 .mb-4 {
    font-size: 14pt;
}

.footer-link {
    color: #212529;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.footer-Poppins {
    font-family: 'Poppins';
}

.footer .col-md-4 .mb-2, .footer small {
    opacity: 75%;
}

.footer-link:hover {
    color: #4157E9; 
}

.footer p {
    margin: 0;
}

.btn-signup {
    background-color: #4157E9;
    width: 200px;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 30px;
    border: none;
    display: block; 
    margin: 0 auto; 
}

.btn-signup:hover {
    background-color: #0E26C2;
    color: white;
}

/* Home Page style */

.hero {
    height: 100vh;
    background: url('../img/homePagebg.png') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 15px;
}

.hero h2, .featured-section h2, .mediums-section h2, .signin h2 {
    font-weight: 500;
    font-family: 'Sora', sans-serif;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero p, .featured-section p, .mediums-section p {
    font-size: 1.1rem;
    line-height: 1.5;
}

.featured-section, .mediums-section {
    background-color: #F5F5F5;
    padding: 60px 0; 
    color: black;
}

.featured-section .title, .mediums-section .title {
    font-family: 'Sora', sans-serif;
    font-weight: 500;
}

.artist-info h5 {
    font-weight: 500;
}

.featured-section h2 {
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.2;
}

.text-center-container {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90vh;
}

.info-container {
    max-width: 600px;
}

.artist-img {
    height: 392px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
    width: 100%;
}

.medium-img {
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
    width: 100%;
}

.artist-info {
    margin-top: 7px;
    text-align: left;
    width: 100%;
}

@media (max-width: 320px) {
    .hero h2, .featured-section h2, .mediums-section h2 {
        font-size: 1.7rem;
    }
    .hero p, .featured-section p, .mediums-section p {
        font-size: 0.5rem;
    }
    .artist-info {
        width: auto;
    }    
    .artist-info p {
        margin-top: 10px;
    } 
    .btn-signup {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero p, .featured-section p, .mediums-section p {
        font-size: 1rem;
    }
    .btn-signup {
        font-size: 1rem;
    }
    .artist-img, .medium-img {
        max-height: 250px;
    }
    .artist-info h5 {
        margin-bottom: 2px;
    }
    .footer .col-md-2 {
        margin-bottom: 12px;
    }
    .footer .row {
        text-align: center; 
    }
    .footer .col-md-4 .mb-2 {
        margin-top: 12px;
    }
}

@media (width: 1440px) {
    .hero h2, .featured-section h2, .mediums-section h2 {
        font-size: 2.5rem;
    }
    .hero p, .featured-section p, .mediums-section p {
        font-size: 1.5rem;
    }
    .btn-signup {
        font-size: 1.2rem;
        padding: 8px 20px;
    }
} 

/*Sign up, Choose preferences and Login pages style*/

.signup .left-column {
    background: url('../img/signinImg.png') no-repeat left center/cover;
}

.login .left-column {
    background: url('../img/loginImg.png') no-repeat left center/cover;
}

.preferences-container .left-column {
    background: url('../img/signinImg.png') no-repeat left center/cover;
}

.signup .right-column, .login .right-column, .preferences-container .right-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 50px;
    background-color: #F2F2F2;
    height: 100vh;
}

.signup .logo, .login .logo, .preferences-container .logo {
    margin-bottom: 40px; 
    margin-top: 20px;
    width: 150px;
}

.signup h3, .login h3 {
    color: black;
    font-family: 'Sora', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 40px; 
    margin-left: 0;
    text-align: left;
    width: 100%;
    max-width: 350px;
}

.signup form, .login form {
    width: 100%;
    max-width: 350px; 
}

.signup .form-control, .login .form-control {
    width: 100%;
    text-align: left;
    padding-left: 10px;
    background: transparent; 
    border: none; 
    border-bottom: 1px solid #ccc; 
    border-radius: 0;
    box-shadow: none;
}

.signup .form-control:focus, .login .form-control:focus {
    border-bottom: 1px solid black; 
    outline: none;
}

.signup .mb-2, .login .mb-2 {
    text-align: left;
    width: 100%;
}

.signup .btn-signup, .login .btn-signup, .preferences-container .btn-signup {
    display: block;
    margin: 50px auto 20px auto;
    width: 100%;
    max-width: 200px;
}

.signup small, .login small, .preferences-container small {
    text-align: center;
    width: 100%;
    color: black; 
}

.signup small a, .login small a, .preferences-container small a {
    color: black; 
    font-weight: 600;
}

#togglePassword {
    color: black;
    background-color: #F2F2F2;
}

.input-group-text {
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: 0%;
    border-width: solid;
    border-color: #ccc;
    cursor: pointer;
}

.input-group {
    flex-wrap: nowrap;
}

.input-group:focus-within .input-group-text {
    border-bottom: 1px solid black;
}

.form-check-input {
    width: 26px;
    height: 26px;
    cursor: pointer;
    accent-color: black; 
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px; 
}

.form-check-input {
    border: 3px solid black; 
    background-color: white;
}

.form-check-input:checked {
    background-color: black;
    border-color: black;
}

.form-check-label {
    color: black;
    align-items: center;
}

.global-error, .global-success {
    background-color: #f8d7da; 
    color: #721c24;               
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    font-size: 0.75em;
    text-align: center;
    display: none;
    transition: opacity 0.3s ease-in-out;
}

.global-error.show {
    display: block;
    opacity: 1;
}

#name-error, #email-error, #password-error {
    color: #E90000;
    font-size: 12px;
}

.global-success {
    background-color: #aae6bc; 
    color: green;               
    border: 1px solid #cbf5c6;
}

.global-success.show {
    display: block;
    opacity: 1;
}

#pw-rules {
    font-size: 8.5px;
}

@media (max-width: 356px) {
    #name-error, #email-error, #password-error {
        font-size: 8px;
    }
}

.preferences-container h3 {
    color: black;
    font-family: 'Sora', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 40px; 
    margin-left: 0;
}

.preferences-container h5 {
    color: black;
    text-align: left;
}

.preferences-container .right-column {
    overflow-y: auto;  /* Enable scrolling if content grows */
    padding: 40px;
}

.preferences-container .selected-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
    padding-right: 10px; 
    max-height: 60px; 
    overflow-y: auto;
}

.preferences-container .selected-item {
    background-color: #5d92c0;
    border-radius: 5px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    white-space: nowrap; 
    overflow: hidden; 
    flex-shrink: 0; 
    position: relative; 
}

.preferences-container .selected-item span {
    cursor: pointer;
    font-weight: bold;
}

.preferences-container .dropdown {
    width: 100%;
    position: relative;
}

.preferences-container .btn-secondary {
    background-color: #1f4e76;
}

.preferences-container .dropdown-toggle:hover {
    background-color: #565c7e; 
    color: white;
}

.preferences-container .dropdown-toggle:focus, .dropdown-toggle:active {
    background-color: #565c7e;
}

.preferences-container .dropdown-menu {
    max-height: 200px;
    overflow-y: auto;
    width: 100%;
    left: 0 !important;
    right: 0 !important;
}

.preferences-container .global-error, .global-success {            
    padding: 10px;
    margin-bottom: 18px;
}

@media (max-width: 768px) {
    .preferences-container .right-column {
        width: 100%;
        max-height: 100vh; 
    }
}

@media (max-width: 768px) {
    .right-column {
        padding: 40px;
    }

    .signup h3, .login h3, .preferences-container h3 {
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 30px;
    }

    .text-start {
        text-align: center !important;
    }

    .signup .btn-signup, .login .btn-signup, .preferences-container .btn-signup {
        margin-top: 40px;
    }
    
    .form-check {
        justify-content: center; 
        gap: 10px;
    }
}

.modal {
    display: none; 
    z-index: 1000; 
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%); 
    max-width: 450px; 
    justify-content: center;
    align-items: center;
}

@media (max-width: 470px) {
    .modal {
        width: 300px;
    }
}

.modal-content {
    background: #E2E2E2;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.modal-content p {
    font-size: 22px;
    font-weight: 400;   
    color: black;
}

.modal-content button {
    border-radius: 68.605px;
    margin: 5px;
}

#confirmYes {
    border: 1.372px solid;
    background-color: #4157E9;
    color: white;
}

#confirmNo {
    border-radius: 68.605px;
    border: 1.372px solid #000;
    background-color: #E2E2E2;
    color: black;
}


