* {
    margin: 0px;
}

h1 {
    font-family: "Roboto Slab", serif;
    margin-top: 20px;
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 20px;

}

.para {
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 20px;
}

p {
    text-align: left;
    line-height: 1.8em;
}

body {
    font-family: "Roboto", sans-serif;
}

.logo {
    width: 200px;
    margin-left: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.logocell {
    background-color: #570D93;
}

.navcell {
    background-color: #570D93;
    position: fixed;
    bottom: 0;
    right: 0;
    width: 380px;
}

.scell {
    background-color: white;
    padding-bottom: 30px;
    color: white;
}

.pcell {
    background-color: #C282E7;
    height: 100px;
    margin-left: 20px;
    margin-right: 20px;
    align-content: center;
    padding-left: 20px;
}

.evil {
    font-size: 50px;
    margin-left: 20px;
}

.ycell {
    background-color: #F1BD4C;
    height: 100px;
    margin-left: 20px;
    margin-right: 20px;
    align-content: center;
    padding-left: 20px;

}

.opacity {
    opacity: 60%;
    position: absolute;
    bottom: 0.1px;
    top: 343px;
    right: 10px;
    left: 140px;

}

#clearbtn {
    margin-top: 20px;
    margin-left: 20px;
    background-color: #F1BD4C;
    padding: 12px;
    width: 150px;
    height: auto;
    border-radius: 9px;
    border: none;
    box-shadow: #2E2E3A 3px 3px 4px;
}

#clearbtn:active {
    background-color: #570D93;
}

#homebtn {
    margin-left: 20px;
    background-color: #F1BD4C;
    font-size: 50px;
    padding: 12px;
    width: 80px;
    height: 80px;
    margin-top: 12px;
    border-radius: 9px;
    border: none;
    box-shadow: #2E2E3A 3px 3px 4px;
}

#homebtn:active {
    background-color: #570D93;
}

section {
    position: relative;
    background-color: #C282E7;
    margin-left: 40px;
    height: auto;
    margin-top: 20px;
    width: 100%;
    max-width: 800px;
    padding: 30px;
    padding-top: 25px;
}


#calbtn {
    margin-left: 20px;
    background-color: #F1BD4C;
    font-size: 50px;
    padding: 12px;
    width: 80px;
    height: 80px;
    margin-top: 12px;
    border-radius: 9px;
    border: none;
    box-shadow: #2E2E3A 3px 3px 4px;
}

#calbtn:active {
    background-color: #570D93;
}

input[type="date"] {
    margin-top: 8px;
    padding: 8px;
    width: 100%;
    max-width: 250px;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
    background-color: white;
}

input[type="number"] {
    padding: 8px;
    margin-top: 8px;
    width: 135px;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
    background-color: white;
}

label {
    display: block;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 10px;

}

.cell {
    background-color: #C282E7;
    height: 100px;
    margin-left: 20px;
    margin-right: 20px;

}

/*defualt - small devices */
[class*="col"] {
    grid-column-end: span 12;
}


/* below 600px typical tablet*/
@media only screen and (max-width: 600px) {

    .navsm1 {
        grid-column-end: span 12;
    }

    .icons {
        width: 40px;
        height: auto;
    }

    nav {
        background: #570D93;
        padding: 7px;
        text-align: center;

    }

    nav ul {
        list-style-type: none;
        padding: 0;

    }

    nav li {
        display: inline;
        text-align: center;
    }

    a {
        text-decoration: none;
        color: #000;
        background: #570D93;
        display: inline-block;
        width: 100px;
        padding: 5px 3px;

    }

}
