@font-face {
    font-family: Jacobs Chronos;
    src: url(fonts/JacobsChronos_W_Lt.woff2) format("woff2"),url(fonts/JacobsChronos_W_Lt.woff) format("woff");
    font-weight: 300;
    font-style: normal
}

@font-face {
    font-family: Jacobs Chronos;
    src: url(fonts/JacobsChronos_W_Rg.woff2) format("woff2"),url(fonts/JacobsChronos_W_Rg.woff) format("woff");
    font-weight: 400;
    font-style: normal
}

@font-face {
    font-family: Jacobs Chronos;
    src: url(fonts/JacobsChronos_W_It.woff2) format("woff2"),url(fonts/JacobsChronos_W_It.woff) format("woff");
    font-weight: 400;
    font-style: italic
}

@font-face {
    font-family: Jacobs Chronos;
    src: url(fonts/JacobsChronos_W_Bd.woff2) format("woff2"),url(fonts/JacobsChronos_W_Bd.woff) format("woff");
    font-weight: 700;
    font-style: normal
}

body, html {
    /*font-family: 'Jacobs Chronos', sans-serif;*/
    font-family: "Segoe UI",system-ui,"Apple Color Emoji","Segoe UI Emoji",sans-serif;
}




homescreen {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    
    /*background-color: #222222;*/
    

    background-color: #f3f2f1;
    /*background-image: url('nafra2background.jpg');*/

    background-size: cover;
    background-position: top center;
    padding: 20px 80px;
    overflow: auto;
    text-align: center;
}

h2 {
    margin: 0px;
    color: white;
    color: #333333;
    font-weight: 700;
    padding-left: 20px;
    /*text-shadow: 2px 2px 4px rgba(0,0,0,0.4);*/
    font-size: 28px;
    /*font-family: 'Roboto Condensed', sans-serif;*/
}

item {
    display: inline-block;
    position: relative;
    padding: 20px;
    vertical-align: top;
}

size {
    position: relative;
    display: block;
    top: 0px;
    left: 0px;
    width: 142px;
    height: 142px;
    margin-bottom: 20px;
}

icon {
    width: 142px;
    height: 114px;
    padding-top: 28px;
    display: block;
    position: absolute;
    top: 20px;
    left: 20px;
    border-radius: 30px;
    
    color: white;
    font-size: 80px;
    text-align:center;

    line-height: 1em;
    /*box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    border: 1px solid #999999;*/
}

icon2 {
    position: absolute;
    top: 0px;
    right: 0px;
    left: 0px;
    bottom: 0px;
    border-radius: 30px;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,000000+50,000000+99&0.2+0,0+50,0.2+100 */
    background: -moz-linear-gradient(top, rgba(255,255,255,0.2) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.2) 99%, rgba(0,0,0,0.2) 100%); 
    background: -webkit-linear-gradient(top, rgba(255,255,255,0.2) 0%,rgba(0,0,0,0) 50%,rgba(0,0,0,0.2) 99%,rgba(0,0,0,0.2) 100%); 
    background: linear-gradient(to bottom, rgba(255,255,255,0.2) 0%,rgba(0,0,0,0) 50%,rgba(0,0,0,0.2) 99%,rgba(0,0,0,0.2) 100%); 
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#33ffffff', endColorstr='#33000000',GradientType=0 );


    mix-blend-mode: multiply;
}

icon3 {
    position: absolute;
    top: 0px;
    padding-top: 28px;
    right: 0px;
    left: 0px;
    bottom: 0px;
    border-radius: 30px;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,000000+50,000000+99&0.2+0,0+50,0.2+100 */
    background: -moz-linear-gradient(top, rgba(255,255,255,0.2) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.2) 99%, rgba(0,0,0,0.2) 100%); 
    background: -webkit-linear-gradient(top, rgba(255,255,255,0.2) 0%,rgba(0,0,0,0) 50%,rgba(0,0,0,0.2) 99%,rgba(0,0,0,0.2) 100%); 
    background: linear-gradient(to bottom, rgba(255,255,255,0.2) 0%,rgba(0,0,0,0) 50%,rgba(0,0,0,0.2) 99%,rgba(0,0,0,0.2) 100%); 
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#33ffffff', endColorstr='#33000000',GradientType=0 );

    mix-blend-mode: overlay;
}

icon i {
    text-shadow: 2px 2px 8px rgba(0,0,0,0.1);
    mix-blend-mode: overlay;
}

icon.notWhite i {
    mix-blend-mode: multiply;
}

icon3 i {
    opacity: 0.75;
}



label {
    font-size: 18px;
    color: white;

    color: #333333;
    display: block;
    text-align: center;
    width: 142px;
    font-weight: 400;
    /*text-shadow: 2px 2px 4px rgba(0,0,0,0.5);*/
    cursor: pointer;
}

item:hover {
    cursor: pointer;
}

