:root {
    --Primary-color: #2980B9;
    --Secondary-color: rgb(252, 252, 40);
    --Tetiary-color: rgba(21, 255, 0, 0.856);
    --Primary-font: Open Sans;
    --Secondary-font: Montserrat;
    --Tetiary-font: Mitr;
    --Extra-font: Courgette;
    --Extrastyle-font: ;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
main {
    background-color: var(--Primary-color);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
}
.big {
    display: flex;
    flex-wrap: wrap;
}
.Loginbox {
    width: 60%;
    margin-left: 20%;
    position: inherit;
    margin-right: 10%;
    background-color: var(--Primary-color);
    justify-content: center;
    text-align: center;
    margin-top: 5%;
}
.Loginbox .avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-top: -20px;
    left: 15%;
    left: calc(45% - 350px);
    margin-bottom: 10px;
    text-align: center;
}
h1 {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 15px;
    font-family: var(--Primary-font);
    color: black;
    border-bottom: 1px solid black;
}
form {
    text-align: left;
    margin-left: 40px;
    margin-right: 40px;
    display: block;
    font-size: 20px;
    border: 1px solid white;
    list-style: none
    ;
}
.Loginbox input {
    width: 80%;
    margin-bottom: 15px;
    margin-top: 15px;
    margin-left: 15%;
}

.Loginbox input[type="text"], input[type="password"] {
    border: none;
    border-bottom: 2px solid black;
    font-family: var(--Primary-font);
    background-color: white;
    padding: 8px;
    font-size: 17px;
}
.Loginbox input[type="submit"] {
    color: gold;
    background-color: black;
    padding: 10px;
    font-family: var(--Primary-font);
    margin-top: 20px;
    border: 2px solid black;
    border-radius: 30px;
}
.Loginbox input[type="submit"]:hover{
    cursor: pointer;
    background-color: gold;
    color: black;
}





@media screen AND (max-width:500px) {
    main {
        background-image: url("../IMAGES/safe1.jpg");
        background-color: var(--Primary-color);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        font-family: Georgia, 'Times New Roman', Times, serif;
    }
    .big {
        display: flex;
        flex-wrap: wrap;
    }
    .Loginbox {
        width: 90%;
        margin-left: 5%;
        position: inherit;
        margin-right: 5%;
        background-color: var(--Primary-color);
        justify-content: center;
        text-align: center;
        margin-top: 10%;
    }
    .Loginbox .avatar {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        position: inherit;
        top: 30%;
        left: 15%;
        left: calc(45% - 350px);
        margin-bottom: 10px;
        text-align: center;
    }
    h1 {
        text-align: center;
        margin-top: 10px;
        margin-bottom: 15px;
        font-family: var(--Primary-font);
        color: black;
        border-bottom: 1px solid black;
    }
    form {
        text-align: left;
        margin-left: 40px;
        margin-right: 40px;
        display: block;
        font-size: 20px;
        border: 1px solid white;
        list-style: none
        ;
    }
    .Loginbox input {
        width: 90%;
        margin-bottom: 15px;
        margin-top: 15px;
        margin-left: 5%;
    }
    .Loginbox input[type="text"], input[type="password"] {
        border: none;
        border-bottom: 2px solid black;
        background-color: white;
        font-family: var(--Primary-font);
        padding: 8px;
        font-size: 17px;
    }
    .Loginbox input[type="submit"] {
        color: gold;
        background-color: black;
        padding: 10px;
        font-family: var(--Primary-font);
        margin-top: 20px;
        border: 2px solid black;
        border-radius: 30px;
    }
    .Loginbox input[type="submit"]:hover{
        cursor: pointer;
        background-color: gold;
        color: black;
    }
}