* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

body {
    background-color: rgb(49, 100, 207);
    overflow-x: hidden;
}

footer {
    overflow-x: hidden;
}

.full-nav {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    z-index: 100;
}

.company a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}
.company img {
    width: 100px;
}
.nav-bar {
    display: flex;
    gap: 20px;
    list-style-type: none;
    margin-right: 40px;
}
.nav-bar a{
    text-decoration: none;
    color: white;
}
.nav-bar a:hover {
    color: rgb(2, 18, 51);
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    margin-right: 15px;
}
.bar {
    display: block;
    width: 38px;
    height: 6px;
    background-color: white;
}
/*              FOOTER                  */
footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 60px 200px 30px 30px;
    background: linear-gradient(to bottom, rgb(49, 100, 207), rgb(77, 184, 255));
}

.mid-section {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    grid-row: 2/3;
    grid-column: 1/4;
    align-items: center;
}
.aboutus{
    grid-row: 2/3;
    grid-column: 1/2;
    font-size: 30px;
    font-weight: bold;
    justify-self: center;
}
.aboutus p {
    margin-top: 20px;
    font-size: 20px;
    font-weight: lighter;
    width: 300px;
}
.contact-us {
    grid-row: 2/3;
    grid-column: 3/4;
}
.contact-us__spots {
    display: flex;
    align-items: center;
    align-items: center;
}
.contact-us img {
    margin-right: 15px;
    margin-bottom: 15px;
    width: 30px;
    height: 30px;
}

.socials {
    grid-row: 3/4;
    grid-column: 3/4;
    display: flex;
    gap:30px;
    margin-left: 15px;
}
.socials img {
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.legal-info {
    grid-row: 4/5;
    grid-column: 1/4;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.legal-info a{
    text-decoration: none;
    color: black;
}

.legal-info a:hover {
    color: white;
}


@media (max-width: 700px) {
    /* navbar */
    .hamburger {
        display: flex;
        cursor: pointer;
    }
    .nav-bar{
        display: none;
        position: absolute;
        top: 100px;
        left: 0; 
        flex-direction: column;
        width: 100%;
        background-color: rgb(46, 98, 211);
        gap: 15px;
        font-size: 20px;
    }
    .nav-bar.active {
        display: flex;
    }
    .nav-bar li{
        text-align: center;
        padding: 10px 0;
    }
    .nav-bar li:hover {
        background-color: rgb(79, 127, 231);
    }
    .nav-bar a{
        color: rgb(255, 239, 129);
    }
/*              FOOTER              */
    footer {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 100px;
    }

    .mid-section{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-us__spots {
        flex-direction: column;
        align-items: center;
        padding-top: 15px;
    }

    .contact-us__spots p {
        text-align: center;
    }

    .socials img {
        margin: 0 auto;
    }

    .legal-info {
        font-size: 12px;
    }
}