@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap");

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    height: 100%;
    width: 100%;
    background-color: rgb(6 21 28);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    /*margin: 0;*/
    /*overflow: hidden;*/
}

body {
    font-family: "Open Sans", sans-serif;
    /*color: #555555;*/
    /*color: #555555;*/
    overflow-y: auto;
    overflow-x: hidden;
}

html .sites {
    background-color: rgb(240 240 240 / 1);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.andrus-bg {
    background: linear-gradient(to bottom, rgba(6, 21, 285, 0) 50%, rgba(6, 21, 28, 1) 100%),
    /*url("../andruskallastu-photos/Andrus-Kallastu-web1.png");*/
    url("../andruskallastu-photos/Andrus-Kallastu-web.png");
    /*background-image: url("../andruskallastu-photos/Andrus-Kallastu-web2.png");*/
    height: 90%;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    /*filter: blur(1px);*/
    /*-webkit-filter: blur(8px);*/
    z-index: -2;
}

.archive-bg {
    background-image: linear-gradient(180deg, beige, lightgray);
    /*background-attachment: fixed;*/
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.foot-bg {
    background: linear-gradient(to bottom, rgba(41, 128, 185, 0) 0%, rgba(41, 128, 185, 0.8) 100%);
}

.andrus-name-bg {
    background-image: url("../andruskallastu-photos/AndrusKallastuName-cut.png"), linear-gradient(to bottom, rgb(0 0 0 / 0) 30%, rgba(0,0,0,1) 100%), url("../andruskallastu-photos/Andrus-Kallastu-web-short.png");
    height: 15%;
    background-position: center bottom, center bottom, center top;
    background-repeat: no-repeat;
    background-size: 30%, cover, cover;
    /*z-index: -2;*/
}

#container {

    /*width: 1000px;*/
    /*!*height: 50px;*!*/
    /*background-color: #fff;*/

    position: absolute;
    height: 100px;
    height: 100px;
    padding: 10px;
    /*top: 0px;*/
    top: -15px;
    /*left: 220px;*/
    /*right: 0;*/
    right: 50px;
    /*left: 0;*/
    /*margin: 0 10px;*/
    margin: 0 20px;

    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

#container #menu-wrap {
    position: relative;
    /*background-color: rgb(6, 21, 28, 0.8);*/
    /*background-color: rgb(85 85 85 / 0.5);*/
    height: 60px;
    width: 60px;
    /*height: 25px;*/
    /*width: 25px;*/
}

#container #menu-wrap .dots {
    position: absolute;
    height: 100%;
    width: 100%;
    /*height: 100%;*/
    /*width: 100%;*/
    top: 0;
    left: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    z-index: 3;
}

#container #menu-wrap .dots > div,
#container #menu-wrap .dots > div:after,
#container #menu-wrap .dots > div:before {
    height: 12px;
    width: 12px;
    /*height: 6px;*/
    /*width: 6px;*/
    /*background-color: rgba(255, 255, 255, 0.8);*/
    background-color: rgba(227, 192, 141, 0.8);
    /*border-radius: 50%;*/
    border-radius: 100%;
    /*border-color: #555555;*/
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

#container #menu-wrap .dots > div {
    position: relative;
}

#container #menu-wrap .dots > div:after {
    content: "";
    position: absolute;
    /*bottom: calc((25px / 2) - (6px / 2));*/
    bottom: calc((50px / 2) - (12px / 2));
    left: 0;
}

#container #menu-wrap .dots > div:before {
    content: "";
    position: absolute;
    /*top: calc((25px / 2) - (6px / 2));*/
    top: calc((50px / 2) - (12px / 2));
    left: 0;
}

#container #menu-wrap .menu {
    position: absolute;
    right: 60px;
    /*top: calc(-12px + 65px);*/
    top: calc(-12px - 12px);
    width: 0;
    height: 0;
    /*background-image: linear-gradient(to bottom, rgba(227, 192, 141, 0) 20%, rgba(227, 192, 141, 0.8) 95%);*/
    background-image: linear-gradient(to bottom, rgb(29 86 124 / 0.8) 65%, rgba(29, 86, 124, 0.05) 100%);
    /*background-color: rgba(41, 128, 185, 0.7);*/
    /*background-color: rgba(255, 255, 255, 0.5);*/
    /*padding: 5px 15px 60px;*/
    /*padding: 20px 15px 40px;*/
    padding: 20px 15px 40px;
    font-weight: 600;
    /*-webkit-box-shadow: 2px 4px 6px rgba(49, 49, 49, 0.2);*/
    /*box-shadow: 2px 4px 6px rgba(49, 49, 49, 0.2);*/
    -webkit-box-shadow: 4px 8px 12px rgba(49, 49, 49, 0.2);
    box-shadow: 4px 8px 12px rgba(49, 49, 49, 0.2);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
}

