/*
    SLOType v0.4 alpha
    Pedro Amado (FBAUP / i2ADS) & Ana Catarina Silva (IPCA / ID+ CAOS)
    2020-01-04. You may and should abuse this code, but remember to keep your code clean kids! ;)
*/


@font-face {
    font-family: 'Agrandir';
    src: url('../fonts/agrandir.ttf') format("truetype-variations");
    font-weight: 1 999;
    font-stretch: 1 999;
}


html,
body,
h1,
h2 {
    margin: 0;
    font-family: 'Agrandir';
    font-weight: 40;
}

h1 {
    font-weight: 700;
}

#page {
    padding: 0;
    overflow:auto;
}

header {
    display: block;
    position: sticky;
    top: 0;
    width: 90%;
    color: white;
    background-color: black;
    padding: 5%;
    

}

header h1 {
    display: block;
    position: relative;
    background-color: black;
    display: inline-block;
}

header {
    height: 10%;
}

header i {
    width: 1em;
}

nav {
    display: block;
    position: absolute;
    background-color: black;
    color: white;
    height: 80%;
    width: 50%;
    padding-left: 1em;
    padding-right: 1em;
    z-index: 10;
}

header a {
    color: white;
}

#menu {
    font-size: 2em;
    position: relative;
    display: inline-block;
    padding-right: 0.25em;
}

#share {
    font-size: 2em;
    position: relative;
    display: inline-block;
    float: right;
    padding-right: 0.25em;
}

ul {
    display: block;
    position: relative;
    list-style: none;
    margin: 0;
    padding: 1em 0 0 0;
}

ul li {
    display: block;
    margin-right: 2em;
    font-weight: 700;
    margin-bottom: 1em;
}

nav li:hover, nav li:active {
    color: red;
}

main {
    display: block;
    position: relative;

    padding: 1em;
    margin-bottom: 5em;
    overflow: auto;
}

h2 {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 1em;
    margin-bottom: 0;
    font-variation-settings: 'wdth' 50;
}

section p {
    font-size: 2em;
    margin: 0.5em;
    font-weight: 700;
    font-variation-settings: 'wdth' 150;
    margin-top: 0;
    padding-right: 1.3em;
}

.lock {
    position: absolute;
    display: inline-block;
    float: right;
    right: 0.5em;
    padding-right: 0.5em;
    padding-left: 0.5em;
    color: lightgray;
}

section:hover {
    background-color: lightgrey;
}

section:hover .lock{
    color: gray;
}

.lock:hover {
    color: red !important;
}

footer{
     display: block;
    position: absolute;
    bottom: 0;
    background-color: yellow;
    width: 100%;
}

#rand {
    display: block;
    position: fixed;

    bottom: 0;
    background-color: red;
    padding: 5% 0;
    margin: 0;
    color: white;
    width: 100%;
    text-align: center;
    height: 10vh;
    font-size: 2em;
    z-index: 20;
}

#code{
  display: block;
    position: absolute;
    bottom: 10vh;
    
    padding-left: 1em;
    
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 1em;
    margin-bottom: 0;
    font-variation-settings: 'wdth' 50;
}

#myCode {
    font-size: 0.8em;
    font-variation-settings: 'wght' 400;
}
