@font-face {
    font-family: 'Public Sans';
url('fonts/PublicSans-Regular.woff2') format('woff')
}


@font-face {
    font-family: 'Value Serif';
    src: url('fonts/value-serif-bold.eot');
    src: url('fonts/value-serif-bold.eot?#iefix') format('embedded-opentype'),
    url('fonts/value-serif-bold.ttf') format('truetype'),
    url('fonts/value-serif-bold.otf') format('opentype');
}

body {
    font-family: 'Public Sans', sans-serif;
    font-size: 22px;
    margin: 0;
    padding: 0;
    border-top: 24px solid #CCFFCC;
    background: #fafafa
}

canvas {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
}

header {
    font-weight: bold;
    display: flex;
    margin: 100px auto 30px auto;
    width: auto;
    justify-content: space-between;
    display: flex;
    flex-direction: row;
    gap: 20px;
    max-width: 800px;
}

@media screen and (max-width: 768px) {
header {
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

}

.name {
    display: flex;
    align-items: center;
    transform: rotate(-2deg);
}

@media screen and (min-width: 900px) {
    .name {
        margin-left: -30px;

    }
}

.name .icon {
    font-size: 150%;
    margin: 0px 10px;
}

.name img {
    min-width: 250px;
}

nav {
    display: flex;
    gap: 20px;

}

nav a {
    text-decoration: none;
    color: black;
    padding: 10px 20px;
    border-radius: 99999px;

}

nav a.active {
    background: black;
    color: white;
}

nav a:not(.active):hover {
    background: #fff;
    color: black;
}

main {
    /*
    border:1px solid black;
    */
    max-width: 800px;
    margin: 0 auto;
    padding: max(20px,2vw);
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    border-radius: 5px;
    background-color: white;
    z-index: 99;
    position: relative;
}


p {
    margin: 0px;
    padding: 0px;
}

main > * + * {
    margin-top: 1.5rem;
}

article {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 150px;
}

article:nth-child(even) {
    flex-direction: row-reverse;
}

article img {
    width: 100%;
    height: auto;
}

article .description {
    max-width: 400px;
    font-size: 80%;
}

article:hover .browser {
    transform: scale(1.02);
}

.browser {
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    aspect-ratio: 16/10;
    width: 100%;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    transition: 240ms ease-in-out all;
}

.browser .chrome {
    padding: 0px 10px;
    background: #fafafa;
    height: 30px;
    width: 100%;
    border-bottom: 1px solid #efefef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.circles {
    display: flex;
    gap: 5px;
    width: 20%;

}

.website {
    height: calc(100% - 30px);
    overflow: scroll;
}

.website img {
    width: 100%;
}

.red-circle,
.yellow-circle,
.green-circle {
    border-radius: 99px;
    height: 8px;
    width: 8px;
    background: white;
}

.location-bar {
    width: 60%;
    height: 20px;
    border: 1px solid #efefef;
    background: white;
    border-radius: 3px;
    font-size: 11px;
    display: flex;
    align-items: center;
    padding-left: 6px;
    padding-top: 2px;
    color: #444;
    line-height: 1;
    box-shadow: rgba(0, 0, 0, 0.06) 0px 1px 2px 0px inset;
}

.extensions {
    width: 20%;
}

.red-circle {
    background: #ed6a5e
}

.yellow-circle {
    background: #f4bf4f
}

.green-circle {
    background: #61c554
}


header, main, footer {

}

header {
    font-size: 100%;
}

footer {
    color: #999;
    margin-top: 150px;
    font-size: 16px;
    margin: 0 auto;
    max-width: 800px;
    padding-top: 8svh;
    padding-bottom: 8svh;
    padding-left: 20px;
    padding-right: 20px;
}

p {
    line-height: 1.6;
}


h1, h2, h3, h4, h5 {
    font-size: 150%;
    line-height: 1;
    letter-spacing: 0px;
    font-weight: normal;
}

h1 {
    font-size: 3rem;
}

span.alice {
    font-family: 'Alice', serif;

}

span.tag {
    border-radius: 3px;
    background-color: #FAFAFA;
    border: 1px solid #EFEFEF;
    padding: 0px 7px;
    font-size: 80%;
    color: #333;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    transform: translateY(-1px);
}

a.biro {
    font-family: "Value Serif";
    color: black;
    text-decoration: none;
    transition: 240ms ease-in-out all;
    padding: 0px 8px;
    border-bottom: 1px dashed black;
}

a.biro:hover {
    background-color: #000;
    color: white;
}

.align-center {
    text-align: center;
}


.button {
    background-color: lightskyblue;
    border: 0 solid #E5E7EB;
    box-sizing: border-box;
    color: #000000;
    display: flex;
    font-size: 1rem;
    font-weight: 400;
    justify-content: center;
    line-height: 1.75rem;
    padding: .75rem 1.65rem;
    position: relative;
    text-align: center;
    text-decoration: none #000000 solid;
    text-decoration-thickness: auto;
    width: 100%;
    max-width: 460px;
    position: relative;
    cursor: pointer;
    transform: rotate(-2deg);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    margin-left: -10px;
    margin-top: 20px;
    margin: 50px auto 50px auto;
    transition: 240ms ease-in-out all;
}

.button:focus {
    outline: 0;
}

.button:after {
    content: '';
    position: absolute;
    border: 1px solid #000000;
    bottom: 4px;
    left: 4px;
    width: calc(100% - 1px);
    height: calc(100% - 1px);
    transition: 140ms ease-in-out all;

}

.button:hover {
    background-color: papayawhip;
}

.button:hover:after {
    bottom: 2px;
    left: 2px;
}

@media (min-width: 768px) {
    /*    .button {
            padding: .75rem 3rem;
            font-size: 1.25rem;
        }*/
}

.box {

}

.box img {
    max-width: 35%;
    float: left;
    margin-right: 20px;
}

.box h3 {
    margin: 0;
    padding: 0;
}

.edv img {
    float: right;
    margin-right: 0px;
    margin-left: 20px;
}

p.small {
    font-size: 80%;
}
