﻿* {
    margin: 0 auto;
}

img {
    max-width: 100%;
}

html {
    background-image: linear-gradient(to left, #ffffff, #febbbc);
}
.container b {
    font-family: Assistant,Aharoni;
}
.container h1 {
    font-family: Assistant,Aharoni;
    font-size:28px;
    margin-bottom:25px;
}

.container-fluid {
    background-image: linear-gradient(to left, #ffffff, #febbbc);
}


#sign-up-modal {
    max-width: 60%;
}

#login {
    background-image: linear-gradient(to top right, #8fc7e8, #228fd2);
}

#sign-up button {
    width: auto;
}

/* Full-width input fields */
input[type=email], input[type=password],input[type=text] {
    width: 65%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
    border-radius:17px;
}

/* Set a style for all buttons */
button {
    background-color: #04AA6D;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 60%;
    border-radius: 7px;
    margin:auto;
    margin-bottom:15px;
}



    button:hover {
        opacity: 0.6;
    }

/* Extra styles for the cancel button */
.cancelbtn {
    width: auto;
    padding: 10px 18px;
    background-color: #f44336;
}

/* Center the image and position the close button */
.imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
    position: relative;
}

img.avatar {
    width: 40%;
    border-radius: 50%;
}



span.psw {
    float: right;
    padding-top: 16px;
}






/* The Close Button (x) */
.close {
    position: absolute;
    right: 25px;
    top: 0;
    color: #000;
    font-size: 35px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: red;
        cursor: pointer;
    }

/* Add Zoom Animation */
.animate {
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes animatezoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
    span.psw {
        display: block;
        float: none;
    }

    .cancelbtn {
        width: 100%;
    }
}


/* Full-width input fields */
input[type=email], input[type=password], input[type=text] {
    width: 100%;
    padding: 15px;
    margin: 5px 0 22px 0;
    display: inline-block;
    border: none;
    background: #f1f1f1;
    text-align: center;
}

    /* Add a background color when the inputs get focus */
    input[type=email]:focus, input[type=password]:focus, input[type=text]:focus {
        background-color: #ddd;
        outline: none;
    }









/* Float cancel and signup buttons and add an equal width */
.signupbtn {
    width: 50%;
    background-image: linear-gradient(to top right, #ff3437, #fe9397);
}

/* Add padding to container elements */
.container {
    padding: 16px;
    border-radius: 17px;
    text-align: center;
    background-image: linear-gradient(to left, #ffffff, #febbbc);
}

#sign-up {
    text-align: center;
}

    #sign-up button {
        background-image: linear-gradient(to top right, #ff3437, #fe9397);
    }
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    padding-top: 60px;
    box-shadow: 0 20px 40px rgb(0 0 0 / 10%), 0 8px 16px rgb(0 0 0 / 10%);
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
    width: 65%; /* Could be more or less, depending on screen size */
    box-shadow: 0 20px 40px rgb(0 0 0 / 10%), 0 8px 16px rgb(0 0 0 / 10%);
    border-radius: 17px;
}



/* Style the horizontal ruler */
hr {
    border: 1px solid #f1f1f1;
    margin-bottom: 25px;
}

/* The Close Button (x) */
.close {
    position: absolute;
    right: 35px;
    top: 15px;
    font-size: 40px;
    font-weight: bold;
    color: #f1f1f1;
}

    .close:hover,
    .close:focus {
        color: #f44336;
        cursor: pointer;
    }

/* Clear floats */
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/* Change styles for cancel button and signup button on extra small screens */
@media screen and (max-width: 300px) {
    .cancelbtn, .signupbtn {
        width: 100%;
    }
}
