
/*divider that contains the image*/
div.welcome-image {
    width: min(100%,700px);
    aspect-ratio: 3835/985;
    overflow: hidden
}
/*the image in the divider*/
div.welcome-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*display: block; I DONT WANT YOU*/
}
/*the this is iemd's web text*/
h3.homepage{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-family: 'Gaegu';
    color: #faf5ed;
    font-size: 1.7rem;
    text-align: center;
}
/* contains the navigation bar */
div.navigation-grid {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "home nav search";
    align-items: center;
}
div.navbar {
    width: min(100%, 50rem);
    background-color: #90A57E;
    margin-top: 2%;
    overflow: auto; /* CHANGE LATER AS MAKES IT COVER WHOLE PAGE*/  
    white-space: nowrap; /* NO CLUE WHAT THIS DOES*/ 
    text-align: center;
    grid-column-start: 1;
    grid-row-start: 1;
    grid-row-end: 2;
    z-index: 2;
}
/*text within the navigation bar */
div.navbar a{
    display: inline-block; /* CHANGE LATER AS NOT RESPONSIVE */ 

    color:#424337;
    font-family: 'Darumadrop One';
    font-size: 22px;
    /*font-size: ; SEE IF YOU SHOULD ADJUST FONT SIZE*/
    text-decoration: none;
    text-align: center;

    padding-left: 7%; /* CHANGE LATER AS NOT RESPONSIVE */
    padding-right: 7%;  
    padding-top: 1%;
    padding-bottom: 1%;
    
}
div.navbar a:hover{
    color: #3B161C;
    background-color:#C097A0;
}
div.navbar a:active{
    color: #3B161C;
    background-color:#C097A0;
}
div.nav-wrapper {
    grid-area:nav;
    display: flex;
    justify-content: center;
}
div.home-button {
    grid-area: home;
    display: flex;
    height: 48px;
    width: 48px;
    margin-top: 16px;
    margin-left: 16px;
    aspect-ratio: 1/1;
    overflow: hidden;
}
div.home-button img{
    width:90%;
    height:90%;
    object-fit: cover;
}
div.home-button:hover img{
    width: 100%;
    height:100%;
    object-fit: cover;
} 
div.nav-tape-left {
    display:flex;
    height: 48px;
    margin-top: 2%;
    aspect-ratio: 2354/1501;
    overflow: hidden;
}
div.nav-tape-left img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
div.nav-tape-right {
    display: flex;
    height: 48px;
    margin-top: 2%;
    aspect-ratio: 2180/1510;
    overflow: hidden
}
div.nav-tape-right img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
div.search-button {
    grid-area: search;
    display: flex;
    height: 48px;
    width: 48px;
    margin-top: 16px;
    margin-right: 16px;
    aspect-ratio: 1/1;
    overflow: hidden;
}
div.search-button img{
    width:100%;
    height:100%;
    object-fit: cover;
}
div.search-button:hover img{
    width: 110%;
    height:110%;
    object-fit: cover;
}
div.homepage-center {
    margin-left: 25%;
    margin-right: 25%;
    margin-top: 7.5%;
}
body{ 
    background-image: url("../images/homepage-background.jpg");  /* ../ is to out of one directory into another *add dash for absolute path, start at root directory*/
    background-repeat: no-repeat;
    background-color:#383032;
    background-position: center;
    background-attachment: fixed;
    background-size: cover; 
    margin: 0px;
}
@media only screen and (max-width: 700px) {
  /*h1.homepage {
    font-size: 4rem;
  }*/
  h3.homepage {
    font-size: 1.3rem;
  }
  div.homepage-center {
    margin-left: 7%;
    margin-right: 7%;
    margin-top: 7.5%;
  }
}
@media only screen and (max-width: 800px) {
    div.nav-tape-left {
        display:none;
    }
    div.nav-tape-right {
        display:none;
    } /*not reallt satisfied w this maybe have to do sm with overflow? want it to stick and scale but not shrinl then vpw is smaller than dic*/
}
/* When the screen gets narrow, move Home/Search above the nav */
@media only screen and (max-width: 915px) {
  div.navigation-grid {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "home search"
      "nav nav";
  }
}
