*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    outline: none;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.hero{
    width: 100%;
    height: 60vw;
    background-image: url("../images/hero_imgxlarge.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.heading, .form1{
    text-align: center;
    margin-bottom: 50px;
}
.heading p{
    font-size: 19px;
}
h2{
    font-size: 1.5em;
}
a{
    cursor: pointer;
    text-decoration: none;
}
#add_plan{
    width: 280px;
    height: 52px;
    margin: 65px auto 10px;
    font-size: 16px;
    border-bottom: 4px aquamarine solid;
    background-color: #000;
    color: #fff;
    text-align: center;
}
#add_plan:focus{
    width: 340px;
    border-radius: 46px;
}
.add{
    width: 160px;
    height: 37px;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    display: block;
    margin: 0 auto;
    border-radius: 40px;
    letter-spacing: 3px;
    color: rgb(146, 238, 146);
    margin-bottom: 80px;
}
#sch{
    position: relative;
}
@keyframes writing{
    100%{
        left: 100%;
        width: 0%;
        margin: 0 -35px 0 35px;
    }
}
.sch::after{
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    background-color: #fff;
    border-left: 2px solid black;
    animation: writing 4s steps(12) infinite;
}
#edit_plan{
    visibility: hidden;
    max-width: 80%;
    margin: 5px auto 40px;
}
#tasks{
    height: auto;
    /* margin: 15px; */
    font-size: 16px;
}
#tasks td:nth-child(1){
    background-color: rgb(206, 204, 204);
    padding: 7px;
    text-transform: uppercase;
    border-bottom: 2px solid rgb(61, 61, 61);
}
#tasks button, #save_todo{
    padding: 8px;
    margin: 5px;
}
.container table{
    margin-bottom: 60px;
}
footer{
   position: relative;
   margin-top: 60px;
   bottom: 0;
}
#copy{ 
   position: relative;
   font-size: .7em; 
   color: #fff; 
   width: 100%; 
   height: 30px; 
   background-color: grey; 
   padding: 15px; 
   text-align: center;
 }
#copy>span{ 
   position: absolute; 
   top: 50%; 
   left: 50%; 
   transform: translate(-50%, -50%);
 }

/* for small screens */
@media (min-width: 768px) and (max-width: 991px){
    .heading p, .add{
        font-size: 17px;
    }

}

/* for smaller screens */
@media (min-width: 576px) and (max-width: 767px){
    .heading p, .add{
        font-size: 15px;
    }
    /* .hero{
        background-image: url("../images/hero_img_med.jpg");
    } */

}

/* for extra small screens */
@media (min-width: 321px) and (max-width: 575px){
    .heading p, .add, #tasks, #tasks button, #save_todo{
        font-size: 13px;
    }
    .hero{
        width: 100vw;
    }
    #tasks td:nth-child(1){
        padding: 5px;
    }
    #tasks button, #save_todo{
        padding: 6px;
    }
    #add_plan{
        width: 240px;
        height: 50px;
    }
    #add_plan:focus{
        width: 300px;
    }
    .add{
        width: 120px;
    }
    h2{
        font-size: 1.2em;
    }
    .sch::after{
        animation: writing 4s steps(8) infinite;
    }

}

/* for tiny screens */
@media (max-width: 320px){
    .heading p, .add, #tasks, #tasks button, #save_todo{
        font-size: 12px;
    }
    .hero{
        width: 100vw;
    }
    #add_plan{
        width: 200px;
        height: 48px;
    }
    #add_plan:focus{
        width: 260px;
    }
    #tasks td:nth-child(1){
        padding: 3px;
    }
    #tasks button, #save_todo{
        padding: 4px;
    }
    .add{
        width: 80px;
    }
    h1{
        font-size: 1.4em;
    }
    h2{
        font-size: 1.1em;
    }
    .sch::after{
        animation: writing 4s steps(6) infinite;
    }
    
}

