footer {
    display: flex;
    position: relative;
    background-color: #3b4a5d;
    justify-content: center;
    padding-top: 3vw;
    width: 100%;
    height: max(200px, 15vw);
    color: white;
}

h5 {
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 1vw;
}

footer p {
    font-size: 13px;
    font-weight: 300;
}
footer p b {
    font-weight: 400;
}

#pic2{
    width: max(65px,6vw);
    height: max(65px,6vw);
    background-image: url("/src/logo.png");
  -webkit-background-size: cover;
    background-size: cover;
  -webkit-background-color: #3b4a5d;
    background-color: #3b4a5d;
    
}

#link {
    position: absolute;
  -webkit-border-radius: 1rem;
    border-radius: 1rem;
    height: min(50px, 5vw);   
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 400;
}

#link a{
    color: white;
    margin: 5px;
    font-weight: 400;
}

#copyright p{
    color: white;
    font-weight: 200;
    font-size: 12px;
}
#copyright {
    position: absolute;
    bottom: 5px;

    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#grid-txt {
    z-index: 100;
    position: absolute;
    top: 30%;
    width: 80%;
    display: flex;
    justify-content: space-around;
    
    color: white;
    align-items: center;

}

#g-txt-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.g-txt a{
    font-size: 20px;
    margin: 0 1.5vw;
    background-color: #536883;
    padding: 13px 15px 7px 15px;
  -webkit-border-radius: 50%;
    border-radius: 50%;
    color: white;
    transition: background-color 500ms;
}
.g-txt a:hover{
    background-color: #82a1c9;
}

@media only screen and (max-width: 550px) {
    #link {
        bottom: 1em;
        justify-content: center;
        background-color: #3b4a5d;
        margin: .6em;
        overflow: hidden;
    }
    h5 {
        display: none;
    }

    #pic2 {
        width: 6em;
        height: 6em;
        object-fit:cover;
    }

    #grid-txt {
        position: absolute;
        top: 55%;
        overflow: hidden;
    }
    #g-txt-1 {
        display: none;
    }
    #pic {
        position: absolute;
    }
}

@media only screen and (max-width: 750px) and (min-width: 550px){
    #link {
        width: 80%;
        bottom: 40px;
        background-color: rgba(255, 255, 255, 0.192);
        justify-content: left;
        padding: 0px min(90px, 7vw);
    }

    #copyright {
        position: absolute;
        bottom: 10px;
        width: 90%;

        display: flex;
        justify-content: center;
        align-items: center;
    }
    #pic {
        position: absolute;
        bottom: 10px;
        left: 70%;
        padding: 20px;
      -webkit-border-radius: 50%;
        border-radius: 50%;
        background-color: #3b4a5d;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 750px) {
    #link {
        width: 80%;
        bottom: 40px;
        background-color: rgba(255, 255, 255, 0.192);
        justify-content: left;
        padding: 0px min(90px, 7vw);
    }

    #copyright {
        position: absolute;
        bottom: 10px;
        width: 90%;

        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
    #pic {
        position: absolute;
        bottom: 5px;
        padding: 20px;
      -webkit-border-radius: 50%;
        border-radius: 50%;
        background-color: #3b4a5d;
    }
}