@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;600&family=Playfair+Display&display=swap');

body {
    font-family: 'Barlow', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background:#151515;
    color: #E4DBCA;
    font-size:20px;
    line-height:28px;
    overflow-x: hidden;
}

header {
}

nav{
    text-align: right;
    width: 100%;
    margin-bottom: -88px;
    margin-top:20px;
    display: flex;
    justify-content: flex-end;
}

nav a{
    border-radius: 5px;
    background-color: #84081a;
    font-size: 18px;
    line-height: 22px;
    padding: 15px;
    color:#fff;
}

nav a:first-of-type{
    margin-right:10px;
}

a{
    text-decoration: none;
}

main {
    padding: 0;
}

h2{
    letter-spacing: 3px;
    font-size: 40px;
    line-height: 48px;
    margin: auto;
    text-transform: uppercase;
    text-align: center;
    font-weight: 400;
}

footer { 
    width: 100%;
}

ul{
    list-style-type: none;
}


.section_width{
    max-width: 1600px;
    margin: auto;
}
.section_width_1900{
    max-width: 1900px;
    margin: auto;
}

.divider_small{
    background-image: url('../img/division_small.png');
    background-position: center;
    background-repeat: no-repeat;
    max-width: 590px;
    height: 6px;
    mix-blend-mode: color;
    margin: auto;
}
.divider_big{
    background-image: url('../img/division_big.png');
    background-position: center;
    background-repeat: no-repeat;
    max-width: 590px;
    height: 18px;
    mix-blend-mode: color;
    margin: 30px auto;
}


#home{
    height:882px;
    width:100vw;
    background-image: url('../img/background.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: -30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.button{
    border-radius: 5px;
    padding: 15px;
    display: flex;
    align-items: center;
}
.button_cta{
    color: #E4DBCA;
    background: #000000;
    border: 2px solid #84081a;
    max-width: fit-content;
    justify-self: center;

}
.button_cta_white{
    background: #E4DBCA;
    color: #84081A;
    padding: 15px 20px;
}
.wishlist_on_steam img{
    height: 30px;
    margin-left: 10px;
}

.title{
    font-family: 'Playfair Display', serif;
    font-size: 149px;
    text-transform: uppercase;
    width: 780px;
    line-height: 111px;
    margin-top: -100px;
    opacity: 0.7;
    position: relative;
}

.who{color:#151515; position: relative; left: -72px;}
.killed{color: #84081A; position: relative; left: -271px;}
.john{ position: relative; left: -56px;}
.malone{ position: relative; left: -170px;}

.social_icons{
    position: absolute;
    width: 30px;
    display: grid;
    right: 20px;
    grid-gap: 10px;
}
.social_icons a{
    height: 30px;
    width: 30px;
    background-position: center;
    background-repeat: no-repeat;
}
.social_icon_fb{background-image: url('../img/f_logo_RGB-White_58.png');}
.social_icon_insta{background-image: url('../img/Instagram_Glyph_White.png');}
.social_icon_x{background-image: url('../img/logo-white.png');}
.social_icon_discord{background-image: url('../img/icon_clyde_white_RGB.png');}



.slogan{
    background: #151515;
    border-top:1px solid rgba(132,8,26,0.49);
    border-bottom: 1px solid rgba(132,8,26,0.49);
    text-align: center;
    padding: 50px;
}
.slogan h1, .slogan p{
    font-size: 40px;
    line-height: 48px;
    letter-spacing: 3px;
    padding:0;
    margin:auto;
    text-transform: uppercase;
}
.slogan p{
    margin-bottom:40px;
    max-width: 780px;
}
.slogan a{
    font-size:24px;
    max-width:max-content;
    margin: auto;
    padding: 15px 20px;
}
.wishlist_on_steam span{
    position: relative;
    top: -2px;
}
.slogan a img{
    top: 4px;
}

#about{
    padding:80px;
    text-align: center;
    margin-bottom: 70px;
}
#about>div{
    align-items: center;
}
.grid{
    display: grid;
}
.grid_2{
    grid-template-columns: 1fr 1fr;
    grid-gap: 50px;
}

.background-image {
    position: absolute;
    width: 100%; 
    height: 3089px;
    pointer-events: none;
}

.background-image::before {
    content: "";
    position: absolute;
    top
    : 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('../img/background_main.jpg');
    background-size: contain;
    background-position: center -100px;
    background-repeat: no-repeat;
    z-index: -1; 
}

#highlights{
    margin-bottom: 130px;
}

.highlights_grid{
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
    grid-gap: 20px;
    grid-template-areas:
        "explore explore discover discover"
        "characters characters characters puzzle"
        "characters characters characters deduction";
}

.explore {
    grid-area: explore;
    background-color: #eaeaea;
    background-image: url('../img/gifs/Hall_01.gif');
    height: 500px;
}
.puzzle {
    grid-area: puzzle;
    background-color: #dddddd;
    background-image: url('../img/safe.png');
    height: 430px;
}
.characters {
    grid-area: characters;
    background-color: #cccccc;
    background-image: url('../img/gifs/BOB_01.gif');
    height: 910px;
}
.deduction {
    grid-area: deduction;
    background-color: #bbbbbb;
    background-image: url('../img/deduction_s.png');
    height: 430px;
}
.discover {
    grid-area: discover;
    background-color: #aaaaaa;
    background-image: url('../img/gifs/Newspaper_01.gif');
    height: 500px;
}

