body {
    background: #f5f5f5;
}

article {
    border: 0 !important;
    margin-top: 0;
    padding-top: 0;
    display: flex;
    flex-direction: column;
}

#business-card {
    display: flex;
    align-items: center;
    height: 436px;
}

#business-card-info {
    position: relative;
    color: white;
    padding: 15px 25px;
    width: 100%;
    font-size: 2.3em;
}

span {
    font-size: 1.1em;
    font-weight: 300;
    margin-left: 0.05em;
}

h1 {
    font-weight: 400;
    margin: 0;
}

h2 {
    font-size: 0.6em;
    font-weight: 300;
    margin: 0.1em 0 0 0;
    text-align: end;
    font-style: italic;
}

h3 {
    font-size: 2.2em;
    margin: 0;
}

h4 {
    font-size: 1.3em;
    margin: 0px;
    /* font-family: 'Roboto'; */
    font-weight: 400;
    color: rgb(30, 30, 30);
}

h5 {
    font-size: 1.1em;
    margin: 10px 0;
    font-weight: 500;
}

#me {
    height: 65%;
    width: auto;
    padding: 10px;
    margin: 25px;
    border-radius: 50%;
    box-shadow: 0 0px 50px #000;
    border: 5px solid rgba(255, 255, 255, 0.4);
}

#bg {
    position: absolute;
    width: 100%;
    height: 500px;
    box-sizing: border-box;
    object-fit: cover;
    z-index: -2;
}

body::after {
    content: "";
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.8));
    width: 100%;
    height: 500px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

#aboutme {
    display: flex;
}

#aboutme>div:first-child {
    width: 67%;
    box-sizing: border-box;
    padding: 40px 20px 0 0;
}

#aboutme>div:last-child {
    margin-top: 40px;
    position: relative;
    box-sizing: border-box;
    padding: 10px 0 10px 15px;
    border-left: 2px solid rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    white-space: nowrap;
}

#links>div:not(:first-child){
    margin-top: 25px;
}

#links a {
    margin-left: 10px;
    display: flex;
}

#links a:hover {
    filter: hue-rotate(10deg) brightness(50%);
}

#links img {
    width: 25px;
    padding-right: 10px;
    padding-left: 10px;
}

@media screen and (max-width: 1250px){

    span{
        font-size: 0.8em;
        /* margin: 0.2em; */
    }
    h1{
        font-size: 1.2em;
        /* margin: 0.1em; */
    }
    h2{
        margin: 0.2em 0.5em;
        font-size: 0.6em;
        text-align: right;
    }

    #business-card{
        display: flex;
        flex-direction: column;
    }
    #business-card-info{
        padding: 0;
    }
    #me{
        height: 25%;
        order: -1;
    }
    article{
        margin: 0;
    }
    .desc{
        padding: 0 15px !important;
    }
    #business-card-info{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

@media screen and (max-width: 1460px){
    #aboutme{
        flex-direction: column;
    }
    #aboutme>div{
        width: 100% !important;
    }
    #aboutme>div:last-child{
        border: 0;
        order: -1;
    }
    #aboutme>div:last-child>div>h4{
        display: inline;
    }
    #links>div{
        display: flex;
        flex-direction: column;
    }
}

@media screen and (min-width: 768px) and (max-width: 1460px){
    #links{
        flex-direction: row !important;
        justify-content: space-evenly;
    }
    #sites-links{
        margin: 0 !important;
    }
}