:root {
    /* --primary: #009fe3; */
    --primary: rgb(0, 3, 33);
    /* --secondary: rgba(0, 182, 237, .2); */
    --secondary: rgb(0, 3, 33, 0.7);
    /* --tertiary: #005d85; */
    --tertiary: rgb(53, 56, 57, 0.5);
    --white: #ffffff;
    --black: #000000;
    --text: #ffffff;
    --link: #ffffff;
}

@font-face {
    font-family: "Noto Sans";
    src: url("fonts/Noto_Sans/NotoSans-Regular.ttf");
    font-weight: 400;
    font-style: normal;
}

body {
    position: relative;
    min-height: 100vh;
    padding-bottom: 48px;
    box-sizing: border-box;
    color: var(--text);
    background: var(--secondary);
    background-image: url("images/bg.svg");
    background-repeat: no-repeat;
    background-size: 600px;
    font-family: 'Noto Sans', sans-serif;
}

a {
    color: var(--link);
}

#topbar,
.topbar-mobile {
    background-color: var(--primary);
    text-align: right;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    color: var(--white);
}

.topbar-mobile {
    height: 62px;
    display: none;
}

.logo-mobile {
    float: left;
}

.burger-mobile {
    float: right;
    width: 30px;
    padding: 10px 16px;
}

.menu-mobile {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    z-index: 10;
    color: var(--white);
    background-color: var(--primary);
    text-align: center;
    font-weight: 400;
    font-size: 20pt;
    display: none;
}

.menu-mobile div {
    padding: 8px;
}

.menu-mobile a {
    text-decoration: none;
    color: var(--white);
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    display: none;
}

#top {
    padding-top: 62px;
    overflow: hidden;

}

.deeplink {

    height: 62px;
}


.me-center {

    width: 800px;
    margin: 0 auto;
}

#about-me img {

    border-radius: 50%;
    float: left;

}

.cv {

    float: left;
    margin-left: 100px;

}

#about-me li {

    padding-left: 25px;
    font-size: 21px;
    margin-top: 10px;
}

.menu {

    font-weight: 400;
    font-size: 20pt;
    color: var(--white);
    text-align: center;
    padding: 12px;
    margin-right: 35px;
    float: left;

}


.menu a {

    text-decoration: none;
    color: var(--white);
}

.menu a:hover {

    opacity: 0.5;
}

#topbar-center {

    display: inline-block;
    vertical-align: top;

}

#logo {

    float: left;
}

#logo,
.logo-mobile {
    width: 50px;
    padding: 8px 16px;


}

#logo img,
.logo-mobile img {

    max-width: 100%;
}

.portfolio {

    max-width: 1600px;
    margin: 0 auto;
    padding: 30px;

}

.portfolio h2 {

    border-bottom: 1px solid var(--text);
}

.content {

    padding: 30px;
}

.content img {

    border: 3px solid var(--white);
    padding: 3px;
    margin: 15px;

}

.img-center {

    float: left;
    text-align: center;
    color: var(--text);
    width: 33%;
}

.img-center img {

    max-width: 95%;
    margin: 0 auto;
}

.wip {
    padding: 300px 0;
    text-align: center;
    font-size: 16pt;
    color: var(--text);

}

.mockupmobile {

    float: left;
    text-align: center;
    color: var(--text);
    width: 33%;
}

.mockupmobile img {

    max-width: 70%;
    margin: 0 auto;
}

.clear {

    clear: both;
}

.sketch-center {

    float: left;
    width: 50%;
    padding: 10px;
    box-sizing: border-box;

}

.sketchfab-embed-wrapper {

    position: relative;
    padding-bottom: 56.25%;
    /* ratio 16x9 */
    height: 0;
    overflow: hidden;
    width: 100%;
    height: auto;
}

.sketchfab-embed-wrapper iframe {

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.success-container {

    display: none;
}

.error-container {

    display: none;
}

.contact-form {

    max-width: 304px;
    margin: 0 auto;
}

.contact-form .form-input {

    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 10px 0;
}

textarea {

    height: 200px;
}

.footer {

    position: absolute;
    text-align: center;
    background-color: var(--primary);
    padding: 15px;
    bottom: 0;
    left: 0;
    right: 0;
    color: var(--white);
}

.loading {
    position: absolute;
    top: calc('50% - 10px');
    left: calc('50% - 10px');
    width: 20px;
    -webkit-animation: spin 2s linear infinite;
    -moz-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

.sketchfab-blocker {
    text-align: center;
}

.sketchfab-blocker button {
    display: block;
    margin: 15px auto;
    padding: 15px 15px;
    color: var(--white);
    background-color: var(--primary);
    border: 0;
    cursor: pointer;
}

.sketchfab-blocker button:hover {
    background-color: var(--tertiary);
}

@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

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

    .img-center {
        width: 50%;
    }

    .sketch-center {
        width: 100%;
    }

    .cv {

        margin-left: 74px;
    }

    .me-center {
        width: 714px;
    }
}

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

    .img-center {
        width: 100%;
    }

    .mockupmobile {
        width: 100%;
    }

    #about-me img {
        float: none;
        margin: 0 auto;
        display: block;
    }

    .me-center {
        width: 100%;
    }

    .cv {
        float: none;
        margin-left: 0;
    }

    #topbar {
        display: none;
    }

    .topbar-mobile {
        display: block;

    }
}

