@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&display=swap');
@import url("https://use.typekit.net/kyz0ydh.css");
/*
html, body,  span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}*/
/* HTML5 display-role reset for older browsers*/ 
aside, details, figcaption, figure,
footer, header, hgroup, menu, section {
	display: block;
}

body {
    line-height: 1;
    padding: 0;
    margin: 0;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    color: #6BAB90;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
                                                              37,1          67%
html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}

main {
    max-width: 1850px;
    margin: auto;
    padding: 60px;
    height: 100%;

}

header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 0;
}

.title {
font-size: 2.6em;
    text-align: center;
    color: white;
    margin-bottom: 20px
}

.figure-img {
    display: block;
    width: 100%;
    object: fit;
}

h2 {
    font-size: 1.4em;
    padding: 10px;
}

p {
    margin-bottom: 1em;
    padding: 0 10px;
}

.info-link {
    text-decoration: none;
    padding: 10px;
    display: block;
}

.options {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 10px;
    border-top: 3px solid var(--red);
    border-radius: 3px;
    background-color: white;
}

.options-link {
 text-decoration: none;
    font-size: 0.9em;
}

section {
    border-radius: 16px;
    transition: .2s;
    margin-bottom: 20px;
    overflow: hidden;
}

.section p {
    font-size: 20px;
    margin: 0 0 1rem;
    color: #477025; //TOCHANGE 
}

.section extra{
    font-size: 20px;
    margin: 0 0 1rem;
}

.section h2 {
    font-size: 35px;
    font-weight: 750;
    margin: .25rem 0 auto;
    text-decoration: none;
    color: inherit;
    border: 0;
    display: inline-block;
    cursor: pointer;
}

.section h2:hover {
    background: #5E4C5A;
    text-shadow: none;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

.section img {
    width: 100%;
    display: inline;
    padding: 20px;
    border-radius: 40px;
    margin: 0 auto;
}

.section img:hover {
    transform: translateZ(400px);
    break-inside: avoid;
    break-before: avoid;
    break-after: avoid;
}

.section iframe:hover {
    transform: translateZ(400px);
    break-inside: avoid;
    break-before: avoid;
    break-after: avoid;
}

.section div img {
    width: 49%;
    float: left;
    display: block;
    alignment: center;
}

.section big-bottom {

} 

.section.bigtitle {
    padding: 0;
}

.section.bigtitle-title {
    margin-bottom: 10px;
}

.section.bigbottom-link {
    color: white;
}

.profile {
    width: 80%;
    border-radius: 50%;
    margin-bottom: 10px;
}

@media (min-width: 620px) {
    .options-link {
        font-size: 1.4em;
    }
}

.section:hover {
    transform: scale(1.1) translateZ(400px);
    box-shadow: -1rem 0 3rem #000;
    break-inside: avoid;
    break-before: avoid;
    break-after: avoid;

}

.section:hover extra{
    display: inline;
}

.section extra {
    display: none;
}

.fa {
    padding: 20px;
    font-size: 30px;
    width: 50px;
    text-align: center;
    text-decoration: none;
    background: rgba(0,0,0,0);
    color: white;
}

printonly {
    display: none;
}


@media print {
    .section img {
        width: 30%;
        display: none;
        padding: 20px;
        border-radius: 40px;
        margin: 0 auto;
    }

    .section iframe {
        width: 30%;
	display: none;
        padding: 20px;
        border-radius: 40px;
        margin: 0 auto;
    }
    .section div img {
        display: none;
    }

    .section extra {
        display: inline;
    }

    printonly {
        display: inline;
    }

    .fa {
        display: none;
    }

}
@media (min-width: 850px) {
    main {
        column-count: 2;
        column-gap: 20px;
        padding: 60px;
    }

    section {
        break-inside: avoid;
        page-break-inside: avoid;
        -webkit-column-break-inside: avoid;
    }
}

@media (min-width: 1280px) {
    main {
        column-count: 3;
        padding: 60px;
    }
    section {
        break-inside: avoid;
        page-break-inside: avoid;
	 -webkit-column-break-inside: avoid;
    }
}

/*for phones to not have too much padding on the sides*/
@media (max-width: 600px){
    main{
        padding: 20px;
    }

    canvas{
        display: none;
    }

    .section:hover {
        transform: scale(1.05) translateZ(400px);
    }


a {
    text-decoration: none;
}

.card-list {
    display: flex;
    padding: 3rem;
    overflow-x: scroll;
}

.card-list::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
.card-list::-webkit-scrollbar-thumb {
    background: #201c29;
    border-radius: 10px;
    box-shadow: inset 2px 2px 2px hsla(0,0%,100%,.25), inset -2px -2px 2px rgba(0,0,0,.25);
}

.card-list::-webkit-scrollbar-track {
    background: linear-gradient(90deg,#201c29,#201c29 1px,#17141d 0,#17141d);
}


.card {
    height: 350px;
    width: 400px;
    min-width: 250px;
    padding: 1.5rem;
    border-radius: 16px;
    background: #17141d;
    box-shadow: -1rem 0 3rem #000;
    display: flex;
    flex-direction: column;
    transition: .2s;
    margin: 0;
    scroll-snap-align: start;
    clear: both;
    position: relative;
}

.card:focus-within~.card, .card:hover~.card {
    transform: translateX(130px);
}

.card:hover {
    transform: translateY(-1rem);
}

.card-header {
    margin-bottom: auto;
}

.card-header p {
    font-size: 14px;
    margin: 0 0 1rem;
}

.card-header h2 {
    font-size: 20px;
    margin: .25rem 0 auto;
    text-decoration: none;
    color: inherit;
    border: 0;
    display: inline-block;
    cursor: pointer;
}

.card-header h2:hover {
    background: #5E4C5A;
    text-shadow: none;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

.tags {
    margin: 1rem 0 2rem;
    padding: .5rem 0 1rem;
    line-height: 2;
    margin-bottom: 0;
}

.tags a {
    font-style: normal;
    font-weight: 700;
    font-size: .5rem;
    color: #7a7a8c;
    text-transform: uppercase;
    font-size: .66rem;
    border: 3px solid #28242f;
    border-radius: 2rem;
    padding: .2rem .85rem .25rem;
    position: relative;
}

.tags a:hover {
    background: linear-gradient(90deg,#ff8a00,#e52e71);
    text-shadow: none;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-box-decoration-break: clone;
    background-clip: text;
    border-color: white;
}

.nohover h2:hover {
        color: green;
}
