@font-face {
    font-family: Assistant;
    src: url("/fonts/Assistant/static/Assistant-Regular.ttf");
    font-weight: normal;
}
@font-face {
    font-family: Assistant;
    src: url("/fonts/Assistant/static/Assistant-Bold.ttf");
    font-weight: bold;
}
@font-face {
    font-family: Athiti;
    src: url("/fonts/Athiti/Athiti-Medium.ttf");
}

body {
    background: radial-gradient(50% 50% at 50% 50%, #454545 0%, #323232 100%);
    font-family: Assistant, sans-serif;
    padding-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
}


#business-card-container {
    width: 450px;
    max-width: 100%;
    margin: 50px auto auto;
}
#business-card-filler {
    width: 100%;
    padding-top: 63.33%;
    position: relative;
}

#business-card {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    background: #FFFFFF;
    box-shadow: 0 4px 20px 10px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
}
#business-card > .logo {
    position: absolute;
    background-image: url("/brand.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 60%;
    max-width: 235px;
    padding-top: 25.53%;
    top: 45%;
    left: 50%;
    transform: translate(-50%,-50%);
}
#business-card > .contact {
    position: absolute;
    width: 100%;
    bottom: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
#business-card > .contact > a {
    flex: 1;
    text-decoration: none;
}
#business-card > .contact > a:hover {
    transition: 0.3s;
    text-decoration: underline;
    text-decoration-color: #3A3A3C;
}
#business-card > .contact > a > div {
    text-align: center;
    height: 60px;
    line-height: 60px;
    font-size: 14px;
    color: #3A3A3C;
}

#projects {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 720px;
    max-width: 100%;
    margin: 50px auto auto;
    overflow-x: scroll;
}
#projects > .project-wrapper {
    height: 110px;
}
#projects > .project-wrapper > .project {
    width: 100px;
    height: 100px;
    cursor: pointer;
    margin-left: 10px;
    margin-right: 10px;
    transition: 0.3s;
}
#projects > .project-wrapper > .project:hover {
    width: 110px;
    height: 110px;
    transition: 0.3s;
}
#projects > .project-wrapper > .project > .project-icon {
    width: 72%;
    height: 72%;
    background-color: #323232;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    margin: auto;
}
#projects > .project-wrapper > .project > .project-name {
    color: #FFFFFF;
    text-align: center;
    height: 26%;
    font-size: 15px;
    line-height: 26px;
}

#references {
    height: 200px;
    width: 750px;
    max-width: 100%;
    margin: 70px auto auto;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}
#references > .arrow {
    width: 75px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
#references > .arrow > .arrow-button {
    width: 40px;
    height: 65px;
    cursor: pointer;
}
#references > .content-wrapper {
    flex-grow: 1;
    height: 100%;
    max-width: 600px;
}
#references > .content-wrapper > .content {
    height: 100%;
    display: flex;
    flex-direction: column;
}
#references > .content-wrapper > .content > .header {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#references > .content-wrapper > .content > .header > .title {
    flex-grow: 1;
    width: 100%;
    max-width: 250px;
}
#references > .content-wrapper > .content > .header > .title > .name {
    height: 30px;
    font-size: 18px;
    line-height: 30px;
    color: #FFFFFF;
    font-weight: bold;
    text-align: center;
}
#references > .content-wrapper > .content > .header > .title > .job-title {
    text-align: center;
    height: 20px;
    font-size: 12px;
    line-height: 20px;
    color: #E5E5E5;
}
#references > .content-wrapper > .content > .header > .rating {
    flex-grow: 1;
    width: 100%;
    max-width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#references > .content-wrapper > .content > .header > .rating > .star {
    width: 50px;
    height: 50px;
    background-image: url("/img/icons/star.svg");
    background-size: 25px;
    background-position: center;
    background-repeat: no-repeat;
}
#references > .content-wrapper > .content > .header > .rating > .star.active {
    background-image: url("/img/icons/star_active.svg");
}
#references > .content-wrapper > .content > .body {
    overflow-y: scroll;
}
#references > .content-wrapper > .content > .body > .text {
    font-family: Athiti, sans-serif;
    color: #FFFFFF;
    text-align: center;
    font-size: 13px;
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 10px;
}
