html {
    font-family: 'Verdana', sans-serif;
    color: #063136;
    position: relative;
    top: 0;
}


a {
    font-family: "Verdana", sans-serif;
}

.home-heading {
    font-size: 28px;
    color: #034d56;
    margin-left: 80px;
    margin-top: 50px;
}

.home-text {
    font-size: 20px;
    color: #0c4d54;
    margin-left: 80px;
    margin-top: 10px;
    margin-right: 40px;
    /*width: 800px;*/
    width: flex;
    text-align: justify;
}

.main-div {
    display: flex;
}

.connected {
    margin-left: auto;
    margin-right: 75px;
    margin-top: 100px;
}

.fun {
    margin-left: auto;
    margin-right: 75px;
    margin-top: 100px;
    margin-bottom: 50px;
}

.accross-world {
    margin-right: auto;
    margin-left: 75px;
    margin-top : 100px;
    margin-bottom: 50px;
}

header {
    background-color: #71A99F;
    color: #063136;
    width: 100%;
    height: 125px;

    margin: 0 auto;
    display: flex;
    align-items: center; 
    justify-content: flex-start;
}

.chessboard {
    margin: 20px;
}

.btn-login {
    background-color: #063136;
    color: #71A99F;
    font-size: 19px;
    text-decoration: none;
    margin-right: 20px;

    width: 120px;
    height: 40px;
    border: none;
    border-radius: 4px;
    cursor: pointer;

    margin-left: auto; 

    display: inline-flex;
    align-items: center;
    justify-content: center;
    
    transition: background-color 0.2s ease;
}

.btn-login:hover {
    background-color: #0c4d54;
}

.btn-home {
    background-color: #063136;
    color: #71A99F;
    font-size: 19px;
    text-decoration: none;
    margin-right: 20px;

    width: 120px;
    height: 40px;
    border: none;
    border-radius: 4px;
    cursor: pointer;

    margin-left: auto; 

    display: inline-flex;
    align-items: center;
    justify-content: center;
    
    transition: background-color 0.2s ease;
}

.btn-home:hover {
    background-color: #0c4d54;
}

.login-section, .signup-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 125px);
    background-color: #f4f4f4;
}

body {
    background-color: white;
    margin: 0;
    padding: 0;
}

.btn-submit {
    background-color: #595959;
    color: #000c0a;
    font-size: 19px;
    text-decoration: none;
    margin-right: 20px;

    border: none;

}

.login-form, .register-form {
    background-color:#B5DAD4;
    padding: 40px;
    border-radius: 4px;
    width: 550px;
    box-sizing: border-box;
}

.login-form h2, .register-form h2 {
    color: #063136;
    margin-top: 0;
    text-align: center;
    margin-bottom: 30px;
    font-size: 26px;
}

.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.login-form label, .register-form label {
    width: 120px;
    font-size: 16px;
    color: #063136;
}

.login-form input, .register-form input {
    flex: 1;
    padding: 10px;
    width: 350px;
    height: 10px;
    font-size: 16px;
    font-family: "Verdana", sans-serif;
    border: 1px solid #ccc;
    border-radius: 10px;
    margin-left: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.login-form input:focus, .register-form input:focus {
    outline: 2px solid #063136;
}

.btn-submit {
    background-color: #063136;
    color: #71A99F;
    width: 100px;
    height: 45px;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 10px;
    display: block;
    margin-inline: auto;
}

.btn-submit:hover {
    background-color: #0c4d54;
}

.have-account {
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
    color: #063136;
}

.btn-register {
    color: #063136;
}

input#confirm_password {
    width: 280px;
}

.btn-user{
    color: #063136;
    font-size: 19px;
    text-decoration: underline;
    margin-right: 20px;

    width: 120px;
    height: 40px;
    border: none;
    border-radius: 4px;
    cursor: pointer;

    margin-left: auto; 

    display: inline-flex;
    align-items: center;
    justify-content: center;
    
    transition: background-color 0.2s ease;

}

.btn-user:hover, .btn-info_out {
    color: #1f7680;
}

.account-information {
    background-color: white;
    margin-left: 20px;
}

.btn-create-game, .btn-join-game {
    background-color: #063136;
    color: #71A99F;
    font-size: 35px;
    text-decoration: none;
    margin: 20px;
    margin-top: 50px;
    flex-direction: column;

    width: 300px;
    height: 200px;
    border: none;
    border-radius: 20px;
    cursor: pointer;

    
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-items: center;
    padding: 0px;
    line-height: 0.5em;
    
    transition: background-color 0.2s ease;
}



.btn-create-game:hover, .btn-join-game:hover {
    background-color: #0c4d54;
}
.btn-create_game {
    background-color: #063136;
    color: #71A99F;
    font-size: 19px;
    text-decoration: none;
    margin: 20px;

    width: 100px;
    height: 45px;
    border: none;
    border-radius: 4px;
    cursor: pointer;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-items: center;
    padding: 0px;
    
    transition: background-color 0.2s ease;
}



.piece_color, .game_type {
    background-color: #71A99F;
    color: #063136;
    font-size: 19px;
    text-decoration: none;
    margin: 20px;

    width: 120px;
    height: 45px;
    border: none;
    border-radius: 4px;
    cursor: pointer;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-items: center;
    padding: 0px;
    
    transition: background-color 0.2s ease;
}

.piece_color:hover, .game_type:hover {
    background-color: #0c4d54;
}

.game-create-form {
    padding: 40px;
    border-radius: 4px;
    width: 1000px;
    box-sizing: border-box;
}

.game-info {
    margin: 20px;
    font-size: 11px;
}

mark {
    background-color: #ffffff;
    color: #017e8c;
}

.svg.hover {
    fill: #1f7680;
}

._chessboard_ {
    position: relative;
    width: 550px;
    height: 550px;
    background-color: #eeeed2;
    margin: 50px auto;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(8, 1fr);
}

._chessboard_ button {
    width: 100%;
    height: 100%;
    border:none;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

.acc_inf {
    color: #32818a;
}

.info-space {
    margin: 20px;
    font-size: 19px;
    line-height: 1.8em;
}

.white-span {
    color: #ffffff;
    margin: 0px;
}

.box_numbers {
    position: absolute;
    top: 0;
    left: -30px;
    height: 100%;
    font-size: 20px;
    line-height: 68.75px;
    text-align: center;
}

.box_letters {
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    font-size: 20px;
    display: flex;
    justify-content: space-around;
}

.dark_box {
    background-color: rgb(103, 128, 59);
    color: black;
    font-size: 50px;
    width: 68.75px;
    height: 68.75px;
    border: none;
    margin: 0px;
}

.dark_box:hover {
    background-color: rgb(113, 130, 82);
}

.light_box {
    background-color: #eeeed2;
    color: black;
    font-size: 50px;
    width: 68.75px;
    height: 68.75px;
    border: none;
    margin: 0px;
}

.light_box:hover {
    background-color: #b1b196;
}

#_chessboard_, #board {
  scroll-margin-top: 20px;
}

.error_message {
    color: #930d0d;
    font-size: 15px;
    align-self: center;
    font-style: italic;
    font-weight: normal;
    margin-bottom: 0px;
    justify-content: center;
}

h6 {
    margin-bottom: 10px;
}