#container #menu-wrap .menu ul {
    list-style: none;
}

#container #menu-wrap .menu ul li {
    margin: 7px 0;
}

#container #menu-wrap .menu ul li .link {
    text-decoration: none;
    /*color: rgba(255, 255, 255, 0.85);*/
    color: rgba(227, 192, 141, 0.8);
    opacity: 0;
    visibility: hidden;
}

#container #menu-wrap .toggler {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    z-index: 4;
}

#container #menu-wrap .toggler:hover + .dots > div,
#container #menu-wrap .toggler:hover + .dots > div:after,
#container #menu-wrap .toggler:hover + .dots > div:before {
    /*background-color: rgba(255, 95, 31, 0.85);*/
    background-color: rgba(41, 128, 185, 0.85);
}

#container #menu-wrap .toggler:checked + .dots > div {
    -webkit-transform: translateX(calc(((50px / 2) - (12px / 2)) * -0.7071067812)) translateY(calc(((50px / 2) - (12px / 2)) * -0.7071067812));
    -ms-transform: translateX(calc(((50px / 2) - (12px / 2)) * -0.7071067812)) translateY(calc(((50px / 2) - (12px / 2)) * -0.7071067812));
    transform: translateX(calc(((50px / 2) - (12px / 2)) * -0.7071067812)) translateY(calc(((50px / 2) - (12px / 2)) * -0.7071067812));
}

#container #menu-wrap .toggler:checked + .dots > div:after {
    -webkit-transform: translateX(calc(((50px / 2) - (12px / 2)) * 0.7071067812)) translateY(calc((2 * (50px / 2) - (12px / 2)) * 0.7071067812));
    -ms-transform: translateX(calc(((50px / 2) - (12px / 2)) * 0.7071067812)) translateY(calc((2 * (50px / 2) - (12px / 2)) * 0.7071067812));
    transform: translateX(calc(((50px / 2) - (12px / 2)) * 0.7071067812)) translateY(calc((2 * (50px / 2) - (12px / 2)) * 0.7071067812));
}

#container #menu-wrap .toggler:checked + .dots > div:before {
    -webkit-transform: translateX(
            calc(2 * (((50px / 2) - (12px / 2)) * 0.7071067812))
    ) translateY(
            calc(((50px / 2) - (12px / 2)) - (((50px / 2) - (12px / 2)) * 0.7071067812))
    );
    -ms-transform: translateX(calc(2 * (((50px / 2) - (12px / 2)) * 0.7071067812))) translateY(
            calc(((50px / 2) - (12px / 2)) - (((50px / 2) - (12px / 2)) * 0.7071067812))
    );
    transform: translateX(calc(2 * (((50px / 2) - (12px / 2)) * 0.7071067812))) translateY(
            calc(((50px / 2) - (12px / 2)) - (((50px / 2) - (12px / 2)) * 0.7071067812))
    );
}

#container #menu-wrap .toggler:checked:hover + .dots > div,
#container #menu-wrap .toggler:checked:hover + .dots > div:after,
#container #menu-wrap .toggler:checked:hover + .dots > div:before {
    /*background-color: rgba(255, 95, 31, 0.85);*/
    background-color: rgba(41, 128, 185, 0.85);
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

#container #menu-wrap .toggler:checked ~ .menu {
    opacity: 1;
    visibility: visible;
    /*width: 200px;*/
    width: 200px;
    height: 330px;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

#container #menu-wrap .toggler:checked ~ .menu ul .link {
    opacity: 1;
    visibility: visible;
    -webkit-transition: 0.5s ease 0.3s;
    -o-transition: 0.5s ease 0.3s;
    transition: 0.5s ease 0.3s;
}

#container #menu-wrap .toggler:checked ~ .menu ul .link:hover {
    color: #2980b9;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
}

#container #menu-wrap .toggler:not(:checked) ~ .menu {
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

#container #menu-wrap .toggler:not(:checked) ~ .menu ul .link {
    opacity: 0;
    visibility: hidden;
    -webkit-transition: 0.1s;
    -o-transition: 0.1s;
    transition: 0.1s;
}

main {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80%;
    pointer-events: none;
}

