@import "fonts/iosevka.css";

body {
    margin: 10px;
    background-color: #292528;
    color: #eaeaea;

    font-family: "Iosevka Web";
}

#border {
    max-width: 1200px;
    margin: 0px auto;
    padding-left: 10px;
    padding-right: 10px;
}

header {
    display: flex;
    flex-direction: row;
}

#personal-photo {
    background-image: url(img/ja.jpg);
    border-radius: 50%;
    min-width: 190px;
    width: 190px;
    height: 190px;
    background-size: cover;
}

a {
    color: #FFA32F;
    text-decoration: none;
}

a.underlined {
    text-decoration: underline;
}

a.underlined:hover {
    color: white;
}

a:hover {
    color: #FFA32F;
    text-decoration: underline;
}

/*h2 {
    padding-bottom: 5px;
    border-bottom: 1px solid #FFF760;
}*/

#address-block {
    flex-grow: 1;
    text-align: right;
}

address {
    font-style: normal;
}

address > .address-line > a {
    font-size: 22px;
    line-height: 35px;
}

.reference > .item {
    display: flex;
    flex-direction: row;
}

.reference > .item > .img-container {
    max-height: 100px;
    max-width: 100px;
    padding: 23px;
}

.reference > .item > .img-container > img {
    object-fit: cover;
    max-width: 100px;
}

.technologies td {
    padding: 5px;
}

.just {
    text-align: justify;
    display: flex;
}

#canvas-background {
    position:absolute;
    top:0;
    left:0;
    z-index:-1;
    opacity: .2;
}

@media screen and (max-width: 600px) {
  
    header {
        flex-direction: column;
    }

    #address-block {
        text-align: left;
    }

    #personal-photo {
        min-width: 90px;
        width: 90px;
        height: 90px;
    }
    
}

@media screen and (max-width: 800px) {
    .reference .img-container {
        display: none;
    }
}

@media print {
    canvas {
        display: none;
    }

    #personal-photo {
        display: none;
    }

    body, a, address > .address-line > a, td {
        font-size: 11px;
        line-height: normal;
        color: black;
    }

    a.underlined {
        text-decoration: none;
    }

    .technologies td {
        padding: 5px 0 0 0;
    }

    h2 {
        margin-top: 2px;
        margin-bottom: 2px;
    }

    img {
        display: none;
    }

    .no-print, .reference > .item.no-print {
        display: none;
    }
}