item:hover icon3 {
    background: -moz-linear-gradient(top, rgba(255,255,255,0.4) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.4) 99%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,255,255,0.4) 0%,rgba(0,0,0,0) 50%,rgba(0,0,0,0.4) 99%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255,255,255,0.4) 0%,rgba(0,0,0,0) 50%,rgba(0,0,0,0.4) 99%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#66ffffff', endColorstr='#66000000',GradientType=0 ); /* IE6-9 */
}

item:hover icon3 i {
    opacity: 1;
}

item:hover label {
    
    opacity: 0.75;
}

homebutton {
    position: fixed;
    top: 10px;
    left: 10px;
    width: 60px;
    height: 50px;
    padding-top: 10px;
    border-radius: 12px;
    display: none;
    background-color: white;

    background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(191,249,252,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(191,249,252,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(191,249,252,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#bff9fc',GradientType=0 ); /* IE6-9 */
    
    font-size: 40px;
    color: #5d6e7e;
    text-align: center;
    cursor: pointer;

    line-height: 1em;
}

homebutton i {
    /*background-color: #5d6e7e;
    color: transparent;
    text-shadow: 2px 2px 3px rgba(255,255,255,0.2);
    -webkit-background-clip: text;
        -moz-background-clip: text;
            background-clip: text;*/
}

homebutton:hover {
    opacity: 0.75;
}


iframe {
    position: fixed;
    top: 0px;
    left: 80px;
    width: calc(100% - 80px);
    height: 100%;
    display: none;
    border: 0px;
    background-color: white;
    box-shadow: 0px 0px 5px rgba(0,0,0,0.2);
}

h1 {
    font-size: 24px;
    position: fixed;
    bottom: -20px;
    left: 0px;
    transform: rotate(-90deg);
    transform-origin: left top 0;
    margin: 0px;
    color: white;
    color: #333333;
    padding-top: 24px;
    font-weight: 200;

    
}

copyright {
    position: fixed;
    bottom: 10px;
    right: 10px;
    padding-left: 10px;
    color: white;
    color: #333333;
    font-size: 12px;
}

subback {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(243,242,241,0.75);
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    justify-items: center;
    cursor: pointer;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

sub {
    background-color: rgba(0,0,0,0.75);
    padding: 40px;
    border-radius: 20px;
    margin-left: 10px;
    margin-right: 10px;
    text-align: center;
}


sub>i {
    font-size: 34px;
    float: right;
    color: white;
    cursor: pointer;
}

sub>i:hover {
    color: rgba(255,255,255,0.75);
}

sub h2 {
    color: white;
}

sub label {
    color: white;
}



copyright a:link, copyright a:hover, copyright a:visited, copyright a:active {
    /*color: white;*/
    color: #333333;
}

@media only screen and (max-width: 1024px) {
    homescreen {
        padding: 20px 20px 20px 60px;
    }

    h2 {
        font-size: 24px;
    }

    item {
        padding: 10px;
    }

    size {
        width: 76px;
        height: 76px;
        margin-bottom: 10px;
    }

    icon {
        width: 76px;
        height: 58px;
        padding-top: 18px;
        top: 10px;
        left: 10px;
        border-radius: 20px;
        font-size: 40px;
    }

    icon2 {
        border-radius: 20px;
    }

    icon3 {
        padding-top: 18px;
        border-radius: 20px;
    }

    label {
        font-size: 14px;
        width: 76px;
    }

    homebutton {
        width: 40px;
        height: 35px;
        padding-top: 5px;
        border-radius: 8px;
        font-size: 30px;
    }

    iframe {
        left: 60px;
        width: calc(100% - 60px);
    }

    h1 {
        
        padding-top: 12px;
        font-size: 24px;
    }

    sub {
        padding: 20px;
    }

    sub>i {
        font-size: 20px;
    }
}



@media only screen and (max-width: 600px) {
    
    homescreen {
        padding: 10px 10px 50px 10px;
    }

    h2 {
        font-size: 18px;
    }

    item {
        padding: 10px;
    }

    size {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }

    icon {
        width: 60px;
        height: 46px;
        padding-top: 14px;
        top: 10px;
        left: 10px;
        border-radius: 14px;
        font-size: 30px;
    }

    icon2 {
        border-radius: 14px;
    }

    icon3 {
        padding-top: 14px;
        border-radius: 14px;
    }

    label {
        font-size: 12px;
        width: 60px;
    }

    homebutton {
        top: calc(100% - 60px);
        left: calc(100% - 40px);
        width: 30px;
        height: 25px;
        padding-top: 5px;
        border-radius: 8px;
        font-size: 20px;
    }

    iframe {
        left: 0px;
        width: 100%;
        height: calc(100% - 70px);
    }

    h1 {
        font-size: 20px;
        transform: rotate(0deg);
        bottom: 32px;
        left: 10px;
    }

    copyright {
        font-size: 10px;
    }

}