#slider {
    width: 100%;
    height: 500px;
    background: linear-gradient(105deg, #312D8A 0%, #252263 100%);
    overflow: hidden;
    background-image: url('../img/slider.jpeg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    z-index: 0;
}
#slider > div {
    width: 500px;
    margin: auto auto;
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 60%;
    transform: translate(-50%, -50%);

}
@media screen and (max-width: 660px) {
    #slider > div {
        width: 90%;
    }
}
#slider > div > h1 {
    font-size: 40px;
    width: 100%;
    color: #fff;
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 25px;
    text-shadow: 0px 0px 5px #2e2e2e;
}
#slider > div > p {
    font-size: 20px;
    width: 100%;
    color: #fff;
    line-height: 1.5;
    text-align: center;
    text-shadow: 0px 0px 5px #2e2e2e;
}
#slider > div > div > div {
    height: 40px;
    display: flex;
    justify-content: start;
    align-items: center;
}
#slider > div > div > div > nav {
    height: 40px;
    overflow: hidden;
    border-radius: 50px;
    margin-left: 10px;
}
#slider > div > div > div > nav > a {
    color: white;
    background-color: rgb(255, 196, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    font-size: 16px;
    padding: 0px 60px;
}
#slider > div > div > div > div {
    height: 40px;
    overflow: hidden;
    border-radius: 50px;
    border: 2px solid #25d366;
}
#slider > div > div > div > div > a {
    color: #25d366;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    font-size: 16px;
    padding: 0px 60px;
}
@media screen and (max-width: 1020px) {
    #slider > div {
        text-align: center;
    }
    #slider > div > nav {
        height: 280px;
    }
    #slider > div > nav > img {
        height: 100%;
    }
    #slider > div > div {
        justify-content: center;
        padding-top: 50px;
    }
    #slider > div > div > h1 {
        font-size: 30px;
    }
    #slider > div > div > p {
        font-size: 16px;
    }
    #slider > div > div > div > nav > a {
        padding: 0px 40px;
        font-size: 14px;
    }
    #slider > div > div > div > div > a {
        padding: 0px 40px;
        font-size: 14px;
    }
}