.highlight{
    position: relative;
    border: 1px solid #151515;
    background-position: center;
    background-size: cover;
}

.highlight h4{
    padding: 0;
    margin: 0;
}

.highlight div{
    position: absolute;
    bottom:0;
    width: calc(100% - 20px);
    background:#84081A;
    color: #fff;
    padding: 10px;
}

#unreal{
    text-align: center;
}

#unreal h2 img{
    position: relative;
    top: 26px;
}

.gallery_grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-gap: 20px;
    margin: 40px 0;
}
.gallery_grid img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#contact{
    background-image: url('../img/background_dirt.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 30px;
    text-align: center;
}

#contact p{
    max-width: 880px;
    margin:50px auto;
}

footer > *{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social_icons_footer{
    display: flex;
}

.social_icons_footer a{
    height: 30px;
    width: 30px;
    margin:0 5px;
    background-position: center;
    background-repeat: no-repeat;
}

@media screen and (max-width: 600px) {
    .highlights_grid, .gallery_grid {
        display: block;
    }
    .grid_2{
        grid-template-columns: 1fr;
        grid-gap: 0;
    }
    .intro_image iframe{
        width: calc(100vw - 60px);
        height: 280px;
    }

    img{
        max-width: 100%;
    }
    .social_icons{
        display: none;
    }
    header{
        padding: 0;
        text-align: center;
    }
    nav{
        width: calc(100vw - 19px);
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: -148px;
    }

    nav a:first-of-type{
        margin-right:0;
        margin-bottom:10px;
    }

    .divider_big, .divider_small{
        background-size: contain;
        max-width: calc(100vw - 20px);
    }
    #home{
        height: 88vh;
        background-position: 60%;
    }
    .title{
        width: 100vw;
        font-size: 80px;
        line-height: 60px;
        margin-top: 300px;
        padding-left: 10px;
        text-align: center;
    }
    .who{
        left: 0;;
        color: #e4dbca;
    }
    .killed{
        color: #b7001b;
        left: -40px;
    }
    .john{
        left: 30px;
    }

    .malone{
        left:0;
    }
    .slogan{
        padding:30px;
    }

    .slogan a{
        font-size: inherit;
    }
    .slogan p {
        margin-bottom: 25px;
    }
    .slogan h1, .slogan p {
        font-size: 32px;
        line-height: 38px;
    }
    
    #about {
        padding: 30px;
    }
    .intro_text{
        order: 2;
    }
    .intro_image{
        order: 1;
    }

    .highlight {
        margin-bottom: 30px;
    }

    .gallery_grid img{
        width:100%;
    }

    footer{
        padding:10px;
        width: calc(100% - 20px);
    }
    footer p{
        font-size: 12px;
    }
}

@media only screen 
    and (min-device-width: 768px) 
    and (max-device-width: 1366px) 
    and (orientation: landscape) {
        
        .title{
            width: 500px;
        }

        .grid_2{
            grid-template-columns: 1fr;
            grid-gap: 0; 
        }
        
        .gallery_grid{
            grid-template-columns: 1fr 1fr;
            grid-template-rows: 1fr 1fr;
            grid-template-areas:
                "gallery1 gallery2"
                "gallery4 gallery5";
        }
        .gallery3{
            display:none;
        }
        .gallery_grid * {
            max-width: 50vw;
        }
}

@media only screen 
    and (min-device-width: 768px) 
    and (max-device-width: 1024px) 
    and (orientation: portrait) {
        .highlights_grid, .gallery_grid {
            display: block;
        }
        .grid_2{
            grid-template-columns: 1fr;
            grid-gap: 0;
        }
    
        img{
            max-width: 100%;
        }
        .social_icons{
            display: none;
        }
        header{
            padding: 0;
            text-align: center;
        }
        nav{
            width: 100%;
            
        }
    
        nav ul{
            display: flex;
            justify-content: space-between;
            padding: 10px;
            align-items: center;
        }
    
        nav ul li{
            display: block;
            margin: auto;
        }
    
        .divider_big, .divider_small{
            background-size: contain;
            max-width: calc(100vw - 20px);
        }
        #home{
            height: 88vh;
            background-position: 60%;
        }
        .title{
            text-align: center;
        }
        .who{
            left: 0;;
            color: #e4dbca;
        }
        .killed{
            color: #b7001b;
            left: -40px;
        }
        .john{
            left: 30px;
        }
    
        .malone{
            left:0;
        }
        .slogan{
            padding:30px;
        }
        .slogan p {
            margin-bottom: 25px;
        }
        .slogan h1, .slogan p {
            font-size: 32px;
            line-height: 38px;
        }
  
        #about {
            padding: 30px;
        }
        .intro_text{
            order: 2;
        }
        .intro_image{
            order: 1;
        }
    
        .highlight {
            margin-bottom: 30px;
            background-repeat: no-repeat;
            background-size: cover;
            height: 720px;
            background-position: center;
        }
        .highlight div{
            width: calc(100vw - 20px);
        }
    
        .gallery_grid img{
            width:100%;
        }
    
        footer{
            padding:10px;
            width: calc(100% - 20px);
        }
        footer p{
            font-size: 12px;
        } 
}

.social_icons, .social_icons_footer{
    display:none;
}
