/***** 
	Student Name: Nada Hashem
	File Name: CSS Style Sheet for Jump-page project
	Date: 
*******/

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
}


body{
    background-color: rgb(255, 255, 255);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: #302F2B;
     
}
 

header{
    display: flex;  
    flex-direction: column;
    text-align: center;
    justify-content: center;
    background:#302F2B;
    height: auto; 
}

.header-text{
 align-self: center;
 padding: 16px;
 color: rgb(255, 255, 255);
}

h1{
    font-size: 28px;
    font-weight: bold;
    padding: 8px;
}

h2{
    font-size: 28px;
    font-weight: normal;
    padding: 8px; 
}

h3{
    font-size: 18px;
    font-weight: normal;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    padding: 8px 8px 16px 8px;
}

h1, h2{
    font-family: "Newsreader", serif;
}  

#self-portrait{
    text-align: center;
    margin: 50px auto 16px auto;  
    
 }


 #self-portrait img{
    border-radius: 100%;
    width: 200px;
    height: 200px;
    object-fit: cover;
}


main{
    max-width: 1200px;
    margin: 0 auto;
    color: #302F2B;
  }
 
#hero-statement{
    margin-top: 24px;
    font-size: 16px;
    padding: 16px;

}
section{
    padding: 16px;
}

h4{
    font-size: 24px;
    font-family: "Newsreader", serif;
    font-weight: bold;
    padding-bottom: 16px;
}

a{
   text-decoration: none;
   color: #302F2B;
   font-weight: bold;
}

a:hover{
    color: #a98700;
}

a:visited{
    color:#527C82;
}
ol{
    margin: 16px 24px;
}
ol li{
    padding-bottom: 16px ;

}
section p{
    padding-bottom: 26px;
}

@media (min-width: 768px) {

    header{
        display: flex;
        flex-direction: row;
        justify-content: center;   
        align-items: center;        
        gap: 20px;            
    }

    #self-portrait{
        margin:50px 0 30px;
     }

    .header-text{
        margin:50px 0 30px;
    }

    h1{
        font-size: 30px;
    }
    
    h2{
        font-size: 30px; 
    }
    
    h3{
        font-size: 20px;
    }
    
    main{
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        grid-gap:20px;
        padding: 60px 24px 40px 24px;
    }
    #hero-statement{
      grid-column: 1;
    }

    section{
        grid-column:2;
    }
    }
    
    
@media (min-width: 1092px) {

    header{
        gap: 40px;
    }
    h1{
        font-size: 36px;
    }
    
    h2{
        font-size: 36px; 
    }
    
    h3{
        font-size: 30px;
    }
    
    main{
        padding-right: 200px;
        padding-left: 200px;
    }
