/* @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;1,400;1,500&display=swap'); */

@font-face {
    font-family: 'League Gothic';
    src: url('font/leaguegothic-regular-webfont.eot');
    src: url('font/leaguegothic-regular-webfont.eot?#iefix') format('embedded-opentype'),
        url('font/leaguegothic-regular-webfont.woff') format('woff'),
        url('font/leaguegothic-regular-webfont.ttf') format('truetype'),
        url('font/leaguegothic-regular-webfont.svg#league_gothicregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('font/roboto/Roboto-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('font/roboto/Roboto-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url('font/roboto/Roboto-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

#container {
    width:70%;
    max-width:1000px;    
    margin: 0 auto;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 12pt;
    background-color: #222;
    background-image: url('img/radbg2.png');
    background-size: 512px;
}

#container.guide {
    font-family: 'Times New Roman', Times, serif;
}

a {
    text-decoration: none;
    color: #9b2d47;
}

a:hover {
    color: #ff0055;
}

#content {
    padding: 2em;
    background-color: #e5eaec;
    border-radius: 1.5em;
}

footer {
    color: #fff;
}


header {
    width: 80%;
    margin: 0.5em auto;
    text-align: center;
    color: #fff;
    font-size: 4em;
    font-family: 'League Gothic';
}

header.guide {
    font-family: 'Times New Roman', Times, serif;
    width:40%;
    font-size:3em;
    font-weight:bold;
}

h1 {
   
    font-family: 'League Gothic';
    font-size: 2em;
    text-transform: uppercase;
    font-weight:normal;
    margin:0;
}

h2 {
    font-family: 'League Gothic';
    font-size: 2.7em;
    text-transform: uppercase;
    font-weight:normal;
    margin: 0;
}

h1.guide {
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    text-transform: unset;
    font-size: 2em;
}

h2.guide {
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    text-transform: unset;
    font-size: 2em;
    text-decoration: underline;
}

div.more {
    display:flex;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
    gap: 2em;
}

.more .child {
    max-width:25%;
}

.project img {
    float:left;
    width:220px;
    border-radius:0.5em;
    margin-right:1em;
    height:150px;
    object-fit:cover;
    object-position:15%;
}

.project.right {
    float:right;
    text-align: right;
}

.project.right img {
    float:right;
    margin-right:0;
    margin-left:1em;
    object-position:0%;
}

div.project {
    overflow:hidden;
    width:100%;
    margin-block-end:1em;
}

.project p {
    
}

.chunk .recipe {
    margin-right:40%;
    margin-left:10%;
    font-size: 0.92em;
}

.recipe {
    font-family: 'Playfair Display', serif;
    font-size:1.2em;
    font-style:italic;
}

p.recipe {
    font-style:normal;
}

h2.recipe {
    font-weight:bold;
    text-transform:none;
}

.recipe li {
    list-style-type:square;
    margin-block-end: 0.2em;
}

.chunk p {
    color:#3f3f3f;
    font-size:1em;
}

p.description {
    margin-block-start: 0.1em;
    color:#707070;
    font-size:1em;
    font-style:italic;
}

.chunk {
    display:block;
    clear:both;
    overflow:hidden;
    margin-block-end: 3em;
}

.projects {
    display:grid;
    gap:1em;
    grid-template-columns: 1fr 1fr;
}

img.about {
    float:left;
    width:150px;
    border-radius: 0.5em;
    height:auto;
    margin-right: 1em;
}

div.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr auto;
    grid-auto-flow: dense;
    gap:0.5em;
}

.gallery .wide {
    grid-column-end: span 2;
    grid-row-end: span 2;
}

.gallery .tall {
    grid-row-end: span 2;
}

.gallery .square {
    grid-column-end: span 2;
    grid-row-end: span 2;
}

.gallery img {
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius: 1em;
}

#links {
    font-size: 13pt;
    font-weight: bold;
    text-align: center;
    margin-top: 2.5em;
    clear:both;
}

#links ul {
    list-style-type: none;
    margin: 20px 0;
    padding: 0;
    clear: both;
}

#links li {
    text-align: center;
    letter-spacing: 1px;
}

#links a {
    color: #fff;
    background-color: text-decoration none;
    padding: 10px;
}

.round {
    border-radius: 50%;
}

#links img {
    width: 1.5em;
    height: auto;
}

#links a:hover {}

#links a.blue {
    background-color: #55acee;
}

#links a.blue:hover {
    background-color: #55bdff;
}

#links a.beige {
    background-color: #dfcdb9;
}

#links a.beige:hover {
    color: #ff6600;
}

#links a.grey {
    color: #666;
    background-color: #ddd;
}

#links a.grey:hover {
    background-color: #ccc;
}

#links a.beige img {
    width: 44px;
    height: auto;
    margin-top: -10px;
    margin-left: -8px;
    margin-bottom: -17px;
    margin-right: 5px;
}

#links a.blue img {
    width: 20px;
    height: auto;
    margin-bottom: -2px;
    margin-right: 10px;
    margin-left: 1px;
}

footer {
    color:#aaa;
    margin-top: 2em;
    font-size: 0.9em;
    text-align: center;
}

.skullgif {
  width:10%;
  height:auto;
}

.cookie {
    float:right;
    text-align:right;
    margin-right:1em;
    margin-bottom:1em;
}

.recipe img {
    width: 200px;
    height: auto;
    float:right;
}

.cookie img {
    width: 50px;
    height:auto;
}

.chunk.guide {
    font-size: 14pt;
}

.guide h2 {
    font-family: 'Times New Roman', Times, serif;
    text-transform: unset;
    font-size:1.5em;
}

.guide a {
    color:blue;
    text-decoration: underline;
}

@media only screen 
  and (max-width: 1400px)
{
    body {
        font-size: 12pt;
    }

    #container {
        width: 80%;
        min-width:unset;
    }

    img.about {
        width:150px;
    }

    #links img {
        width: 2.5em;
        height: auto;
    }

    .projects {
        grid-template-columns: 1fr;
    }

    .skullgif {
        width:15%;
    }
}


@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 1080px)
{
    body {
        font-size: 3vw;
    }

    #container {
        width: 80%;
    }

    img.about {
        width:250px;
    }

    #links img {
        width: 4em;
        height: auto;
    }

    .project p {
        width:100%;
    }

    .projects {
        grid-template-columns: 1fr;
    }

    p.description {
        font-size:1em;
    }

    .skullgif {
        width:15%;
    }

    div.project {
        width:100%;
    }

    .project img {
        width:275px;
        height:250px;
        object-position: 30%;
    }

    .more .child {
        max-width:unset;
    }
}
