:root {
    --main-color: #f69f49;
}

/* open-sans-regular - latin */
@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    src: local("Open Sans Regular"), local("OpenSans-Regular"), url("../fonts/OpenSans-Regular.ttf") format("truetype");
}

/* open-sans-700 - latin */
@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 700;
    src: local("Open Sans Bold"), local("OpenSans-Bold"), url("../fonts/OpenSans-Bold.ttf") format("truetype");
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif !important;
}

body {
    background-color: #ff7e00;
}

h2 {
    font-size: 18px;
}

img {
    display: block;
}

.hide {
    display: none !important;
}

#song-template {
    display: none !important;
}

.wrap-content {
    display: flex;
    flex-direction: column;
    width: 600px;
    max-width: 100%;
    margin-inline: auto;
}

.logo-header {
    background-color: #fff;
}

.logos {
    display: block;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    padding: 24px;
    padding-bottom: 12px;
}

.logos .logo {
    height: 60px;
}

.intro {
    color: #fff;
    padding-top: 12px;
    padding-inline: 24px;
    text-align: center;
    font-size: 18px;
}

.closed-title {
    padding-block: 24px;
    font-size: 20px;
}

.wave-container {
    width: 100%;
}

.wave-container .wave {
    display: block;
    width: 100%;
    max-height: 30px;
}

.songs {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 24px;
}

.song {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-top-right-radius: 16px;
    border-top-left-radius: 16px;
    box-shadow: 16px 16px 32px -20px rgba(0, 0, 0, 0.2);
    border-bottom-left-radius: 16px;
    justify-content: flex-end;
}

.song .choice {
    position: absolute;
    right: 0px;
    font-size: 14px;
    background-color: #ff7e00;
    border-radius: 16px;
    color: #fff;
    padding: 6px 10px ;
    text-align: center;
    top: 0px;
    display: none;
    box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.3);
}

.vote-message {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 16px;
    border-top-left-radius: 16px;
    box-shadow: 16px 16px 32px -20px rgba(0, 0, 0, 0.4);
    border-bottom-left-radius: 16px;
    text-align: center;
    padding: 20px;
    font-weight: bold;
    color: var(--main-color);
}

/*.song.selected .choice {
    display: block;
}

.song.selected .song-infos .song-title{
    color: #ff7e00 !important; 
}*/

.song .player {
    display: flex;
    width: 100%;
    gap: 16px;
    align-items: center;

    padding: 18px;
}


.song .song-infos {
    display: flex;
    gap: 16px;
    overflow: hidden;
}

.song .song-infos .song-details {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.song .song-infos .song-title {
    
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song .song-infos .song-artist {
    font-size: 14px;
    color: #b3b3b3;

    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.song .play-btn {
    border: 2px solid #ff7e00;
    border-radius: 50%;
    padding: 5px;
}

.song .song-votes {
    display: flex;
    height: 38px;
    align-items: center;
    justify-content: end;
}

.song .song-votes .vote-btn {
    display: inline-block;
    color: #ff7e00;
    padding: 16px;
    padding-top: 0;
    white-space: nowrap;
    /*border-top: 2px solid #ff7e00;*/
    width: 100%;
    text-align: right;
    font-weight: bold;
}

.vote-btn {
    background: #fff;
    display: inline-block;
    border-bottom-right-radius: 16px;
    border-bottom-left-radius: 16px;
    margin-bottom: 28px;
    font-weight: bold;
    color: var(--main-color);
    padding: 16px 25px;
    width: fit-content;
    cursor: pointer;
    margin-left: auto;
}

.progress {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 16px;
    padding-top: 0;
}

.progress-number {
    text-align: right;
    font-size: 16px;
    font-weight: bold;
    min-width: 50px; 
}

.progress-bar {
    background-color: #f8ddc6;
    height: 5px;
    width: 100%;
    border-radius: 5px;
}

.progress-value {
    background-color: #ff7e00;
    height: 5px;
    border-radius: 5px;
    width: 0%;
    transition: 1s;
}

.lang-select {
    color: #fff;
    font-size: 12px;
    text-align: center;
}

.lang-select span {
    padding-inline: 10px;
}

/* MODAL */

.modal {
    position: absolute;
    inset: 0;
    background-color: #00000088;
    display: flex;
    padding: 32px;
    align-items: center;
    backdrop-filter: blur(3px);
    justify-content: center;
}

.modal-window {
    display: flex;
    max-width: 400px;
    width: 100%;
    flex-direction: column;
    background-color: #fff;
    border-radius: 16px;
    padding: 16px;
    gap: 16px;
}

.modal-window .buttons {
    display: flex;
    gap: 16px;
}

.modal-window .buttons .btn {
    width: 100%;
    background-color: #ff7e00;
    border-radius: 5px;
    color: #fff;
    padding: 8px 16px;
    text-align: center;

}