*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}
nav {
    background-image: linear-gradient(rgba(255, 255, 255, 0) , rgba(14, 105, 180, 1));

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 1rem;
}
nav img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
nav > div > div:first-child{
    height: 9rem;
    width: 70%;
}

nav>div>div:nth-child(2) >div:first-child {
    height: 5rem;
    width: 70%;
}
nav div:nth-child(2){
    display:flex;
    gap: 1rem;
}
nav div:nth-child(2) div:nth-child(2) {
    display: flex;
    flex-direction: column;
}

nav div:nth-child(2) div:nth-child(2) p {
    width: 70%;
}
nav p{
    font-weight: 700;
    font-size: 20px;
    line-height: 25.4px;
    color: #0060AD;
}


nav ~ div{
    display: flex;
    width: 70%;
    gap: 3rem;
    justify-content: center;
    margin: auto;
    padding-top: 1rem;

    border: 1px solid black;
    border-top: 0px;
    border-right: 1px;
    border-bottom: 0px;
    border-left: 1px;
    border-color: #DFDFDF;
    border-style: solid;
    border-width: 2px;
}
nav~div > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 41%;

}

nav~div>div:first-child > div:last-child {
    margin-top: auto;


}

span{
    font-size: larger;
    font-weight: bold;
}
nav~div>div:first-child>div:last-child span {
    color: #005FAF;
    font-size: 22px;
    font-weight: 400;


}

nav~div>div p {
    font-size: large;
    line-height: 30.8px;
}

nav~div > div > p{
    color: #005FAF;
    font-size:x-large;
    margin-top: 1rem;
}

nav~div > div *{
    margin-bottom: 1rem;
}

nav~div>div:first-child>p {
    margin-bottom: 0;

}




nav~div > div:nth-child(2){
    color: white !important;
    padding: 0rem 3rem 1rem 3rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;

}

nav~div>div:nth-child(2)  p:nth-child(2) {
    margin-top: 3rem;

}
nav~div>div:nth-child(2) p{
    color: white !important;
    font-weight: bold;
    text-align: center;
    font-size: 1.5rem;


}


ul{
    display: flex;
    align-items: end;
    flex-direction: column;
    margin-top: 1rem;
    align-self: flex-end;
}


nav~div>div:nth-child(2) div {
    height: 15rem;

}

nav~div>div:nth-child(2) img {
    height: 100%;
    width: 100%;
    object-fit:contain;


}

nav~div>div:nth-child(2) > img {

    height: 100%;
    width: 100%;
    position: absolute;
    z-index: -1;
    object-fit: cover;
    top: 0;
    left: 0;

}

a{
    text-decoration: none;
    background-color: #005FAF;
    border-radius: 0.3rem;
    color: white;
    padding: 0.4rem 3rem;
    width : 100%;
}

@media (max-width: 590px) {
    nav~div {
            flex-direction: column;

        }
                nav~div>div:first-child {
                    display: flex;
                    flex-direction: column;
                    gap: 2rem;
                    padding: 0.5rem;
                    width: 100%;
                }
                                nav~div {

                                    width: 100%;

                                }
}



.mobile{
    background-image: url("./pictures/mobilebanner.png");
    background-position: center;
    background-size: cover;
    height: 45vh;
    width: 100% !important;
    position: relative;
}
.mobile .image-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    column-gap: 10px
}
.mobile .image-wrapper img{
    width: 45%;
}

.mobile .annual-wrapper{
    position: absolute;
    top: 15vh;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
}

.mobile p{
    position: absolute;
    bottom: 5vh;
    color: white;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
}



.mobile{
    display: block;
}
.desktop{
    display: none;
}

@media (min-width: 768px) {
    .mobile{
        display: none;
    }
    .desktop{
        display: flex;
    }
}

@media (min-width: 500px) {
    .mobile .image-wrapper{
        width: 60%;
    }
    .mobile .image-wrapper img{
        width: 30%;
    }

    .mobile .annual-wrapper{
        position: absolute;
        top: 15vh;
        left: 50%;
        transform: translateX(-50%);
        width: 60%;
    }

    .mobile p{
        position: absolute;
        bottom: 5vh;
        color: white;
        text-align: center;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
    }
}
