a {
    text-decoration: none;
    color: #fff;
}

p {
    margin: 0;
}
html {
    font-size: 10px;
}
body {
    min-height: 100vh;
    display: flex;
    font-family: Lato, sans-serif;
    font-size: 1.8rem;
    color: rgb(255, 255, 255);
    text-align: center;
    background: url(style.css) center center / cover no-repeat;
    transition: background-image 1s ease-in-out 0s;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
}
    

.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    height: 20vh;
}


.player {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;   
}

.title {
    font-size: 2rem;
    text-shadow: rgb(82 82 82) 2px 2px 2px;
} 

.controls {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.duration {
    display: flex;
    
}

.progress-container {
    background: white;
    width: 100%;
    height: 1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.progress {
    background: rgb(231, 219, 110);
    width: 0%;
    height: 1rem;
    border-radius: 0.5rem;
    transition: 0.25s;
}

.volume-container {
    cursor: pointer;
}    

.volume-button {
    height: 26px;
    display: flex;
    align-items: center; 
    position: relative;
    z-index: 2;
}    

.volume-slider {
    position: absolute;
    left: -3px; top: 15px;
    z-index: -1;
    width: 0;
    height: 15px;
    background: white;
    box-shadow: 0 0 20px #000a;
    transition: .25s;
}

.volume-percentage {
    background: coral;
    height: 100%;
    width: 75%;
}

.volume-slider:hover {
    left: -123px;
    width: 120px;
    
}    


.playlist {
    text-align: left;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style-type: none;
}

.song::before {
    content: '\2713';
    margin-right: 0.8rem;
}

.active {
    color: rgb(231, 219, 110);
}

.player-buttons {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.player-icon_small img{
    width: 3.2rem;
    height: 3.2rem;
}
.player-icon_big img {
    width: 4rem;
    height: 4rem;
}



@media (max-width: 700px) {
    .header {
        flex-direction: column;
        justify-content: space-between;
        gap: 3.5rem;
    }
    .playlist {
        display: none;
    }
}

.weather {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    height: 100%;
}

.city {
    width: 70%;
    padding: 0.5rem;
    font-size: 2rem;
    line-height: 1.2;
    color: #ffffff;
    border: 0px;
    border-bottom: 1px solid #ffffff;
    background-color: transparent;
    transition: all 0.3s ease;
}

.weather-error {
    margin-top: -1rem;
}

.description-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
}

.weather-icon {
    font-size: 5rem;
}

.temperature-description {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

@media (max-width: 700px) {
    .weather {
        align-items: flex-end;
        width: 100%;
    }
    .city {
        width: 18rem;
        margin-bottom: 1rem;
    }
    .wind {
      display: none;  
    }
    .humidity {
      display: none;  
    }
}


.main {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-content {
    display: flex;
    gap: 2rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 64%;
    height: 50vh;
    padding: 2rem;
}

.slider-icon {
    width: 6.4rem;
    height: 6.4rem;
    background-repeat: no-repeat;
    background-color: transparent;
    border: 0;
    outline: 0;
    opacity: 0.8;
    cursor: pointer;
    transition: all 0.3s;
}

.slide-prev {
    left: 2rem;
    background-image: url(../assets/icons/left.svg);
}

.slide-next {
    right: 2rem;
    background-image: url(../assets/icons/right.svg);
}


.time {
    font-family: 'Azeret Mono', monospace;
    font-weight: 400;
    font-size: 10rem;
    text-shadow: rgb(82, 82, 82) 2px 2px 2px;
    letter-spacing: -1rem;
}

.date {
    font-family: 'Lato', sans-serif;
    font-size: 3rem;
    font-weight: 300;
}

.greeting-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: baseline;
    gap: 1rem;
}

.greeting {
    flex: 1;
    max-width: 50%;
    font-size: 3.8rem;
    text-align: right;
}

.name {
    flex: 1;
    max-width: 50%;
    font-size: 4rem;
    text-align: left;
    color: #fff;
    background-color: transparent;
    border: 0;
    outline: 0;
}

@media (max-width: 700px) {
    .main {
        height: 50vh;
    }

    .slide-prev {
        left: 0rem;
    }

    .main-content {
        gap: 1rem;
        padding: 1rem;
    }

    .time {
        font-size: 6rem;
    }

    .date {
        font-size: 2.4rem;
    }

    .greeting-container {
        flex-direction: column;
        align-items: center;
    }

    .greeting {
        max-width: 100%;
        text-align: center;
        font-size: 2.4rem;
    }

    .name {
        max-width: 100%;
        text-align: center;
        font-size: 2.8rem;
    }
}

.footer {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    height: 20vh;
    justify-content: space-between;
}

.quote {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
}
    
.change-quote {
    background-image: url(../assets/icons/loop.svg);
    width: 3rem;
    height: 3rem;
    background-size: 3rem;
    background-color: transparent;
    border: 0;
    cursor: pointer;
    transition: all 0.3s;
}

.change-quote_active {
    transform: rotate(180deg);
}

.quote-text {
    max-width: 50%;
}

@media (max-width: 700px) {
    .quote-text {
        max-width: 80%;
        font-size: 1.8rem;
    }
}

.footer-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-rslink {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 0.8rem;
}

.footer-rslink-school img {
    width: 6rem;
    height: 3.1rem;
}