@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root{
    --darkColor: #222222;
    --primaryColor: #ffff00;
    --secondaryColor: #f5d50a;
    --poppins: "Poppins", sans-serif;
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
    background-color: #FFFFFF;
    font-family: var(--poppins);
    color: #222222;
}

a{
    text-decoration: none;
    color: var(--primaryColor);
}

img{
    max-width: 100%;
}

h1,h2,h3,h4,h5,h6{
    font-weight: 600;
    margin-bottom: 1em;
}

h1{
    font-size: 2.5em;
}
h2{
    font-size: 2em;
}
p{
    margin-bottom: 1.2em;
    font-size: 14px;
}

.container{
    width: 100%;
    max-width: 1260px;
    position: relative;
    margin: auto;
    padding-left: 40px;
    padding-right: 40px;
}

.text-center{
    text-align: center;
}

.top-header{
    background-color: var(--primaryColor);
    padding: 7px 0;
}
.sign-menu{
    list-style: none;
    display: flex;
    width: max-content;
    gap: 7px;
    margin-left: auto;
    position: relative;
    li{
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        a{
            display: inline-block;
            border: 2px solid var(--darkColor);
            color: var(--darkColor);
            padding: 7px 20px;
            border-radius: 100px;
            transition: 0.3s ease-in-out;
            &:hover{
                background-color: var(--darkColor);
                color: var(--primaryColor);
            }
        }
    }
}

.main-header{
    background-color: var(--darkColor);
    position: sticky;
    top: 0;
    z-index: 9;
}
.header-wrapper{
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 15px 0;
}

.logo{
    margin-right: auto;
    a>img{
        width: 100%;
        max-width: 200px;
        max-height: 50px;
        object-fit: contain;
    }
}

.main-menu>ul{
    list-style: none;
    display: flex;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 600;
    flex-wrap: wrap;
    gap: 40px;
}

.banner{
    text-align: center;
    margin: 30px 0;
}
.link-cta{
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
    a{
        display: inline-block;
        background-color: var(--darkColor);
        background: #000000;
        background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(66, 66, 66, 1) 47%, rgba(0, 0, 0, 1) 100%);
        color: #FFFFFF;
        padding: 10px;
        font-size: 18px;
        font-weight: 600;
        width: 200px;
        text-align: center;
        border-radius: 8px;
        border: 3px solid var(--darkColor);
        &.contras{
            background: #bda719;
            background: linear-gradient(0deg, rgba(189, 167, 25, 1) 0%, rgba(237, 218, 97, 1) 47%, rgba(245, 190, 10, 1) 100%);
            color: var(--darkColor);
            &:hover{
                background: linear-gradient(0deg, rgba(189, 167, 25, 1) 0%, rgba(237, 218, 97, 1) 37%, rgba(245, 190, 10, 1) 100%);
            }
        }
        &:hover{
        background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(66, 66, 66, 1) 37%, rgba(0, 0, 0, 1) 100%);
        }
    }
}

.page-content{
    padding: 70px 0;
}

footer{
    border-top: 1px solid #000000;
}

.banks{
    ul{
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 0 25px;
        img{
            max-height: 80px;
        }
    }
}

.footer-block{
    background-color: var(--darkColor);
    color: #FFFFFF;
    padding: 10px 0;
    font-size: 12px;
}
.footer-menu{
    list-style: none;
    font-family: 8px;
    text-decoration: none;
    display: flex;
    text-transform: uppercase;
    li{
        border-right: 1px solid #FFFFFF;
        padding: 0 10px;
        &:first-child{
            padding-left: 0;
        }
        &:last-child{
            padding-right: 0;
            border: none;
        }
        a{
            font-weight: 200;
        }
    }
}

.flex-footer{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}


@media screen and (max-width:840px) {
    .header-wrapper{
        display: grid;
        justify-items: center;
        gap: 20px;
    }
    .logo{
        margin: auto;
    }
    .main-header{
        padding: 20px 0;
    }
    .main-menu>ul{
        justify-content: center;
        font-size: 16px;
        gap: 15px;
    }
    .logo>a>img{
        max-height: 30px;
    }
}