#container {
    pointer-events: auto;
}

.hole {
    margin-top: 100px;
    /*text-align: justify-all;*/
}

.content-begin {
    margin-top: 30px;
}

.persons {
    padding: 10px 0;
}

h2 {
    font-size: 50px;
    line-height: 55px;
    font-weight: 300;
    color: rgba(140, 115, 82, 0.8);
}

p {
    color: rgb(240 240 240 / 0.7);
}

#artist-name-box {
    display: flex;
    justify-content: center;
    background: linear-gradient(to bottom, rgb(6 21 28 / 0) 0%, rgb(6 21 28 / 1) 100%);
    padding-top: 0;
    margin: -80px auto 0;
    z-index: 1;
}

/*#artist-name-box-sites {*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    !*background: linear-gradient(to bottom, rgb(6 21 28 / 0) 0%, rgb(6 21 28 / 1) 60%);*!*/
/*    padding-bottom: 0;*/
/*    !*padding-bottom: 15px;*!*/
/*    margin: -90px auto 0;*/
/*    !*kontrollitud number*!*/
/*    z-index: 1;*/
/*}*/

#artist-name {
    content: url("../andruskallastu-photos/AndrusKallastuName-cut.png");
    width: 50%;
    z-index: 2;
}

/*#artist-name-sites {*/
/*    content: url("../andruskallastu-photos/AndrusKallastuName-cut.png");*/
/*    width: 30%;*/
/*    z-index: 2;*/
/*}*/

/* about portfolio order */
fieldset {
    margin: 20px auto;
    padding: 20px 15px 15px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: block;
    /*justify-content: center;*/
    width: 95%;
    max-width: 1440px;
    text-align: left;
    font-size: 1.1rem;
    /*line-height: 1.5rem;*/
    font-weight: 500;
    /*background-color: #FFFFFF;*/
    color: #222222;
}

legend {
    font-size: 2rem;
    padding: 0 20px;
    font-weight: bold;
    color: #222222;
    text-align: center;
}
/*.inlegend {margin-left: 155px;}*/
h4 {padding-bottom: 20px;}


.texts p {margin: 7px 0; color: #555555;}
.sub-texts {padding-left: 30px;}

.table .texts {padding: 50px 0; }

h1 {
    font-size: 55px;
    line-height: 60px;
    font-weight: 300;
    color: rgb(240 240 240 / 0.8);
}

h3 {
    /*font-size: 60px;*/
    /*line-height: 70px;*/
    padding: 10px;
    font-weight: 600;
    text-align: center;
    color: rgb(240 240 240 / 0.8);
}

h6 {
    font-size: 1.2rem;
    color: rgb(240 240 240 / 0.8);
    font-weight: 250;
}

p {
    font-size: 20px;
    padding: 5px 0;
    /*text-align: justify-all;*/
}

.p-in-index {
    color: rgb(240 240 240 / 0.8);
}

.content {
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 10px;
    /*margin: 0 60px;*/
    margin: auto;
    /*font-size: 17px;*/
    /*align-content: center;*/
    /*margin: 20px;*/
    /*padding-bottom: 10px;*/
    width: auto;
}

.content-text {
    /*float: left;*/
    /*margin: auto;*/
    /*display: block;*/
    /*justify-content: center;*/
    /*padding: 10px;*/
    /*align-content: center;*/
    /*text-align: left;*/
    /*align-items: center;*/
    /*align-self: center;*/
}

#sug {
    /*color: #555555;*/
}

/* table */
.table{display:table; width: 100%; font-weight: 400; padding-bottom: 20px;}
.table a:link, .table a:visited {color: #333; text-decoration: none; font-weight: 600;}
.table a:hover {opacity: 0.4; filter: alpha(opacity=40);}
.table div {display:table-row;}
.table div span {font-weight: 700;}
/*.table .table-header {padding-top: 20px;}*/
/*.table-content-list {display:table-cell; padding-left: 200px; margin: auto}*/
/*.table span {font-weight: bolder;}*/
/*.table div div {display:table-cell; padding:20px; margin: auto;}*/
.table .table-subheader {display: table-cell; padding-left: 20px;}
.table .table-content-list {display: table-cell; padding-left: 50px;}
/*.table-header {display:table-row; margin: auto;}*/
/*.table-header span {font-weight: bold;}*/
/*.table-subheader {display:table-cell; padding:20px; margin: auto;}*/
/*.table div .table-content-list {display:table-cell; font-weight: lighter; padding: 200px; margin: auto;}*/

#footer-text {
    margin: 0 auto;
    /*padding-top: 10px;*/
    padding: 15px 0;
    align-content: center;
    text-align: center;
    font-weight: 600;
}

