/* Fonts */

@font-face {
  font-family: "ABCDiatypeEdu-Regular";
  src:
    url("fonts/ABCDiatypeEdu-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
    font-family: "ABCDiatypeEdu-Ultra";
    src:
      url("fonts/ABCDiatypeEdu-Ultra.otf") format("opentype");
    font-weight: 700;
    font-style: bold;
}

@font-face {
    font-family: "ITC Lubalin Graph Bold";
    src:
      url("fonts/ITC Lubalin Graph Bold.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

/* Fonts */

body, .side span {
   font-family: 'ABCDiatypeEdu-Regular', 'Courier New', Courier, monospace;
   color: #000000;
}

a { 
    text-decoration: none; color: #000;
}

.menu a:hover, a .contact:hover { 
    background: #000; 
    color: #cd2615; 
}


span {
    font-family: 'ITC Lubalin Graph Bold';
}

.title {
   font-size: 3em;
   font-weight: bold;
   text-transform: uppercase;
   display: flex;
   display: -webkit-flex;
   justify-content: space-between;
   -webkit-justify-content: space-between;
   align-items: center;
   writing-mode: vertical-lr;
   text-orientation: upright;
}

.nav-bar {
  border-bottom: 10px solid rgba(255,255,255,.25);
}

.menu ul li { 
    font-size: 0.8em; 
    width: 200px;
}

.menu ul li a {
    display: inline;
}

.submit {
    text-transform: uppercase;
    text-decoration: underline;
    font-size: 0.9em !important; 
}

ul { 
    padding-inline-start: 0; 
}

ul li {
    list-style-type: none; 
}

.page {
  border-bottom: 1px solid black;
}

.text { 
    column-count: 2; 
    column-gap: 2em; 
    padding: 30px 10px;
}

.text p { 
    margin-block-start: 0;
    margin-block-end: 0;
    -moz-hyphens: none;
    -ms-hyphens: none;
    -webkit-hyphens: none;
    hyphens: none;
    font-size: 0.8em;
}

.big-text { 
    font-size: 1em; 
    text-align: justify; 
    text-transform: uppercase; 
    margin: auto;
    padding: 0 10px;
    font-family: "ABCDiatypeEdu-Ultra"; 
}

.contact {
   font-weight: bold;
   font-size: 1.2em;
   text-transform: uppercase;
   display: flex;
   justify-content: space-between;
   align-items: center;
}

/* Pages */

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    width: 100vw;
}

.red { 
    background-color: #cd2615;
}

.content, .side, .page {
    min-height: 80vh;
}

.page { 
    display: flex;
    flex-direction: row; 
    justify-content: space-between;
    width: 100vw;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#page2 .content {
    justify-content: space-between;
}

#page12 .content {
    justify-content: space-around;
    padding-right: 10px;
}

/* Sidebar */

.side {
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    align-items: center; 
}


.side-1, .side-2, .side-3 { 
    font-size: 0.6em;
    font-weight: 600;
    writing-mode: vertical-lr;
    text-orientation: upright;
}

.side-1, .side-3 {
    display: flex;
    flex-direction: column;
}

.side-1 { padding-top: 10px; }
.side-3 { padding-bottom: 10px; }

.side-3 span:nth-of-type(1) { margin-top: 10px; }
.side-3 span:nth-of-type(3) { margin-top: 10px; }



/* Nav */

nav {
    position: fixed;
    bottom: 0;
    background: #fff;
    width: 100vw;
    height: 17vh;
    display: flex;
    flex-direction: column;
}

.nav {
    margin: auto 1em;
    display: flex; 
    flex-direction: row; 
    justify-content: space-between; 
    align-items: center;
}

/* Logo */

.logo img {
    height: 100px;
}

.logo a {
   height: 100%; 
}


/* Images */

.images, .images img { 
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-self: center;
    
}

#page2 .images img:first-of-type {
    width: 100%;
    max-width: 100%;
    height: 30vh;
    object-fit: cover;
    display: block; 
    margin-top: 20px;
    

    
}

.img-face-1 { grid-area: face-1; }
.img-face-2 { grid-area: face-2; }
.img-face-3 { grid-area: face-3; }
.img-face-4 { grid-area: face-4; }
.img-spike-1 { grid-area: spike-1; }
.img-spike-2 { grid-area: spike-2; }
.img-spike-3 { grid-area: spike-3; }
.img-spike-4 { grid-area: spike-4; }
.img-comic-1 { grid-area: comic-1; }
.img-comic-2 { grid-area: comic-2; }
.img-comic-3 { grid-area: comic-3; }

