﻿html {
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    box-sizing: border-box;
    overflow-y: scroll;
}

body {
    background-color: #000;
    font-family: Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

a {
    background-color: transparent;
}

a:active, a:hover {
    outline-width: 0;
}

#info a {
    color: #ff9e57;
}

h1, h2, h3 {
    font-weight: 500;
    margin: 10px 0;
}

p {
    margin: 10px 0;
}

img {
    border-style: none;
    max-width: 100%;
    height: auto;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

#contentcontainer {
    margin: 40px auto;
    background: #943114;
    max-width: 900px;
    color: #fff;
    position: relative;
}

#header {
    position: relative;
}

#menubuttons {
    position: absolute;
    right: 20px;
    bottom: 20px;
}

#pf {
    position: absolute;
    right: 20px;
    top: 0;
    font-size: 80px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.2);
}

#footer {
    padding: 20px;
    color: #ff9e57;
    font-size: 14px;
}

#footer p {
    text-align: right;
}

.box {
    padding: 10px 20px;
    overflow: hidden;
}

.center {
    text-align: center;
}

textarea:focus, input:focus {
    outline: none;
}

.button1 {
    background: rgba(0, 0, 0, 0.1);
    border: 1px #ec5d17 solid;
    display: inline-block;
    outline: 0;
    margin: 5px 0;
    padding: 4px 8px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
}

.button1:hover {
    background: #4d2e1c;
    border: 1px #4d2e1c solid;
    color: #fff;
}

#portfolio {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.portfolioitem {
    flex-grow: 1;
    width: 40%;
    background: #fff;
    margin: 12px;
    padding: 20px;
    color: #000;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    overflow: hidden;
}

.portfolioitemimg {
    width: 100px;
    height: 100px;
    border-radius: 50px;
    box-shadow: 0px 0px 25px #222;
}

.shadow {
    box-shadow: 0px 0px 25px #222;
}

.lg1 {
    color: #999;
    font-size: 12px;
}

.contactbox {
    background: #fff;
    color: #000;
    margin: 20px;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
}

.contactinput {
    border-radius: 0;
    -webkit-appearance: none;
    border: 1px #ec5d17 solid;
    padding: 8px;
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 10px auto;
    font-family: inherit;
    font-size: inherit;
    resize: none;
}

#feedback1 {
    padding: 20px;
    color: #000;
}

.feedbackinfo {
    background-color: #fff;
}

.feedbackerror {
    background-color: #ffecec;
    border: 1px solid #f5aca6;
}

.feedbacksuccess {
    background-color: #e9ffd9;
    border: 1px solid #a6ca8a;
}

.detailsbox {
    background: #fff;
    color: #000;
    margin: 20px;
    padding: 20px;
    overflow: hidden;
    min-width: 200px;
}

.detailsbox p, 
.detailsbox h1, 
.portfolioitem p, 
.portfolioitem h1 {
    overflow: hidden;
    text-overflow: ellipsis;
}

.portfoliodetailsitemimage {
    float: right;
    margin: 20px;
    border: 1px #000 solid;
    box-shadow: 0px 0px 25px #222;
}

.portfoliodetailsimage {
    display: block;
    border: 1px #777 solid;
    margin: 10px 0;
}

#portfolioexplorer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.portfolioexploreitem {
    flex-grow: 1;
    width: 20%;
    background: #fff;
    border: 1px #777 solid;
    text-align: center;
    margin: 10px;
    padding: 10px 20px;
    overflow: hidden;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

.nowrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 700px) {

    #contentcontainer {
        margin: 0 auto;
        border: 0;
    }

    #menubuttons {
        position: relative;
        right: auto;
        bottom: auto;
        text-align: center;
        margin: 20px;
        font-size: 16px;
    }

    .portfolioitem, .portfolioexploreitem {
        width: 100%;
    }

    .portfoliodetailsitemimage {
        display: none;
    }

    #pf {
        font-size: 30px;
    }
}
