/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

:root {
    --primary-color: #181818;
    --secondary-color : #ffffff;   
    --theird-color :#18b26b;
}

html{
    height: 100vh;
    font-size: 14px;
    font-family: sans-serif;
}

* {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

body{
    background-color: var(--primary-color);
    color: var(--secondary-color);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    height: 100%;
    margin: 0;
}

header{
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 30px 48px;
    text-align: center;
}

h1{
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.2rem;
    color: var(--theird-color);
}

h3{
    font-weight: 300;
    font-size: 0.8rem;
    font-family: serif;
    text-align: center;
}

main {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    padding: 30px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.info {
    display: none;
    margin: 5px;
    color: var(--theird-color);
}

.titel {
    color: var(--theird-color);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.2rem;
    margin-bottom: 0;
    text-align: center;
    text-transform: uppercase;
}

.artist-track {
            align-items: center;
            justify-content: space-between;
        -ms-flex-align: center;
        -ms-flex-pack: justify;
    -webkit-box-align: center;
    -webkit-box-pack: justify;
    background: #f1f3f4;
    border-radius: 40px;
    color: var(--primary-color);
    cursor: default;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    font-weight: 600;
    margin: 5px;
    padding: 0px 20px;  
    text-align: center;
    text-align: left;
}

.image{
    width: auto;
    height: 500px;
    padding: 40px;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.btn-container{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin: 40px 10px;
}

.btn {
    text-align: center;
    text-transform: uppercase;
    background-color: var(--theird-color);
    color: var(--secondary-color);
    letter-spacing: 0.1rem;
    font-size: 1rem;
    padding: 18px;
    cursor: pointer;
    margin: 5px;
    border-radius: 40px;
    font-weight: bold;
}

.btn:hover {
opacity: 80%;
}

.active{
    color: var(--theird-color);
}

.search-field {
    padding: 18px;
    margin: 5px;
    border-radius: 40px;
    cursor: text;
    outline: none;
}

input::-webkit-input-placeholder{
    color: gray;
    font-size: 1rem;
}

input::-moz-placeholder{
    color: gray;
    font-size: 1rem;
}

input:-ms-input-placeholder{
    color: gray;
    font-size: 1rem;
}

input::-ms-input-placeholder{
    color: gray;
    font-size: 1rem;
}

input::placeholder{
    color: gray;
    font-size: 1rem;
}

input:-webkit-autofill {
    -webkit-box-shadow: inset 0 0 0px 9999px var(--primary-color);
}

.artist-info{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.artist-track-container{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    width: 700px;
}

.error-text{
    color: var(--secondary-color);
    text-align: center;
    font-family: sans-serif;
}

.error-song {
    color: #ff0000;
    font-weight: 600;
    font-size: 0.9rem;
}

@media screen and (max-width: 740px) {
    .btn-container {
        width: 370px;
    }

    .image {
        height: 370px;
        padding: 30px;
    }

    .artist-track-container {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        width: 370px;
    }

    .artist-track {
        background-color: var(--primary-color);
        color: var(--secondary-color);
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        text-align: center;
        border-radius: 0;
        padding-top: 20px;
    }
  
}