/* Google fonts */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,800;0,900;1,100;1,200;1,300;1,400&display=swap');

/* Widcard Selector */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Exo 2', sans-serif;
}

/* General styles for the body */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    text-align: center;
}

h1, h2, h3, h4 {
    letter-spacing: 2px;
    text-transform: uppercase;
    color: darkorange;
    line-height: 1.5rem;
}

p {
    font-size: 150%;
    padding-top: 1rem;
}

hr {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Header */
header {
    justify-content: space-between;
    position: fixed;
    display: flex;
    width: 100%;
    z-index: 10;
    align-items: end;
    padding: 0 1rem;
    background-color: black;
}

header a {
    text-decoration: none;
    color: inherit;
}

.logo {
    width: 30%;
    position: relative;
    display: flex;
}

/* Nav bar */
nav {
    position: absolute;
    width: 100%;
    display: none;
    top: 100%;
    left: 0;
    text-align: left;
    font-size: 120%;
    opacity: 80%;
}

#navbar-toggle:checked~nav {
    display: block;
}

#navbar-toggle {
    display: none;
}
.navbar-toggle-label {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

#menu {
    background-color: black;
    list-style-type: none;
    font-size: 120%;
    letter-spacing: 4px;
    color: #ffffff;
    width: 100%;
    padding: 1rem;
}

#menu > li {
    margin-bottom: 1rem;
    text-align: left;
}

#menu > li > a {
    padding-left: 1rem;
    color: #ffffff;
}

#menu > li > a:hover {
    color: crimson;
}

.active {
    border-bottom: 1px solid darkorange;
}

/* Hero Images */
#home-hero {
    background: url("../images/pexels-cottonbro-studio-4836371.jpg") no-repeat center center/cover;
    height: 600px;
    width: 100%;
    position: relative;
    margin-top: 50px;
}

#features-hero {
    background: url("../images/arcadepinball.jpg") no-repeat center center/cover;
    width: 100%;
    margin-top: 50px;
    position: relative;
    height: 600px;
}

#refreshments-hero {
    background: url("../images/chessCups.jpg") no-repeat center center/cover;
    width: 100%;
    margin-top: 50px;
    position: relative;
    height: 600px;
}

#pricing-hero {
    background: url("../images/chessCoin.jpg") no-repeat center center/cover;
    width: 100%;
    margin-top: 50px;
    position: relative;
    height: 600px;
}

/* Hero text for all pages */
.cover-text {
    position: absolute;
    font-size: 100%;
    background-color: darkorange;
    margin-top: 300px;
    opacity: 70%;
    padding: 1rem;
}

.cover-text > h2, h3 {
    width: 90%;
    text-transform: capitalize;
    color: #ffffff;
}

/* Main Section */
main {
    background-color: black;
    color: #ffffff;
    text-align: center;
}


ul {
    list-style-type: none;
    text-align: center;
}

.intro > div {
    padding: 0.5rem;
}

.subtitle {
    font-size: 180%;
    color: darkorange;
    margin-top: 1rem;
}

.intro-image {
    width: 90vw;
    height: 90vw;
    border-radius: 50%;
    margin-bottom: 20px;
    max-width: 300px;
    max-height: 300px;
    display: none;
}

.description > div {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;

}

/* Tables */
thead {
    font-size: 200%;
}

table {
    width: 100%;
}

td, th {
    text-align: center;
    padding: 1rem;
    border: 1px dashed darkorange;
}

/* Footer element */
footer {
    background-color: black;
}

#social-networks {
    text-align: center;
    padding: 20px 0;
    display: flex;
    justify-content: space-evenly;
    list-style-type: none;
}

#social-networks i {
    font-size: 160%;
    padding: 5%;
    color: #ffffff;
}

/* Media queries */
@media screen and (min-width: 900px) {
    nav {
        display: block;
        position: relative;
        width: fit-content;
        padding-right: 1rem;
    }

    #menu {
        display: flex;
    }

    #menu > li {
        padding-left: 1rem;
    }

    .navbar-toggle-label {
        display: none;
    }

    main {
        left: 0;
    }

    .logo {
        width: 30%; 
        display: flex;
        position: relative;
    }

    .intro-image {
        display: inline;
    }

    .cover-text {
        right: 5%;
    }
  
}

@media screen and (min-width: 1200px) {
    .navbar-toggle-label {
        display: none;
    }

    .intro {
        display: flex;
        flex-direction: row;
        padding: 1rem;
    }

    .intro > div {
        flex: 1;
        padding: 1.75rem;
    }

    .intro-image {
        order: 0;
    }

    .offering {
        order: 1;
    }

    .who > div, #retro > div{ 
        align-self: flex-start;
        text-align: start;
    }

    .offering > div {
        align-self: flex-end;
        text-align: end; 
    }
  
}