#page4 .images { 
    display: grid; 
    grid-template-columns: 25% 25% 25% 25%; 
    grid-template-rows: auto; 
    grid-template-areas: "face-1 face-2 face-3 face-4" "spike-1 spike-2 spike-3 spike-4" "comic-1 comic-2 comic-3 ."; width: 100%; }
#page4 .images img { max-height: 170px; 
    object-fit: contain; 
    padding: 10px 0;}

.img-cover-1 { grid-area: cover-1; }
.img-cover-2 { grid-area: cover-2; }
.img-cover-4 { grid-area: cover-4; }

#page5 .images { 
    padding: 23.6px!important;
    display: grid; 
    grid-template-columns: 25% 25% 25% 25%; 
    grid-template-rows: auto; 
    grid-template-areas: "cover-1 cover-2 . cover-4";
    gap: 10px;
    width: 100%; 
    
    
}
#page5 .images img { 
    padding: 10px 0;
    object-fit: contain; 
    padding: 10px 0;
    
    
}

.img-cover-2-2 { grid-area: cover-2-2; }
.img-cover-2-3 { grid-area: cover-2-3; }
.img-cover-2-4 { grid-area: cover-2-4; }
.img-cover-2-5 { grid-area: cover-2-5; }


#page6 .images { 
    display: grid; 
    grid-template-columns: 50% 50%; 
    grid-template-rows: auto; 
    grid-template-areas: 
    "cover-2-2 cover-2-3" "cover-2-4 cover-2-5"; 
    width: 100%; 
    gap: 10px;
    
    
}

#page6 .images img {
    object-fit: contain;
    padding: 5px;
    
}

#page9 img { 
    max-width: 100%;
    padding: 10px 10px 0;
}

#page11 .big-text {
    text-align: center;
}



@media screen and (min-width: 1000px) {
    html, body, .page {
        width: revert
    }
    .page {
        min-height: 84vh;
    }
    .content {
        flex-grow: 1;
    }
    nav {
        height: auto;
    }
    .logo {
        padding-right: 1%;
    }
    .title {
        flex-direction: column;
        flex-grow: 1;
    }
    #page2 .images img {
        height: 400px!important;
        object-fit: cover;
    }
    #page2 .images {
        margin-top: 1px;
    }
    .text { 
        max-width: 50vw;
    }

    #page6 .images { 
    padding: 23.6px!important;
    display: grid; 
    grid-template-columns: 25% 25% 25% 25%; 
    grid-template-rows: auto; 
    grid-template-areas: "cover-2-2 cover-2-3 cover-2-4 cover-2-5";
    gap: 10px;
    width: 100%; 
    
    
    }
    #page6 .images img { 
    padding: 10px 0;
    object-fit: contain; 
    padding: 10px 0;
    
    }
    #page9 .content {
        flex-direction: row;
        justify-content: space-between;
    }
    #page9 img {
        max-width: 40vw;
        max-height: 50vh;
        object-fit: contain;
    }
    #page9 .text {
        max-width: 40vw;
    }
    #page9 .column-1, #page9 .column-2 {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items:center;
    }
        
    #page9 .column-2, #page9 .column-2 {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items:center;
    }
    .big-text {
        font-size: 2.7em;
    }
    .contact {
        font-size: 2.5em;
        padding-left: 2%;
    }
    
    #page11 .big-text {
    text-align: center!important;
    }
    
    #page12 {
        margin-bottom: 30px;
    }
}    
    
@media screen and (min-width: 2560px) {
    html, body, .page {
        width: revert;
    }
    .page {
        min-height: 90vh;
    }
    .content {
        flex-grow: 1;
    }
    nav {
        height: auto;
    }
    .logo {
        padding-right: 1%;
    }
    .title {
        flex-direction: column;
    }
    #page2 .images img {
        height: 500px!important;
        object-fit: cover;
    }
    #page2 .images {
        margin-top: 1px;
    }
    .text { 
        max-width: 50vw;
        font-size: 150%
    }
    #page6 .images {
        grid-template-columns: 50% 50%; 
        grid-template-rows: auto; 
        grid-template-areas: 
        "cover-2-2 cover-2-3"
        "cover-2-4 cover-2-5";
        width: 100% auto;
    }
    #page9 .content {
        flex-direction: row;
        justify-content: space-between;
    }
    #page9 img {
        max-width: 40vw;
        max-height: 50vh;
        object-fit: contain;
    }
    #page9 .text {
        max-width: 35vw;
    }
    #page9 .column-1, #page9 .column-2 {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items:center;
    }
        
    #page9 .column-2, #page9 .column-2 {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items:center;
    }
    .big-text {
        font-size: 9em;
    }
    .contact {
        font-size: 2.5em;
        padding-left: 2%;
    }
    
    #page11 .big-text {
    text-align: justify!important;
    }
    
    #page12 {
        margin-bottom: 40px;
    }

}