/**
* Template Name: MyPortfolio - v4.7.0
* Template URL: https://bootstrapmade.com/myportfolio-bootstrap-portfolio-website-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

@font-face {
    font-family: Walkway;
    src: url(../fonts/Walkway\ UltraBold.ttf);
}

@font-face {
    font-family: Helvetica Light;
    src: url(../fonts/HelveticaNeueLt.ttf);
}

@font-face {
    font-family: Helvetica;
    src: url(../fonts/Helvetica\ Now\ Var\ W05\ Regular.ttf);
}

* {
    /* border: 0.01px solid red; */
    text-decoration: none;
    margin: 0;
    padding: 0;
    list-style: none;
}

body {
    font-family: Helvetica Light, sans-serif;
    font-size: 1.1em;
    font-weight: lighter;
    color: black;  
    margin: 0 2vw 0 2vw;
}

.row {
    display: flex;
    flex-direction: row;
}

.column {
    display: flex;
    flex-direction: column;
}

.link {
    color: black;
}

.link:hover {
    cursor: pointer;
    text-decoration-line: underline;
    /* text-decoration-thickness: 1px; */
}

.active {
    /* opacity: 0.5; */
    text-decoration-line: underline;
    /* text-decoration-thickness: 1px; */
}


.border-bottom {
    border-bottom: solid 1px black;
}

.border-top {
    border-top: solid 1px black;
}

.line {
    padding-top: 8px;
    padding-bottom: 8px;
    width: 100%;
    display: flex;
    flex-direction: row;
}

.line2 {
    padding-top: 8px;
    padding-bottom: 8px;
    width: 46.5vw;
    display: flex;
    flex-direction: row;
}

.img4 {
    width: 100%;
}

.img3 {
    width: 75%;
}

.img2 {
    width: calc(50% - 8px);
}

.text {
    width: calc(48vw - 8px);
}

.img1 {
    width: 20%;
}

.absolute {
    position: absolute;
}

.cover {
    object-fit: cover;
}

.margin-left {
    margin-left: 16px;
}

.margin-right {
    margin-right: 16px;
}

.margin-bottom {
    margin-bottom: 16px;
}

.margin-top {
    margin-top: 16px;
}

.padding-bottom {
    padding-bottom: 8px;
}

.padding-top {
    padding-top: 8px;
}


/*--------------------------------------------------------------
# Menu
--------------------------------------------------------------*/

#navbar {
    width: 100%;
    z-index: 2;
    padding-top: 2vw;
    display: flex;
    flex-direction: row;
    background-color: white;
    padding-bottom: 8px;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}

#logo {
    width: calc(48vw - 8px);
}

.menu-each {
    padding-left: 1%;
    padding-right: 1%;
}

.centered {
    text-align: center;
}

#lang {
    z-index: 3;
}

#close {
    font-family: Walkway;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.footer {
    margin-bottom: 2vw;
    padding-top: 8px;
    width: 100%;
    text-align:end;
}

/*--------------------------------------------------------------
# Home
--------------------------------------------------------------*/

.date {
    width: 90px;
}

.what {
    width: 50vw;
    margin-left: 90px;
}

.right-what {
    width: 100%;
    text-align: end;
}

.right {
    width: 100%;
    text-align: end;
}

.right2 {
    width: 100%;
    text-align: end;
}

.p-name {
    width: calc(48vw - 8px);
}

.p-text {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-self: end;
    justify-content: end;
}

.p-hidden {
    width: calc(48vw - 8px);
}

.p-img {
    width: calc(48vw - 8px);
    
}

.p-img:hover {
    cursor: pointer;
    /* filter: blur(3px); */
}

.no-link:hover {
    cursor:auto;
}

.accordion {
    transition: 0.4s;
}

.panel {
    max-height: 0;
    box-sizing: border-box;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

/*--------------------------------------------------------------
# Projects
--------------------------------------------------------------*/

.p-date {
    width: 60px;
    position: absolute;
}

.p-what {
    width: 80vw;
    margin-left: 60px;
    position: absolute;
}

.flipbook {
    height: 50vw;
    border: none;
}

.progress {
    margin-top: 8px;
}

/*--------------------------------------------------------------
# Media querys
--------------------------------------------------------------*/


@media (max-width: 850px) {
    .img3 {
        width: 100%;
    }
    
    .img2 {
        width: 100%;
    }

    .img1 {
        width: 50%;
    }

    .margin-left {
        margin-left: 0;
    }

    .row {
        flex-direction: column;
    }

    .text, .p-img, .p-hidden {
        width: 100%;
    }

    .margin-top {
        margin-top: 2vw;
    }

    .margin-bottom {
        margin-bottom: 2vw;
    }


    #sub-menu {
        display: none;
    }

    #lang, .p-type {
        width: 100%;
        text-align: end;
    }
        
}

@media (max-width: 550px) {
    .p-type, .p-date {
        display: none;
    }

    .p-what {
        margin-left: 0;
    }

    .p-name {
        width: 100%;
    }

    body {
        font-size: 1.2em;
    }

    /* .border-bottom {
        border-bottom: solid 1.5px black;
    }
    
    .border-top {
        border-top: solid 1.5px black;
    } */
}

@media (max-width: 300px) {
    .programs {
        margin-top: 16px;
    }

}

