/* JT Cricket CSS file - last update 7 June 2021 */

body {
    margin: 0px;
    background-color: #ff0000;
}

/* Set up menu grid system */

/* First set up how it is arranged / looks on desktop */

nav.grid-container {
    display: grid;
    grid-template-columns: 200px repeat(2, 1fr);
    grid-template-rows: 140px;
    gap: 0px 0px;
    grid-template-areas:
        "logo navigation social-media";
}

nav .logo {
    grid-area: logo;
    background-color: #000000;
}

nav .logo img {
    display: flex;
    max-width: 100%;
    height: auto;
    background-size: contain;
    justify-content: center;
}

nav .navigation {
    grid-area: navigation;
    display: flex;
    height: 100%;
    justify-content: space-evenly;
    background-color: #000000;
}

nav .social-media {
    grid-area: social-media;
    display: flex;
    justify-content: end;
    background-color: #000000;
}

nav .social {
    display: inline-flex;
    margin-right: 1em;
    align-self: center;
}

nav .social img {
    width: 4em;
}

nav label.menu-btn {
    color: #ff7600 ;
    text-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
    font-size: 1.5rem;
    position: absolute;
    right: 15px;
    top: 10px;
    cursor: pointer;
    z-index: 200;
    display: none;
}

nav input[type='checkbox'] {
    display: none;
}

/* Now set it up how it looks on screens less than 920px wide */

@media (max-width: 920px) {

    .navigation, .social-media { /*  We don't display these unless menu is clicked */
        display: none;
    }

    label.menu-btn { /* But we do display this */
        display: block;
    }

    #click:checked ~ .menu-btn:before { /*  When clicked, show the x menu marker */
        content: "\2716";
    }

    #click:checked ~ .menu-btn svg { /*  When clicked hid the hamburger icon */
        display: none;
    }

    /* We also need to change the layout of the grid for the mobile view */

    .grid-container {
        grid-template-columns: 1fr; /* 1 column */
        grid-template-rows: 140px repeat(2, 1fr); /* 3 rows */
    }
    
    /* And change the layout of the menu blocks to be vertically aligned */
    
    nav .navigation {
        flex-direction: column;
    }
    
    nav .social-media {
        flex-direction: column;
    }

    /* And do some styling (including shoving all the menus off to the left of screen */

    nav .navigation, nav .social-media {
        position: fixed;
        top: 0px;
        left: -100vw;
        padding-top: 4em;
        background: rgba(0, 74, 134, 0.6);
        height: 100vh;
        width: 100vw;
        text-align: center;
        display: block;
        transition: all 0.3s ease;
        list-style-type: none;
    }

    nav .navigation li, nav .social-media li {
        margin-top: 1.4em;
        margin-bottom: 1.4em;
        padding-right: 1em;
    }

    nav .navigation a, nav .social-media a {
        margin-left: -100vw;
        display: block;
        font-size: 1.5em;
        transition: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        color: white;
    }

    /* Now show the menu */

    #click:checked~nav .navigation, #click:checked~nav .social-media {
        left: 0;
    }
    #click:checked~nav .navigation li a, #click:checked~nav .social-media li a {
        margin-left: 0px;
    }
    #click:checked~nav .navigation li a:hover, #click:checked~nav .social-media li a:hover {
        background: none;
        color: #42ceb2;
        text-decoration: none;
    }

.nav-link-wrapper {
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.5s;
    color: #ff0000;
    text-transform: uppercase;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.nav-link-wrapper a {
    color: #ff0000;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.nav-link-wrapper a:hover {
    border-bottom: 1px solid #ff0000;
    transition: border-bottom 0.5s;
}

.nav-link-wrapper.active-nav-link a,
.nav-link-wrapper.active-nav-link a:hover {
    color: #00FFFF !important;
    border-bottom: 1px #00FFFF;
}


.nav-wrapper {
    display: flex;
    justify-content: space-between;
    padding: 50px;
}

.left-side {
    display: flex;
    height: 100%;
    justify-content: space-evenly;
}

.nav-wrapper>.left-side>div {
    margin-right: 40px;
    color: #ff0000;
    text-transform: uppercase;
    font-size: 1.2rem;
}


.two-column-wrapper {
    display: flex;
}

.profile-content-wrapper {
    padding: 100px;
    width: 50%;
}

.profile-content-wrapper h1 {
    color: #000000;
    font-size: 5em;

}

.latest-content {
    background-color: #000000;
}

.latest-content h3 {
    color: #ff0000;
    font-size: 4em;
    margin-left: 0.3em;
    margin-bottom: 0;
}

.tile_box {
    background-color: black;
}

.tile_box .content {
    text-align: center;
    padding: 50px;
    min-width: 310px;
    max-width: 310px;
}

.tile_box a.content {
    text-decoration: none;
}

.tile_box a.content:hover {
    background-color: #ff0000;
    transition: background-color 0.5s;
}

.tile_box .content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    max-height: 12vh;
}