a, a:hover {
    text-decoration: none;
}

.socialbtns, .socialbtns ul, .socialbtns li {
    margin: 0;
    padding: 5px;
}

.socialbtns li {
    list-style: none outside none;
    display: inline-block;
}

.socialbtns .fa {
    width: 50px;
    height: 35px;
    color: #FFF;
    /*background-color: #000;*/
    /*color: #000;*/
    /*background-color: rgba(41, 128, 185, 0.85);*/
    padding-top: 12px;
    transition: all ease 0.5s;
    -moz-transition: all ease 0.5s;
    -webkit-transition: all ease 0.5s;
    -o-transition: all ease 0.5s;
}

.socialbtns .fa:hover {
    border-radius: 20px;
    color: rgba(41, 128, 185, 0.85);
    background-color: #FFF;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    -o-border-radius: 20px;
    transition: all ease 0.5s;
    -moz-transition: all ease 0.5s;
    -webkit-transition: all ease 0.5s;
    -o-transition: all ease 0.5s;
}

@media screen and (max-width: 1500px) {
    .andrus-name-bg {
        background-size: 33%, cover, cover;
    }

    #artist-name {
        width: 54%;
    }
}

@media screen and (max-width: 1400px) {
    .andrus-name-bg {
        background-size: 36%, cover, cover;
    }

    #artist-name {
        width: 58%;
    }
}

@media screen and (max-width: 1300px) {
    .andrus-name-bg {
        background-size: 40%, cover, cover;
    }

    #artist-name {
        width: 62%;
    }
}

@media screen and (max-width: 1200px) {
    #container {
        position: absolute;
        right: 0;
        width: auto;
        margin: 0;
        z-index: 4;
    }

    .andrus-name-bg {
        background-size: 45%, cover, cover;
    }

    #artist-name {
        width: 66%;
    }
}

@media screen and (max-width: 1100px) {
    .andrus-name-bg {
        background-size: 50%, cover, cover;
    }

    #artist-name {
        width: 70%;
    }
}

@media screen and (max-width: 1000px) {
    .andrus-name-bg {
        background-size: 55%, cover, cover;
    }

    #artist-name {
        width: 74%;
    }
}

@media screen and (max-width: 900px) {
    .andrus-name-bg {
        background-size: 60%, cover, cover;
    }

    #artist-name {
        width: 78%;
    }
}

@media screen and (max-width: 800px) {
    .andrus-name-bg {
        background-size: 65%, cover, cover;
    }

    #artist-name {
        width: 82%;
    }
}

@media screen and (max-width: 700px) and (orientation: portrait) {
    /*.andrus-bg {*/
    /*    height: 85%;*/
    /*}*/

    .andrus-name-bg {
        background-size: 70%, cover, cover;
    }

    #container {
        position: absolute;
        /*top: -15px;*/
        /*left: 190px;*/
        /*right: 10px;*/
        right: 0px;
        width: auto;
        margin: 0;
        z-index: 4;
    }

    fieldset {
        font-size: 1.2rem;
        /*line-height: 1.4rem;*/
        /*font-weight: 500;*/
    }

    #artist-name {
        width: 85%;
    }

    h6 {
        font-size: 0.9rem;
        color: rgb(240 240 240 / 0.8);
        font-weight: 250;
    }

    p {
        font-size: 17px;
    }
}

@media screen and (max-device-height: 700px) and (orientation: landscape) {
    .andrus-bg {
        background: linear-gradient(to bottom, rgba(6, 21, 285, 0) 60%, rgba(6, 21, 28, 1) 100%),
        url("../andruskallastu-photos/Andrus-Kallastu-web5.png");
        height: 90%;
        background-position: center top;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .andrus-name-bg {
        height: 22%;
        background-size: 30%, cover, cover;
    }

    #container {
        position: absolute;
        right: 0px;
        width: auto;
        margin: 0;
        z-index: 4;
    }

    #artist-name {
        width: 60%;
    }

    fieldset {
        font-size: 1.2rem;
        /*line-height: 1.4rem;*/
        /*font-weight: 500;*/
    }

    h6 {
        font-size: 0.9rem;
        color: rgb(240 240 240 / 0.8);
        font-weight: 250;
    }

    p {
        font-size: 17px;
    }

    h2 {
        font-size: 45px;
        /*line-height: 50px;*/
    }
}
