@import url(https://fonts.googleapis.com/css?family=Raleway&subset=latin,latin-ext);

body {
    background-color: rgb(221,221,221);
    height: 100vh;
    width: 100vw;
    font-family: 'Raleway', sans-serif;
    font-size: 1.2rem;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.business-card {
    padding: 4rem;
    background: white;
    border: 5px solid #0099CC;
    border-radius: 10px;
    max-width: 47rem;
    margin: 1rem;
}

.business-card img.h1 {
    margin-top: 0;
    margin-bottom: 2rem;
}
.business-card .motto {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-align: justify;
}
.business-card .details {
    font-size: 1.75rem;
    margin-bottom: 0;
    text-align: justify;
}
.business-card pre {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.business-card .buttons {
    padding-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.business-card .buttons a {
    vertical-align: middle;
    line-height: 32px;
    width: 22%;
}

.btn {
    border: 1px solid #FF2A00;
    background-color: white;
    color: #FF2A00;
    padding: 0.85rem 1.25rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.25;
    cursor: pointer;
    border-radius: 5px;
    white-space: nowrap;
    vertical-align: middle;
    text-align: center;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.btn:hover {
    background-color: #FF2A00;
    color: white;
}

a.btn {
    text-decoration: none;
}

a.mail {
    font-family: monospace;
}
a.linkedin {
    display: inline-block;
    width: 133px;
    height: 32px;
    background-image: url('../img/portfolio.png');
    background-repeat: no-repeat;
    background-position: center center;
    text-indent: -10000px;
}

.languages {
    float: right;
    margin-top: -2rem;
    margin-right: -2rem;
}

.languages a {
    cursor: pointer;
    margin-left: 1rem;
}

.languages a.selected {
    font-weight: bold;
}

.hidden {
    display: none;
}
@media only screen and (max-width: 768px) {
    .container {
        align-items: flex-start;
    }
    .business-card {
        padding: 2rem;
        width: 100vw;
    }

    .business-card .buttons a {
        width: 40%
    }

    .languages {
        margin-top: -1rem;
        margin-right: -1rem;
    }
}
@media only screen and (max-height: 568px) {
    .container {
        align-items: flex-start;
    }
}
@media only screen and (max-width: 576px) {
    .business-card .buttons a {
        width: 100%
    }
    .business-card .motto {
        text-align: left;
    }
}
@media only screen and (max-width: 450px) {
    .business-card h1 {
        clear: both;
        margin-top: 1rem;
    }
}