.tile_box .content p {
    display: block;
    color: #ff0000;
    text-transform: uppercase;
    font-size: 20px;
    text-align: center;
}

.tile_box a.content:hover>p {
    transition: color 0.5s;
    color: #00FFFF;
}

img.banner {
    width: 100%;
}

.headline {
    background-color: white;
    padding: 0.5em 1em;
    font-size: 1.4em;
    font-weight: bolder;
}

.container .article,
.container .comments {
    background-color: white;
    font-size: 1em;
    padding: 1em;
}

.container .article figure.image img {
    width: 100%;
}

.container .article figure figcaption {
    width: 100%;
    background-color: lightgrey;
    font-size: 0.75em;
    line-height: 2em;
    padding: 0.3em 1em;
}

.profile-content-wrapper h1 {

    background-color: #ff0000;
}


.profile-image-wrapper img {
    width: 100%;
    padding: 80px;
}

.portfolio-items-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.portfolio-item-wrapper {
    position: relative;
}

.portfolio-img-background {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 350px;
    width: 100%;
}

.img-text-wrapper {
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    padding-left: 100px;
    padding-right: 100px;
}

.img-text-wrapper .subtitle {
    transition: 1s;
    font-weight: 600;
    color: transparent;
}

.img-text-wrapper .logo-wrapper {
    transition: 1s;
}

.image-blur {
    transition: 1s;
    filter: blur(4px) brightness(50%);
}

.img-text-wrapper:hover .subtitle {
    color: #00FFFF;
    font-weight: 600;
}

.img-text-wrapper:hover .logo-wrapper img {
    width: 50%;
    margin-bottom: 20px;
}

.icon {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}


.brand {
    color: #ff0000;
    text-transform: uppercase;
    font-size: 0.9rem;
    text-align: right;
    padding: 30px;
}

.topbox {

    display: inline-flex;
}

.title h1 {
    color: #ff0000;
    padding-left: 60px;
    font-size: 300%;
    background-color: #000000;

}

.information {

    background: #ff0000;
    width: auto;
    padding: 20px;
}

.information h1 {

    color: #ff0000;
    font-size: 300%;
    padding-left: 60px;

}

.information p {

    color: #ff0000;
    font-size: 100%;
    padding-left: 60px;
}



.bottom-right-side {

    background: #000000;
}

.banner img {

    display: flex;
    width: 100%;
    height: auto;
    background-size: contain;
    justify-content: center;
    opacity: 1;
}

.banner {
    position: relative;
    color: white;
}

.subheading {
    position: absolute;
    bottom: -2%;
    left: 0;
    width: 100%;
}

.subheading h1 {
    display: flex;
    align-self: center;
    color: #00FFFF;
    font-size: 20vw;
    text-align: left;
}
.subheading p {
    font-size: 3em;
    font-weight: 100;
    text-align: center;
    color: #000000;
    font-family: 'Josefin Slab', sans-serif;
    line-height: 1.2;
}

.col-12 .article {

    background-color: #000000;

}

@media only screen and (max-width: 980px) {
    .subheading p {
        padding: 0.3em;
        margin: 0.3em;
        font-size: 2em;
    }
}

@media only screen and (max-width: 574px) {
    .subheading.home {
        position: relative;
        top: inherit;
        left: inherit;
    }
    .subheading p {
        padding: 0.3em;
        margin: 0.3em;
        font-size: 2em;
    }
    .latest-content h3 {
        color: #ff0000;
        font-size: 3em;
        margin-left: 0;
        text-align: center;
    }
    
}

/* // Unused Selectors  */

.contentbox {
    display: flex;
    max-width: 100%;
    padding: 10px;
    flex-wrap: wrap;

}

.contentbox .content {
    text-align: center;
    padding: 50px;
    width: 25%;
}

.contentbox a.content {
    text-decoration: none;
}

.contentbox a.content:hover {
    background-color: #ff0000;
    transition: background-color 0.5s;
}

.contentbox .content img {
    width: 100%;
}

.contentbox .content p {
    display: block;
    color: #ff0000;
    text-transform: uppercase;
    font-size: 20px;
    text-align: center;
}

.contentbox a.content:hover>p {
    transition: color 0.5s;
    color: #00FFFF;
}

