*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body{
    height: 100%;
    width: 100%;
    font-family: Poppins;
    scroll-behavior: smooth;

    /* Header styling goes here */
}
 @media only screen and (max-width: 600px){
    header{
        background-color: rgb(128, 128, 128);
        opacity: 50%;
        width: auto;
        display: flex;
        width: 100%;
        height: 115px;
        justify-content: space-between;
    }
    header h1{
        width: 8rem;
        height: 110px;
        background-color: none;
        font-size: 2.2rem;
        font-family: Poppins, Roboto, sans-serif;
        padding: 10px 16px;
        font-weight: 400;
    }
    button{
        width: 8.9rem;
        height: 90px;
        padding: 10px 10px;
        border-width: 3px;
        background-color: #eee;
        border-radius: 65px;
        font-size: 22px;
        font-family: Poppins,Helvetica;
        border-color: black;
        border: solid;
    }
 }


 /* Main styling goes here */

 @media only screen and (max-width: 600px){
    main{
        width: 100%;
        height: auto;
        background-color: #eee;
    }

    main h2{
        font-family: Poppins, Roboto, Helvetica;
        font-size: 3.75rem;
        text-align: center;
        background-color: none;
    }

    main #adjust{
        display: block;
    }
    main img{
        width: 90%;
        height: 100%;
        position: relative;
        margin: 1px 16px;
        border: 2px solid rgb(97, 9, 9);
        box-shadow: 0 2px 10px rgb(125, 19, 19);
    }

    main #p1{
        margin-left: 15px;
        margin-right: 15px;
        height:auto;
        width: auto;
        font-family: Poppins, Roboto, Helvetica;
        border-radius: 20px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }

    main #p1 p{
        font-family: Poppins,Roboto,Helvetica;
        padding: 15px;
        font-size: 18px;
    }

    main #p2{
        margin-left: 15px;
        margin-right: 15px;
        height: auto;
        width: auto;
        font-family: Poppins, Roboto, Helvetica;
        border-radius: 20px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }

    main #p2 p{
        font-family: Poppins,Roboto,Helvetica;
        padding: 15px;
        font-size: 18px;
    }

    main #p2 ul{
        list-style-type: square;
        background-color: none;
        padding: 10px 30px;
    }

    main #p2 ul li{
        font-family: Poppins,Helvetica;
        font-size: 20px;
        padding-top: 5px;
    }
    

    main #p2 ul li a{
        text-decoration: none;
        color: gray;
    }
 }

 @media only screen and (max-width: 600px){
    footer{
        height: 90px;
        width: 92%;
        margin-left: 15px;
        margin-right: 15px;
        border-radius: 30px;
        margin-bottom: 220px;
        padding-bottom: 20px;
        margin-top: 40px;
    }
 }

 /* Specialised styling for ipad and tabs*/
 
@media only screen and (min-width: 601px) and (max-width: 900px){
    main #p1{
       max-width: 450px;
       height: auto;
    }
/*direct github change*/
    header {
        width: auto;
        }

    main #p2{
    max-width: 450px;
    height: auto; 
    }

    main footer{
        max-width: 450px;
        height: auto;
    }

    main img{
        width: 370px;
    }
}

