@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");

body {
    background-color: gray;
    margin: 0;
    font-family: "Poppins", sans-serif;
    display: flex;
    flex-direction: column;
}

.transition-background {
    position: absolute;
    width: 100%;
    height: 60vh;
    background: rgb(0,46,97);
    background: linear-gradient(69deg, #002e61 0%, #3566a8 40%, #749fee 100%);
    border-bottom: solid 2px black;
    z-index: 10;
}

.flex {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    z-index: 20;
}

.content {
    max-width: 85%;
    background-color: white;
    padding: 1em;
    border-radius: 1em;
    border: solid 1px gray;
    box-shadow: 5px 5px 14px -1px rgba(0,0,0,0.72);
}

#selfie img {
    display: block;
    margin: 0 auto;
    border: solid 2px white;
    border-radius: 1em;
    margin: 0 auto;
    width: 10em;
    height: 10em;
}

#hello {
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    line-height: 1em;
}


#my-name {
    color: blue;
}

#job-title {
    text-align: center;
    font-size: 1em;
    color: #666;
    line-height: 1em;
}

@media only screen and (min-width: 750px) {
    .content {
        max-width: 50em;
        display: flex;
        width: 91%;
    }

    #selfie {
        margin-right: 1em;
    }

    #selfie img {
        width: 100%;
        height: auto;
    }

    .about {
        flex: 1 2 auto;
    }

    #hello {
        font-size: 3em;
        line-height: 0;
        white-space: nowrap;
    }

    #job-title {
        font-size: 1.5em;
        line-height: 1em;
    }
}



.wrapper {
    display: flex;
    list-style: none;
    justify-content: space-around;
    margin: 2em 0;
    padding: 0;
}
  
.wrapper .icon {
    position: relative;
    background: #f0f1ff;
    border-radius: 50%;
    margin: 0;
    width: 50px;
    height: 50px;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper a {
    color: black;
}

.wrapper a:hover {
    color: #fff;
}

.wrapper .tooltip {
    position: absolute;
    top: 0;
    font-size: 14px;
    background: #ffffff;
    color: #ffffff;
    padding: 5px 8px;
    border-radius: 5px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip::before {
    position: absolute;
    content: "";
    height: 8px;
    width: 8px;
    background: #ffffff;
    bottom: -3px;
    left: 50%;
    transform: translate(-50%) rotate(45deg);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon:hover .tooltip {
    top: -45px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.wrapper .icon:hover span,
.wrapper .icon:hover .tooltip {
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
}

.linkedin:hover,
.linkedin:hover .tooltip,
.linkedin:hover .tooltip::before {
    background: #1877F2;
}

.instagram:hover,
.instagram:hover .tooltip,
.instagram:hover .tooltip::before {
    background: #E4405F;
}

.github:hover,
.github:hover .tooltip,
.github:hover .tooltip::before {
    background: #333333;
}