body {
    margin: 0;
    padding: 0;
    font-family: "Arial", sans-serif;

    font-size: 24pt;
    line-height: 1.5;
    color: white;

    background-color: rgb(36, 63, 117);
    background-image: url("../img/bg.jpg");
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
}

a {
    color: inherit;
    font-family: inherit;
    text-decoration: none;
}

body .content {
    display: flex;
    flex-direction: column;
}

header{
    margin-top: 2%;
    margin-left: 3%;
    margin-bottom: 2%;
}

main {
    margin-left: 3%;
}

.footer-all {
    margin-left: 3%;
    width: 93%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    /* margin-bottom: 2%; */
}

.nav {
    width: 74%;
    margin-bottom: 9.5%;
}

.nav ul {
    padding: 0;
    display: flex;
    /* justify-content: space-between; */
    text-align: center;
}

.nav li {
    list-style-type: none;
    margin-right: 100px;
}

.nav a {
    text-transform: uppercase;
    text-align: center;
    display: flex;
    flex-direction: column;
    width: 250px;
    
    font-size: 14pt;
}

.nav a:hover,
.nav a:focus {
    text-decoration: underline;
}

.nav-img {
    border: 2px solid white;
    border-radius: 15px;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
    height: 150px;
    margin-bottom: 10px;
}

.nav-el-ph {
    display: flex;
}

.im1 {
    background-image: url(../img/sel-menu1.webp), linear-gradient(
        to right,
        rgba(36, 63, 117, 0.7),
        rgba(36, 63, 117, 0.2)
    );
    background-position: center;
    background-repeat: no-repeat;
}

.im2 {
    background-image: url(../img/sel-menu2.webp), linear-gradient(
        to right,
        rgba(36, 63, 117, 0.5),
        rgba(36, 63, 117, 0.2)
    );
    background-position: center;
    background-repeat: no-repeat;
}

.im3 {
    background-image: url(../img/sel-menu3.webp), linear-gradient(
        to right,
        rgba(36, 63, 117, 0.5),
        rgba(36, 63, 117, 0.2)
    );
    background-position: center;
    background-repeat: no-repeat;
}

.im4 {
    background-image: url(../img/sel-menu4.webp), linear-gradient(
        to right,
        rgba(36, 63, 117, 0.5),
        rgba(36, 63, 117, 0.2)
    );
    background-position: center;
    background-repeat: no-repeat;
}

.im5 {
    background-image: url(../img/sel-menu5.webp), linear-gradient(
        to right,
        rgba(36, 63, 117, 0.5),
        rgba(36, 63, 117, 0.2)
    );
    background-position: center;
    background-repeat: no-repeat;
}

.logo {
    max-width: 350px;
}

.foot {
    background-color: #243f76;
    display: flex;
}

.foot h3 {
    text-transform: uppercase;
    font-size: 24pt;
    margin-bottom: 16px;
}

.foot p {
    font-size: 14pt;
}

.footer-line {
    background-color: white;
    height: 2.5px;
}

.foot-elem {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.foot-img {
    height: 50px;
    width: 50px;
    margin-top: 25px;
    margin-right: 15px;
}

.fim1 {
    background-image: url(../img/sel-foot1.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.fim2 {
    background-image: url(../img/sel-foot2.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.fim3 {
    background-image: url(../img/sel-foot3.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.description {
    max-width: 1200px;
    margin-bottom: 5%;
}

.visual-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 1px;
    border: 0;
    padding: 0;
    clip: rect(0, 0, 0, 0);
    overflow: hidden;
}

@media only screen and (max-device-width : 1725px) {
    body {
        font-size: 14pt;
        text-align: justify;
    }
   
    main {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .description {
        margin-right: 15px;
    }
    
    .footer-content {
        display: flex;
        flex-wrap: wrap;
    }

    .nav {
        width: auto;
    }

    .nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }

    .foot-elem {
        flex-direction: column;
    }
}
