:root {
    --color-black: #212628;
    --color-green: #B4EBE6;
    --color-dark-green: #80CBC4;
    --color-blue: #FBF8EF;
    --color-white-blue: rgb(235, 246, 255);
    --color-orange: #FFB433;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "PT Sans Narrow", sans-serif;
    font-weight: 400;
    font-size: 18px;
    word-break: break-word;
    color: #212628;
    background-color: #FFFFFF;
}

a {
    color: var(--color-orange);    
    text-decoration: none;
    font-weight: normal;
    &:hover {
        color: var(--color-dark-green);
        text-decoration: underline;
    }
}

.pagination {
    & .page-item a.page-link {
        color: var(--color-black);
        &:hover {
            text-decoration: none;
            background: #FCE7C8 !important;
            color: var(--color-black);
        }
    }
    & .page-item.active a.page-link {
        background-color: var(--color-orange);
        border-color: var(--color-orange);
        color: var(--color-black);
        color: white;
        text-decoration: none;
        &:hover {
            background-color: var(--color-orange);
            color: var(--color-black);
        }
    }
}

.countries {
    padding-top: 2rem;
    flex-direction: row;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    .country {
        font-size: 24px;
    }
    .country-catalog {
        .catalog-entry {
            margin-top: 2rem;
            &:first-letter {
                font-size: 40px;
                padding: 5px;
                padding-right: 20px;
                padding-left: 20px;
                margin-right: 10px;
                border-radius: 20px;
                border: 2px black solid;
            }
            .country {
                display: inline-block;
                &.even a {
                    color: var(--color-dark-green);
                    &:hover {
                        color: var(--color-orange);
                    }
                }
            }
        }
    }
}


@keyframes playing-track {
    from { background-color: var(--color-green) }
    to { background-color: white; }
}

.pop-styles {
    a.tag {
        font-size: 18px;
        display: inline-block;
        width: 100px;
    }
}

footer {
    margin-top: 100px;
}

.search {
    height: 300px;
    background: url(/images/bg.webp);
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: start;
    gap: 1rem;
    form {
        margin-top: 20px;
        display: flex;
        justify-content: center;   
        input {
            width: 40vw;
            height: 50px;
        }
        .icon-search {
            margin-left: -30px;
            background: transparent;
            border: none;
            img {
                border: none;
            }
        }
    }
    nav {
        align-self: flex-end;
        margin-top: 0;
        position: relative;
        z-index: 1;

        &:before {
            background: white;
            content: " ";
            position: absolute;
            top: 0; 
            left: 0;
            width: 100%; 
            border-bottom-left-radius: 10px;
            border-bottom-right-radius: 10px;
            height: 50px;  
            opacity: .4; 
            z-index: -1;
        }
        a {
            color: white !important;
            &:hover, &:focus {
                color: white !important;
                text-decoration: none;
            }
        }
        .favorites li a { 
            color: black !important;
            &:hover {
                background-color: var(--color-dark-green) !important ;
            }    
        }
    }
    .by-years {
        margin-top: 45px;
        font-size: 30px;
        position: relative;
        z-index: 1;
        height: 50px;
        width: 100%;
        padding-left: 2rem;
        padding-right: 2rem;
        border-radius: 10px;
        text-align: center;

        &:before {
            background: white;
            content: " ";
            position: absolute;
            top: 0; 
            left: 0;
            width: 100%; 
            border-radius: 10px;
            height: 50px;  
            opacity: .4; 
            z-index: -1;
        }
        a {
            color: white;
            &:hover {
                text-decoration: none;
                font-weight: bold;
            }
        }
    }
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--color-green);
}
.title-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    h1, h2 {
        margin: 0;
        padding-right: 10px; 
        white-space: nowrap; 
    }
}

.title-wrapper::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--color-green);
    margin-top: 25px;
}
  
.layout-wrapper {
    padding: 3rem;
    @media (max-width: 700px) {
        padding: 0px;
    }
}