* {
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    color: white;
    box-sizing: border-box;
}

html {
    display: flex;
    justify-content: center;
    align-items: center;
}

body {
    margin: 0;
    padding: 0;
    background-image: url(/images/bgElement.svg);
    background-size: 40px;
    position: relative;
    display: flex;
    align-items: center;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    box-sizing: border-box;
    justify-content: center;
}

b {
    font-weight: 550;
}

p {
    font-weight: 250;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    background: none;
    -webkit-appearance: none; /* For Safari */
    -moz-appearance: none;    /* For Firefox */
    appearance: none;  
    border-width: 2px;
    border-color: rgba(255, 255, 255, 0.1);
    border-style: solid;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 3px !important;
    z-index: 9;
}

input[type="radio"] {
    width: 20px;
    height: 20px;
    background: none;
    -webkit-appearance: none; /* For Safari */
    -moz-appearance: none;    /* For Firefox */
    appearance: none;  
    border-width: 2px;
    border-color: rgba(255, 255, 255, 0.1);
    border-style: solid;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 3px !important;
    z-index: 9;
}

input[type="checkbox"]::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: transparent;
    border-width: 2px;
    border-color: rgba(255, 255, 255, 0.1);
    border-style: solid;
    border-radius: 5px;
}

input[type="radio"]::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: transparent;
    border-width: 2px;
    border-color: rgba(255, 255, 255, 0.1);
    border-style: solid;
    border-radius: 100%;
}

input[type="checkbox"]:checked::after, input[type="radio"]:checked::after {
    background-color: #436ef8;
}

.smallText {
    font-size: 10px;
    opacity: 0.5;
    margin: 0px;
}

.swipeArrow {
    height: 50px;
    width: 50px;
    position: fixed;
    cursor: pointer;
    display: none;
    opacity: 1;

    transition: all 0.3s ease;
    z-index: 10;
}

.blur {
    transition: all 0.3s ease;
    opacity: 0;
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;  
}

.swipeArrow:hover {
    transform: scale(1.5);
}

.swipeIcons {
    width: 100px;
    height: 100px;
    background-size: cover;
    position: fixed;
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 9;
}

#left {
    left: 25px;

}

#blurLeft {
    background-image: url(/images/blurLeft.png);  
    left: -500px;
    height: 800px;
    width: 500px;
}

#left:hover ~ #blurLeft {
    left: -150px;
    opacity: 0.75;
}

#left:hover ~ #leftIcon {
    transform: translateX(90px) scale(1.2) rotate(-15deg);
    opacity: 1;
}

#leftIcon {
    background-image: url(/images/swipingIcons/symbolLeft.svg);
    left: 0px;
    transform: translateX(-130px) scale(0.2);
}

#right {
    right: 25px
}

#blurRight {
    background-image: url(/images/blurRight.png);  
    right: -500px;
    height: 800px;
    width: 500px;
}

#right:hover ~ #blurRight {
    right: -150px;
    opacity: 0.75;
}

#right:hover ~ #rightIcon {
    transform: translateX(-90px) scale(1.2) rotate(15deg);
    opacity: 1;
}

#rightIcon {
    background-image: url(/images/swipingIcons/symbolRight.svg);
    right: 0px;
    transform: translateX(130px) scale(0.2);
}

#up {
    top: 25px;
}

#blurTop {
    background-image: url(/images/blurTop.png);  
    top: -500px;
    height: 500px;
    width: 800px;
}

#up:hover ~ #blurTop {
    top: -150px;
    opacity: 0.75;
}

#bottom {
    bottom: 25px
}

#blurBottom {
    background-image: url(/images/blurBottom.png);  
    bottom: -500px;
    height: 500px;
    width: 800px;
}

#bottom:hover ~ #blurBottom {
    bottom: -150px;
    opacity: 0.75;
}

#bottom:hover ~ #bottomIcon {
    transform: translateY(-90px) scale(1.2);
    opacity: 1;
}

#bottomIcon {
    background-image: url(/images/swipingIcons/symbolDown.svg);
    bottom: 0px;
    transform: translateY(130px) scale(0.2);
}

#up:hover ~ #upIcon {
    transform: translateY(90px) scale(1.2);
    opacity: 1;
}

#upIcon {
    background-image: url(/images/swipingIcons/symbolUp.svg);
    top: 0px;
    transform: translateY(-130px) scale(0.2);
}


h3 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 0px;
}

h4 {
    font-size: 20px;
    font-weight: 500;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: scale(0.4);
  }
  to {
    opacity: 1;
    filter: blur(0px);
    transform: scale(1);
  }
}

