*{
    margin: 0;
    padding : 0;
    font-family: 'Times New Roman', Times, serif;
    box-sizing:border-box;
}
body{
    background-image: url('bg.jpg');
    background-repeat: no-repeat;
    background-size:cover;
    
}
h1{
    padding-top: 50px;
    padding-left: 30%;
    text-align: left;
    font-size: 30px;
    color: #fff;
    font-weight: 1000;
}
.container{
    padding-top: 20px;
    padding-left: 30%;
    text-align: left;
    font-size: 18px;
    color:#fff;
    justify-content: space-between;
   
}
.form input[type="text"],
.form input[type="email"],
.form input[type="url"],
.form input[type="number"] {
    font-weight: bold;
    display: block;
    width: 50%;
    margin: 0.5rem 0;
    padding: 0.5rem 1rem;
    border: #000000;
    border: 1px solid #000000;
    border-color: #000000;
    border-width: 10px solid;
   border-radius: 0.3rem;
}
.form button {
    width: 30%;
    padding: 0.4rem 0;
    border-radius: 0.3rem;
    border: none;
    outline: none;
    margin-right: 1rem;
    margin-top: 0.6rem;
    cursor: pointer;
    
}

#submit{
    background-color: #2767df;;
    color: rgb(255, 250, 250);
    border-radius: 5px;
    font-size: 19px;
    cursor: pointer;
}

#reset{
    background-color: #f13333;
    color: rgb(250, 250, 250);
    border-radius: 5px;
    font-size: 19px;
    cursor: pointer;
}
.output {
    font-weight: bold;
    font-size: 18px;
    width: 90%;
    border-radius: 1rem;
    padding: 3rem;
}

h2 {
    font-weight: bolder;
    padding-left: 15%;
    text-align: left;
    margin-bottom: 1rem;
}
.output .cardContainer {
    height: 90%;
    overflow-y: auto;
}
@media (max-width:1200px) {

    .container {
        height: 90vh;
        margin-bottom: 5rem;
    }

    .cardContainer {
        height: 70%;
        overflow-y: auto;
    }

    .output .card {
        display: block;
        text-align: center;
    }
}

@media (max-width:900px) {
    .container {
        flex-basis: auto;
        display: block;
        width: 90%;
        height: auto;
    }

    .form {
        width: 100%;
        height: auto;
    }

    .output {
        width: 100%;
        margin: 5rem auto;
    }

    .output .cardContainer {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(240px, 241px));
        gap: 10px;
        align-items: center;
        justify-content: center;
    }
}
