/*
Theme Name: AM HOME
*/

@font-face {
    font-family: 'SuisseIntlMono';
    src: url('../assets/fonts/SuisseIntlMono.eot');
    src: url('../assets/fonts/SuisseIntlMono.eot?#iefix') format('embedded-opentype'),
        url('../assets/fonts/SuisseIntlMono.woff2') format('woff2'),
        url('../assets/fonts/SuisseIntlMono.woff') format('woff'),
        url('../assets/fonts/SuisseIntlMono.ttf') format('truetype'),
        url('../assets/fonts/SuisseIntlMono.svg#SuisseIntlMono') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* 
-------------------------------------------------------------------------------*/

:root {
    --size-body: 0.9vw;
    --line-body: 1.2em; 
}

html{
    overflow-y: auto;
}
body {
    font-size: var(--size-body);
    line-height: var(--line-body);
/*    font-family: helvetica;*/
    font-family: 'SuisseIntlMono';
}

/* We like off-black for text. */
body, select, input, textarea {color: #fff;}


a {color: #fff; text-decoration: none;}
a:hover {color: #fff;}

::-moz-selection{background: #fcd700; color: #fff; text-shadow: none;}
::selection {background: #fcd700; color: #fff; text-shadow: none;}

a:link {-webkit-tap-highlight-color: #fcd700;}

ins {background-color: #fcd700; color: #000; text-decoration: none;}
mark {background-color: #fcd700; color: #000; font-style: italic; font-weight: bold;}

/* Mozilla dosen't style place holders by default */
input:-moz-placeholder { color:#a9a9a9; }
textarea:-moz-placeholder { color:#a9a9a9; }

h1, h2, h3 {
    line-height: var(--line-body);
}

/* C O D E
-------------------------------------------------------------------------------*/
html {
    background-image: url('../assets/images/bg-blu2.jpg');
    background-position: center;
    background-size: cover;
}
body {
/*    background-image: url('../assets/images/bg-house1.jpg');*/
    
    min-height: 100dvh;
}
header {
    position: fixed;
    z-index: 5000;
    top: 10px;
    width: calc(100% - 20px);
    left: 10px;
/*    background-color: hsl(0deg 0% 100% / 10%);*/
    border-radius: 20vw;
    padding: 10px;
    backdrop-filter: blur(5px);
/*    box-shadow: 4px 4px 10px rgb(0 0 0 / 20%), inset 0 0 10px #ffffff78;*/
    border: 1px solid #fff;
}

header nav ul {
    display: flex;
}
header nav ul li {
    margin-right: 5px;
}
header nav ul li a {
    color: #fff;
}


.entry {
    margin-top: calc(1.2em + 40px);
    padding: 0 10px;
}


.glass-div {
    border-radius: 1vw;
    padding: 10px;
    backdrop-filter: blur(5px);
/*    background-color: hsl(0deg 0% 100% / 10%);*/
/*    box-shadow: 4px 4px 10px rgb(0 0 0 / 20%), inset 0 0 10px #ffffff78;*/
    border: 1px solid #868686;
}

input {
    margin: 5px;
    padding: 5px;
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
}

table { border-collapse: collapse; width: 100%; }
th, td { border-bottom: 1px solid #fff; font-weight: initial; }

button.set-expiry {
    border: 1px solid #fff;
    border-radius: 10vw;
    background-color: transparent;
    color: #fff;
}

/*
-------------------------------------------------------------*/
.entry.fridge {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.glass-div.fridge-insert {
    width: 100%;
    margin-bottom: 10px;
}
.glass-div.fridge-insert form#addForm {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}


.entry.fridge .fridge-active {
    width: calc(50% - 5px);
    margin-right: 5px;
}
.entry.fridge .fridge-finished {
    width: calc(50% - 5px);
    margin-left: 5px;
}

.entry.fridge .fridge-active td,
.entry.fridge .fridge-finished td,
.entry.fridge .fridge-active th,
.entry.fridge .fridge-finished th {
    padding: 10px;
    padding-left: 0;
    text-align: left;
}
.entry.fridge td.hidemobile,
.entry.fridge th.hidemobile {
    display: none;
}

.entry.fridge .fridge-active table,
.entry.fridge .fridge-finished table {
    margin-top: 10px;
}

.entry.fridge button.decrement {
    border: 1px solid #fff;
    background-color: rgba(255, 255, 255, 0.9);
    color: #000;
    border-radius: 4vw;
    height: 2em;
    width: 2em;
    transition: background-color 1s,
}
.entry.fridge button.decrement:hover {
    color: #000;
    background-color: rgba(255, 255, 255, 1);
}
.entry.fridge table tbody tr:last-of-type td {
    border-bottom: 0;
}



@media screen and (max-width: 960px) {
    
    :root {
        --size-body: 3vw;
        --line-body: 1.2em; 
    }
    
    
    
    .glass-div {
        border-radius: 4vw;
    }
    
    .entry.fridge .fridge-active {
        width: calc(100%);
        margin-right: 0;
        margin-bottom: 10px;
    }
    .entry.fridge .fridge-finished {
        width: calc(100%);
        margin-left: 0;
    }

    
    
    
    
}