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

a{
    text-decoration: none;
}
.nav-link-item.active,
.nav-link-item:hover{
    border-bottom: 1px solid rgb(0, 145, 255);
}
img{
    width: 100%;
}
.main{
    width: 100%;
}
.header {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100px;
    background: #121836;
    z-index: 9;
    position: fixed;
}

.logo img{
    border-radius: 50px;
}

.header .logo{
    width: 90px;
    -webkit-animation:spin 5s linear infinite;
    -moz-animation:spin 5s linear infinite;
    animation:spin 5s linear infinite;
    cursor: pointer;
    padding: 5px;
}

@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg);
    }
}
@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}
@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.navbar .nav-items{
    display: flex;
    gap: 30px;
}
.nav-link-item{
    color: rgb(255, 255, 255);
    font-size: 20px;
    transition: all 0.4s;
}
.nav-link-item:hover{
    color: rgb(23, 30, 224);
}

@media (min-width: 950px){
    .menu-open,
    .menu-wrapper{
        display: none;
    }
}




.footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 15px;
    background: rgb(18, 24, 54);
    color: #fff;
}
.footer a{
    color: red;
}

@media (max-width: 950px){
    .navbar .nav-items{
        display: none;
    }
    .header{
        width: 100%;
        position: fixed;
        display: flex;
    }
    .navbar{
        display: flex;
    }
    .menu-open{
        width: 30px;
        cursor: pointer;
    }

    .menu-wrapper{
        width: 0;
        position: absolute;
        left: 0;
        top: 0;
        bottom: -800%;
        background: rgba(0,0,0,0.85);
        display: flex;
        flex-direction: column;
        overflow: hidden;
        transition: width 300ms ease-in-out;
    }
    .menu-wrapper.open{
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: 1rem 2rem;
        backdrop-filter: blur(5px);
    }
    .menu-link{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin-top: 50px;
    }
    .menu-link a{
        transition: all .4s;
        padding-bottom: 5px;
    }
    .nav-link-item.active,
    .nav-link-item:hover{
        color: #fff;
    }
    .close-menu{
        width: 20px;
        align-self: flex-end;
        cursor: pointer;
        
        transition: all .3s;
        color: #fff;
    }
    .close-menu:hover{
        color: rgb(0, 145, 255);
        transform: rotate(360deg);
    }
    .container{
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .container .carte{
        display: flex ;
        flex-direction: column;
        margin: 80px auto 20px auto !important;
        align-items: center;
        background: rgba(255, 255, 255, 0.859) !important;
    }
}