/***** 
	Student Name: Nada Hashem
	File Name: CSS Style Sheet for for Lab 1
	Date: 09/04/2025
*******/

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


body{
    background-color: #010E1D;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: white;         
}

  /********************** header styling starts here ***********************/

header{
    display: flex;
    flex-direction: column;
}

#top-header {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 130px;
    position: relative;
  }
  
  #logo {
    left: -5px;
    position: absolute;
  }

  #logo img{
    width: 100px;   
    height: auto;
}

 header h1{
    color: #D3C59F;
    font-size: 26px; 
    font-family:Georgia, 'Times New Roman', Times, serif;
 }

 nav{
    background-color: #1b2633;  
 }

 nav ul {
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-between; 
    padding: 1em;                
    margin: 0;
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: #F1EBE0;
    font-size: 11px;
    padding: 0.5em; 
}

  /********************** header styling ends here ***********************/



  /********************** main/ grid styling starts here ***********************/


.card-listing{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: .2em;
    width: 100%;  
    height: 100%;
    align-items: stretch;    
    }
    
.hero-statement{
    grid-column: span 2;
    padding: 1em;
    }

.hero-statement h2{
        color: #D3C59F;
        font-size: 22px;
        margin-bottom: 1em;
    }
   
.hero-statement p{
    font-size: 18px;
    color: #F1EBE0;
    }

.card img{
        width: 100%;
        height: 100%;
        display: block;
        object-fit:cover;
    }

  /********************** main/ grid styling ends here ***********************/

  /********************** Wider screens styling starts here ***********************/



@media only screen and (min-width : 700px) {

#top-header {
        min-height: 230px;
      }        

#logo img{
        width: 200px;   
    }

header h1{
    font-size: 50px; 
 }

 nav ul li a {
    font-size: 16px;
    padding: 1em; 
 }

.hero-statement h2{
    font-size: 28px;
}
 
.hero-statement p{
    font-size: 22px;
}
}