body {
    font-family: sans-serif;
    color: #28464B;
    background:rgb(71, 122, 133, 0.2);
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;

    margin: auto;
    max-width: 1000px;

    min-height: 100vh;
}

a {
    text-decoration: none;
    border-bottom: dotted 2px;
}

a:hover {
    border-bottom: solid 2px;
}

figure > a, figure > a:hover {
    border-bottom: none;
}

pre {
    overflow: auto;
    border-left: solid #DE6449 5px;
    padding: 5px;
    background: white;

}

p > code {
    border-radius: 5px;
    padding: 5px;
    background: white;
}

h2 {
    margin: 0;
}

img {
    width: 100%;
    height: auto;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    transition: box-shadow 0.2s;
}

a > img:hover {
    box-shadow: rgba(100, 100, 111, 1) 0px 7px 29px 0px;
}

main, #navbar, #footer {
    padding: 1em;
}

main {
    padding-top: 0px;
}

.card {
    background: white;
    padding: 1em;
    margin-bottom: 0.5em;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

#navbar {
    background-color: white;
    overflow: hidden;
    vertical-align: middle;
}

#navpages {
    font-size: 1.2em;
}

#navlogo {
    font-size: 2em;
}

#footer {
    text-align: center;
}

.logo {
    color: #28464B;
}

body.loaded .logo_f4 {
    transition: all 0.2s;
}

.logo_f4 {
    border: rgb(71, 122, 133) dashed 2px;
    border-radius: 10px;
    padding: 0.2em;
}

.logo:hover > .logo_f4 {
    border: rgb(71, 122, 133) solid 2px;
    color: white;
    background: rgb(71, 122, 133, 0.5);
}

.logo, .logo:hover {
    border-bottom: none;
}

.twoimg {
    position: relative;
    margin-left: 0;
    margin-right: 0;
}

.twoimg img {
    overflow: hidden;
}

.twoimg > .two {
    clip-path: polygon(70% 0, 100% 0, 100% 100%, 30% 100%);
    transition: clip-path 0.5s;
    position: absolute;
    top: 0;
    left: 0;
    box-shadow: none;
}

.twoimg > .two:hover {
    clip-path: polygon(0 0, 100% 0, 100% 100%, -50% 100%);
}
.twoimg > .one:hover ~ .two {
    clip-path: polygon(150% 0, 100% 0, 100% 100%, 100% 100%);
}

@media (max-width: 1000px) {
    figure {
        margin-inline-start: 10px;
        margin-inline-end: 10px;
    }
}
/*
a {
    --border-color: -webkit-link;
    --border-width: 2px;
    --bottom-distance: -2px;
    
    display: inline-block;
    background-image: linear-gradient(var(--border-color), var(--border-color));
    background-size: 0% var(--border-width);
    background-repeat: no-repeat;
    transition: background-size 0.3s;
    margin: 5px 0;
    background-position: 0 calc(100% - var(--bottom-distance))
  }
  
a:hover {
    background-size: 100% var(--border-width);
    border-bottom: dotted 2px;
}
*/