@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
:root {
    --primaryFont:"Rubik", sans-serif;
    --defaultFontWeight: 300;
    --primaryBackgroundColor: #F5F5F5;
    --analogousBackgroundColor: #DCDCDC;
    --contrastBackgroundColor: #28282B;
    --primaryColor: #226CE0;
    --secondaryColor: #09814A;
    --secondaryColorShadow: #065a34;
}

* {
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

.defaultText {
    font-family: var(--primaryFont);
    font-weight: var(--defaultFontWeight);
}

.container {
    background-color: var(--primaryBackgroundColor);
    display: flex;
    flex-direction: column;
    align-items: center;
    height:100vh;
    width:100vw;
}

.titleSection {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top:1vh;
}

.titleLink {
    text-decoration: none;
    color: black;
}

.titleText {
    font-family: var(--primaryFont);
    font-weight: var(--defaultFontWeight);
}

.subTitleLine {
    width: 100vw;
    height: 1px;
    background-color: black;
}

.games {
    width: 60vw;
    display: grid;
    grid-template-areas: 
        "Game-1 Game-2 Game-3"
        "Game-4 Game-5 Game-6";
}

.gameButton {
    width: 15vw;
    height: 15vw;
    padding:0;
}

.gameButtonText {
    font-family: var(--primaryFont);
    font-weight: var(--defaultFontWeight);
}

.gameBar {
    width: 100vw;
    height:5vh;
    display: flex;
}

.gameBarButton {
    width: 16.666666vw;
    height: 5vh;
}

.gameBarButtonText {
    font-family: var(--primaryFont);
    font-weight: var(--defaultFontWeight);
}
.game1Section {
    background-color: var(--primaryBackgroundColor);
    width:100vw;
    height:85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.game1TitleRow{
    height: 15vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game1TitleText {
    font-family: var(--primaryFont);
    font-weight: var(--defaultFontWeight);
    font-size: 3em;
}

#game1InputSection {
    border: none;
    background-color: var(--primaryBackgroundColor);
    height: 70vh;
    width: 60vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#game1InputRow {
    height: 75px;
    width: 60vw;
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 100px;
    justify-content: center;
}

.game1InputDiv {
    width: 75px;
    height: 75px;
    border: solid black 2px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--primaryFont);
    font-weight: var(--defaultFontWeight);
    background-color: white;
}

#game1CardRow {
    height: 75px;
    width: 60vw;
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 100px;
    justify-content: center;
}

.game1CardDiv {
    width: 75px;
    height: 75px;
    border-radius: 10px;
    border: solid black 2px;
    background-color: var(--contrastBackgroundColor);
    color: var(--primaryBackgroundColor);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--primaryFont);
    font-weight: 400;
}

.game1CardDivDragging {
    opacity: .75;
    cursor:grabbing;
}

.game1CardDivInRow {
    border: none;
    border-radius: 7px;
}

#game1ShuffleButton {
    font-family: var(--primaryFont);
    font-weight: 300;
    font-size: 1.2em;
    margin-top: 100px;
    width:8vw;
    height:4vh;
    background-color: var(--secondaryColor);
    color: var(--primaryBackgroundColor);
    border: none;
    border-radius:5px;
    cursor: pointer;
}

#game1ShuffleButton:hover {
    background-color: var(--secondaryColorShadow);
}