@font-face {
    font-family:"Roboto Mono";
    src: url("../fonts/Roboto_Mono/static/RobotoMono-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family:"Roboto Mono";
    src: url("../fonts/Roboto_Mono/static/RobotoMono-Bold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family:"Roboto";
    src: url("../fonts/Roboto/Roboto-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family:"Roboto";
    src: url("../fonts/Roboto/Roboto-Bold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family:"VT323";
    src: url("../fonts/VT323/VT323-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

body {
    background-color: #05202E;
    color: #FFF4E5;
    font-family: "Roboto Mono", monospace;
    font-weight: normal;
    font-size: 18px;
    max-width:960px;
    margin: 0 auto;
}

a, a:hover, a:visited {
    color: #FFF4E5;
}
header {
    width:100%;
    position: relative;
    margin-top: 0%;
    max-width: 100%;
    min-height:30%;
}

header .logo {
    float:left;
}
header h1 {
    font-family: "Roboto", serif;
    font-style: normal;
    font-weight: bold;
    font-size: 100px;
    line-height: 100px;
    width: 10%;
    max-width: 28%;
    margin-top: 0%;
    min-height: 100%;
    padding-right: 20%;
    margin-bottom:0;
}

.consoleScroll {
    position: relative;
    display: inline-block;
    line-height: 24px;
    font-size: 24px;
    color: #3DF55C;
    min-width: 360px;
    padding-bottom: 0.5em;
    left:8px;
}

.consoleScroll::after {
    content: "";
    position: absolute;
    top: 0;
    right: 200px;
    /* Remove display: inline-block if not required to be on the same line as text etc */
    display: inline-block;
    background-color: #606060;
    vertical-align: top;
    width: 10px;
    /* Set height to the line height of .text */
    height: 24px;
    /*
    Animation paramaters:
    blink = animation-name,
    1s = animation-duration,
    step-end = animation-timing-function,
    infinite = animation-iteration-count
    */
    -webkit-animation: blink 1s step-end infinite;
    animation: blink 1s step-end infinite;
}

@-webkit-keyframes blink {
    0% { opacity: 1.0; }
    50% { opacity: 0.0; }
    100% { opacity: 1.0; }
}

@keyframes blink {
    0% { opacity: 1.0; }
    50% { opacity: 0.0; }
    100% { opacity: 1.0; }
}
header .intro {
    font-size: medium;
    margin-top: 0%;
    width: 100%;
    margin-left: 20%;
}

section {
    margin-top: 3%;
    display: flex;
    flex-direction: row;
    align-content: flex-start;
    gap: 20px;
    min-height:50%;

}

.read_action_container {
    /* Colour block middle */

    box-sizing: border-box;

    /* Auto layout */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;

}
.other_action_container {
    display:flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.embed_action_container {
    display:flex;
    flex-direction: row;
    align-items: flex-start;
    padding-top:60px;
    gap: 30px;
}


.read_main {
    border: 4px solid #F5D63D;
    width: 453px;
    height: 100%;
    /* Rich black lighter */
    background: #072A3C;
    position: relative;
    top: 57px;
    font-size: 16px;
}

.title_box {
    position:absolute;
    width: 82px;
    height: 47px;
    padding: 10px 21px 0px;
    font-family: "VT323", Monospaced, monospace;
    font-weight: 400;
    font-size: 44px;
    color: #05202E;
}
.read_main article {
    font-size: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    width:90%;
}
.read_main article .article_date {
    font-size:14px;
}

.read_main article h3.article_title, .read_main article h3.article_title a {
    padding-top:2px;
    padding-bottom:10px;
    font-size: 16px;
    margin-block-start: 0px;
    margin-block-end: 0px;
}

.read {
    /* Yellow */
    background: #F5D63D;
}

.more {
    position: relative;
    top: 43px;
    padding: 0px 0px 0px 10px;
    height: 30px;
    width:80px;
}

.more a {
    color: #05202E;
    font-size:20px;
    padding: 0px 0px 0px 10px;
    position:relative;
    margin: 0 auto;
    top:-15px;

}

.watch {
    background: #3DF5F5;
}

.watch_main {
    border: 4px solid #3DF5F5;
    position: relative;
    top: 57px;
}

.watch_more {
    top: 55px;
}

.connect {
    background: #F53D7A;
}

.connect_main {
    border: 4px solid #F53D7A;
    position: relative;
    top: 57px;
    padding: 0px;
    padding-left:5px;
    padding-right:48px;
}

.connect.title_box {
    padding-left: 5px;
    padding-right: 50px;
}
footer {
    position: static;
    padding-top: 60px;
    bottom: 0px;
}
@supports (hanging-punctuation: first) and (font: -apple-system-body) and (-webkit-appearance: none) {
    header .intro {
        font-size: smaller;
    }
}

@media (max-width: 1350px) {
    header h1 {
        margin-top: 0%;
        float: none;
    }
    header .intro {
        font-size: smaller;
        max-width:100%;
        margin-left: 3%;
        padding-top:3%;
    }

    header .logo {
        margin-bottom: 4%;
    }
}

@media (max-width: 1160px) {
    section {
        flex-direction: column;
        gap: 60px;
    }

    .embed_action_container {
        display:flex;
        flex-direction: column;
        padding-top:60px;
        gap: 30px;
        float:left;
        position:relative;
        top: -278px;
        left:-373px;
    }

    header {
        width: 30%;
    }

    header .intro {
        float:left;

    }

    #watch {
        padding-left: 51px;
    }

    .other_action_container {
        height: 435px;
    }

    footer {
        top : 0px;
        padding-top: 0px;
    }
}

@media (max-width: 1050px) {
    #watch {
        padding-left: 5px;
    }

    .connect_main {
        padding-right:20px;
    }

    .embed_action_container {
        top: -250px;
    }
}

@media (max-width: 1017px) {
    body {
        max-width: 500px;
        margin: 0 auto;
    }

    header .logo {
        float:none;
    }
    header .intro {
        display: none;
    }

    .embed_action_container {
        display:flex;
        flex-direction: column;
        padding-top:60px;
        gap: 30px;
        position:relative;
        top: 0px;
        left: 0px;
        padding-bottom: 100px;
    }

    footer {
        position: relative;
        padding-top: 0px;
        padding-bottom:0px;
        top: 300px;

    }

    #watch {
        padding-left: 0px;
    }
}

@media (max-width: 661px) {
    header h1 {
        font-size: 64px;
        line-height: 60px;
    }
    header .logo {
        margin-bottom: 4%;
    }

    .not_mobile {
        display:none;
    }

    .iframe-container {
        float: none;
        clear: both;
        width: 400px;
        position: relative;
        padding-bottom: 56.25%;
        padding-top: 25px;
        height: 0;
    }
    .iframe-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}
