* {
    font-family: 'Roboto', sans-serif;
}

content h1, content h2, content h3 {
    text-align: center;
    text-transform: uppercase;
}

.txtr-wd {
    width: 500px;
}

#pladzuma-mark {
    font-size: 12px;
    margin: 10px 15px;
    text-align: right;
}

#pladzuma-mark a {
    color: #156FC1;
}

header {
    align-items: center;
    display: flex;
    margin-bottom: -10px;
    padding: 30px 20px;
}

#header-logo {
    background-image: url('../img/logo.svg');
    height: 40px;
    margin-right: auto;
    min-width: 60px;
    width: 60px;
}

header nav {
    align-items: center;
    display: flex;
    margin-left: auto;
}

#nav-links {
    text-align: center;
}

nav a {
    font-size: 18px;
    /* transition: 0.2s; */
}

nav a:hover {
    border-bottom: 2px solid #000;
}

nav a.active {
    border-bottom: 2px solid #000;
}

header nav a {
    margin-left: 50px;
}

.nav-social-icon {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    height: 24px;
    width: 24px;
}

.nav-social-icon:hover {
    border-bottom: none;
}

.nav-inst {
    background-image: url('../img/ic-ig-black.svg');
    transition: 0.2s;
}

.nav-ldin {
    background-image: url('../img/ic-ldin-black.svg');
    transition: 0.2s;
}

.nav-inst:hover {
    background-image: url('../img/ic-ig.svg');
}

.nav-ldin:hover {
    background-image: url('../img/ic-ldin.svg');
}

content {
    display: block;
    min-height: calc(100vh - 135px);
}

.content-compact {
    padding: 5% 10%;
    padding-top: 200px;
}

.work-list {
    padding: 0px 10px;
}

.worklist-item {
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    display: inline-block;
    height: calc(33.3vh - 75px);
    margin: 10px;
    max-width: calc(100vw - 40px);
    position: relative;
    /* transition: all 0.5s cubic-bezier(0, 1.32, 0, 1.36); */
    vertical-align: top;
    width: calc(33.3% - 20px);
}

.worklist-item-category {
    align-items: center;
    background-color: #fff;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    bottom: 0px;
    height: 1px;
    left: 0px;
    opacity: 0;
    position: absolute;
    right: 0px;
    top: 0px;
}

.worklist-item:hover .worklist-item-category {
    font-size: 30px;
    font-weight: bold;
    height: 100%;
    opacity: 1;
    padding: 50px 0px;
    width: 100%;
}

a.worklist-item:hover {
    /* border: 10px solid #fff; */
}

.category-list-item {
    display: block;    
    font-size: 72px;
    font-weight: bold;
    text-align: center;
}

.work-image-full {
    display: block;
    margin: 20px auto;
}

#aboutme {
    font-size: 18px;
    line-height: 1.5;
    margin-top: 14px;
    text-align: center;
    white-space: pre-wrap;
}

.menuburger {
    cursor: pointer;
    display: block;
    left: calc(50% - 16px);
    position: absolute;
    width: 32px;
}

.menuburger div {
    background: #000;
    height: 4px;
    margin: 4px 0px;
    width: 32px;
}

.ic-exit {
    border-bottom: 2px solid #fff;
    padding-top: 40px;
    position: relative;
}

.ic-exit div {
    background: #000;
    display: inline-block;
    height: 4px;
    left: calc(50% - 16px);
    margin: 4px 0px;
    position: absolute;
    width: 32px;
}

.ic-exit div:first-child {
    transform: rotate(45deg);
}

.ic-exit div:nth-child(2) {
    transform: rotate(135deg);
}

#overlay {
    background: rgba(0, 0, 0, 0.7);
    bottom: 0px;
    height: calc(100vh - 100px);
    opacity: 0;
    position: fixed;
    top: -100vh;
    width: 100vw;
    z-index: 998;
}

#mobilemenu {
    background: #fff;
    height: 1px;
    padding: 40px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    top: -100vh;
    transition: 0.6s;
    width: 100%;
    z-index: 999;
}

#mobilemenu a {
    display: block;
    height: 25px;
    margin: 0px auto;
    margin-bottom: 50px;
    text-align: center;
    width: max-content;
}

.mobilemenuon #overlay {
    opacity: 1;
    top: 100px;
}

.mobilemenuon #mobilemenu {
    height: auto;
    opacity: 1;
    top: 100px;
}

.mobilemenuon .menuburger {
    display: none;
}

.mobilemenuon {
    overflow: hidden;
}

.prevwork-link, .nextwork-link {
    background: #fff;
    opacity: 20%;
    padding: 10px;
    position: fixed;
    top: calc(50% - 32px);
}

.prevwork-link:hover, .nextwork-link:hover {
    opacity: 100%;
}

.prevwork-link {
    left: 5vw;
}

.nextwork-link {
    right: 5vw;
}

.totop-link {
    background: #fff;
    bottom: -5vh;
    opacity: 0%;
    left: calc(50% - 40px);
    padding: 10px;
    position: fixed;
    transition: 0.2s;
}

.totop-link-show {
    bottom: 5vh;
    opacity: 20%;
}

.totop-link-show:hover {
    opacity: 100%;
}

.sameworks {
    max-width: 1440px;
    margin: auto;
    margin-top: 70px;
}

.samework-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 50px auto;
}

.sameworklist-item {
    background-position: center top;
    background-size: cover;
    display: block;
    height: 150px;
    margin: 10px;
    max-width: calc(16% - 20px);
    width: 100%;
}

.sameworklist-item:hover {
    border: 5px solid #fff;
}

#aboutme-photo {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 50%;
    display: block;
    margin: 40px auto;
    width: 100%;
  }
  
#aboutme-photo:after {
    content: '';
    display: block;
    padding-top: 100%;
}

footer {
    margin-top: calc(80px + 5vh);
}

#greeting {
    /* margin: 70px; */
    margin-top: 200px;
    text-align: center;
}

#greeting p {
    font-size: 18px;
    line-height: 1.5;
    margin-top: 14px;
}

#greeting img {
    cursor: pointer;
    margin: 100px auto;
    width: 40px;
}

.workview-title {
    margin-top: 100px;
}

.workview-text {
    margin: 50px auto;
    margin-bottom: 100px;
    max-width: 800px;
}

.worklist-item-overlay {
    align-content: center;
    align-items: center;
    background: rgb(0 0 0 / 70%);
    color: #fff;
    display: flex;
    font-size: 24px;
    height: 100%;
    justify-content: center;
    opacity: 0;
    transition: 0.5s;
    width: 100%;
}

.worklist-item-overlay:hover {
    opacity: 1;
}

.contact-p {
    margin-top: 14px;
}