#centerArea {
    width: 40%;
    max-width: 500px;
    min-width: 300px;
    height: 70vh;
    background: linear-gradient(rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(1px);
    border-color: rgba(255, 255, 255, 0.1);
    border-style: solid;
    border-width: 1px;
    border-radius: 15px;
    padding: 30px;
    box-sizing: border-box;
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.fade-in {
    animation: fadeIn 2s ease-in-out forwards;
}


button {
    background: linear-gradient(#436ef8, #2b49ac);
    width: 150px;
    height: 50px;
    border: none;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
}

#albumImage {
    width: 300px;
    height: 300px;
}

select, input[type="text"], .boxie {
    width: 100%;
    height: 40px;
    border-color: rgba(255, 255, 255, 0.1);
    border-style: solid;
    border-width: 1px;
    border-radius: 15px;
    background: linear-gradient(rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    padding: 5px;
    box-sizing: border-box;
    outline: none;
    padding-left: 10px;

    position: relative;
}

#genre::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    right: 10px;
    top: 10px;
    background-image: url(/images/swipingIcons/swipeDown.svg);
    background-size: cover;
    opacity: 0.5;
    cursor: pointer;
}

#genre {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: start;
}

#genre p {
    margin: 0px;
    font-size: 14px;
    opacity: 0.4;
}

.artistChoiceBox, .discoveryRadiusChoiceBox{
    width: 100%;
    padding: 5px;
    height: 45px;
    display: flex;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: center;
}

.artistChoiceBox p, .discoveryRadiusChoiceBox p {
    margin: 0px;
    height: 16px;
}

.artistChoiceBoxImg {
    background-size: cover;
    height: 30px;
    width: 30px;
    border-radius: 5px;
    margin-left: 10px;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.1);
}

#artistListArea, #genreListArea {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    border-color: rgba(255, 255, 255, 0.1);
    border-style: solid;
    border-width: 1px;
    border-radius: 15px;
    background: linear-gradient(rgba(23, 23, 23, 1), rgba(17, 17, 17, 1));

    position: absolute;  /* instead of fixed */
    top: 100%;           /* right below the input */
    left: 0;

    z-index: 10;
}

.inputWrapper {
    position: relative; /* anchor for absolute dropdown */
    width: 100%;
}

#artistListAreaCancel, #genreListAreaCancel {
    cursor: pointer;
}

#likedArtistTagArea, #likedGenresTagArea {
    width: 100%;
    height: auto;
    display: flex;
    margin-top: 5px;
    gap: 5px;
    flex-wrap: wrap;
}

.likedArtistsTag {
    background-color: red;
    color: black;
    font-size: 14px;
    padding: 10px;
    display: flex;
    align-items: center;
    border-color: rgba(255, 255, 255, 0.1);
    border-style: solid;
    border-width: 1px;
    border-radius: 15px;
    background: linear-gradient(rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.likedArtistsTag * {
    margin: 0px;
}

.likedArtistsTag img {
    cursor: pointer;
}

#artistImage {
    height: 150px;
    width: 150px;
    object-fit: cover;
    background-size: cover;
    background-position: center;
}

#artistInfoFlex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: auto;
}

#artistInfoSide {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: space-between;
    text-align: end;
}

.playButton {
    background-color: white;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    position: relative;
}

.playButton::after {
    content: "";
    position: absolute;
    background-image: url(/images/playArrow.svg);
    width: 100%;
    height: 100%;
    background-size: 80%;
    background-position: center;
    background-repeat: no-repeat;
    left: 0px;
    cursor: pointer;
}

.playButtonContainer {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
    justify-content: space-between;
}

.playButtonContainer p {
    font-size: 12px;
}

#exampleTrackContainer {
    justify-content: space-around; 
    width: 100%;
    display: flex;
}

#embedFrameContainer {
    width: 100%;
    height: 100px;
    position: relative;
    display: flex;
    align-items: end;
    margin-top: 20px;
    overflow: hidden;
}

#embedFrameContainer iframe {
    height: 100% !important;
    position: relative;
    width: 100%;
}

#extraInfoArea {
    display: none;
}

.infoArea {
    height: 90vh;
    min-width: 250px;
    width: 20%;
    position: absolute;
    background-color: red;
    background: linear-gradient(rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border-color: rgba(255, 255, 255, 0.1);
    border-style: solid;
    padding: 15px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

#leftInfoArea {
    border-radius: 0px 15px 15px 0px;
    border-width: 1px 1px 1px 0px;
    left: 0px;
}

#rightInfoArea {
    border-radius: 15px 0px 0px 15px;
    border-width: 1px 0px 1px 1px;
    right: 0px;
}

#logoDisplay {
    width: 50px;
    height: 50px;
}

#additionalInfoOverlay {
    height: 100%;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0px;
    left: 0px;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    backdrop-filter: blur(3px);
}

#additionalInfoBox {
    width: 80%;
    height: 80%;
    background: linear-gradient(rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(1px);
    border-color: rgba(255, 255, 255, 0.1);
    border-style: solid;
    border-width: 1px;
    border-radius: 15px;
    padding: 30px;
    box-sizing: border-box;
    position: relative;
}