/***GENERAL***/

@import url('https://fonts.googleapis.com/css2?family=Judson:ital,wght@0,400;0,700;1,400&display=swap');

img {
    max-width: 100%;
}

* {
    box-sizing: border-box;
}

a:link, a:visited {
    color: #D4E0FF;
}

body {
    margin: 0;
    padding: 0;
    background-color: #061740;
    font-family: Judson, Arial, sans-serif;
}

h1, p {
    color: #D4E0FF;
}

ul li {
    list-style-type: none;
    margin-left: -40px;
}

/***INTRO***/

#intro {
    margin-bottom: 2em;
}

#info-bar {
    display: flex;
    position: absolute;
    margin: 1em 2em;
    align-items: center;
}

@media only screen and (max-width: 800px) {
    #info-bar {
        display: flex;
        position: static;
        justify-content: space-between;
    }
    
}

#logo {
    background-color: white;
    width: clamp(9em, 20vw, 12em);
    padding: 1em;
    border-radius: 1em;
}

nav {
    background-color: #98B3DB;
    width: 40vw;
    padding: 0.15em;
    border-radius: 0px 5px 5px 0px;
}

@media only screen and (max-width: 800px) {
    nav {
        width: 80vw;
        height: 3em;
        padding: 0em;
    }
}

ul {
    display: flex;
    justify-content: space-evenly;
    margin-left: 0px;
}

nav ul li a:link, nav ul li a:visited {
    text-decoration: none;
    color: #071027;
}

#intro-text{
    position: absolute;
    top: 20vw;
    left: 10vw;
    width: 40vw;
}

@media only screen and (max-width: 800px) {
    #intro-text {
        top: 25vw;
    }
}

#hero {
    width: 100vw;
    
}

#color-bar {
    width: 100%;
    background-color: #203262;
    height: 5vw;
    margin: 2em 0em;
}

/***DETAILS***/

#details {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 4em 0em;
}

@media only screen and (max-width: 700px) {
    #details {
        display: flex;
        flex-direction: column;
    }
}

#chessboard {
    width: 40vw;
    margin: 2em;
}

#details-information {
    margin: 2em;
    width: 40vw;
}

@media only screen and (max-width: 700px) {
    #chessboard, #details-information {
        width: 75vw;
    }
}

/***SITES***/

#sites {
    background-color: #203262;
    padding: 2em 3em;
}

#sites h1 {
    display: flex;
    justify-content: flex-end;
    font-size: 50px;
}

#sites ul {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    height: 15vh;
    bottom: 2em;
}

/***GAMES***/

#games {
    display: grid;
    margin: 4em;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 3em;
    align-items: center;
}

@media only screen and (max-width: 700px) {
    #games {
        display: flex;
        flex-direction: column;
    }
    #database-link {
        display: flex;
        justify-content: center;
        margin: 2em 0em;
    }
}

/***FOOTER***/

footer {
    display: grid;
    background-color: #071027;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 3em;
}

#socials {
    display: flex;
    flex-direction: column;
    align-items: center;
}



