
@font-face{
    font-family: AlicePizza;
    src: url(../fonts/Alice.ttf);


}

@font-face{
    font-family: Raleway;
    src: url(.../fonts/Raleway.ttf);
}
*{
    margin: 0;
    padding: 0;

}
body{
    background-color: black;
    color: goldenrod;
    margin: 0;
  
}

h1{
   font-family: AlicePizza; 
}

h2{
 font-family: AlicePizza; 
 }

 h3{
    font-family: Alice; 
 }

p{
    font-family: Raleway;
}

.GIA-Top{
    display: flex;
}
.logo{
 height: 300px;
}

section{
    width: 95%;
    overflow-x:hidden ;
}

footer{
    width: 99%;
    position: relative;
    bottom: 0;
    text-align: center;
    background-color: #5C2E5A;
}

section.Resume{
    padding-left: 20px;
}

.skills h2{
    display: flex;
    justify-content: center;
    border: 2px solid gold;
}

.experience h2{
    display: flex;
    justify-content: center;
    border: 2px solid gold;
}

.education h2{
    display: flex;
    justify-content: center;
    border: 2px solid gold;
}

header{
    text-align: center;
    padding: 2px;
    margin: 0;
    border: 0;
    background-color: #8B4746;
}

nav{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

a{
    color: goldenrod;
    font-size: 1.5em;
    padding: 5px;
    text-decoration: none;
    font-family: AlicePizza;
}

a:hover{
    background-color: #742826;
    font-size: 2em;
}

.img-thumbnail{
    width: 110%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}


div.row{
    display: flex;
    justify-content: center;
    align-items: center; 
    font-size: 1em;
    margin: 20px;
}

div.img-photo{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: sans-serif;
}

.grid-container {
    columns: 1;
    column-gap: 2em;
    width: 90%;
    margin: 0 auto;
    column-width:100px; /* this width refers to how small the column will be allowd to go before the column wraps */
  /*   column-rule: 1px solid lightblue; */
}
  
  /* generic card for image */
.grid-card {
  /*   width: 350px; */
    margin: 0px 20px 20px 0px;
    width: 100%;
    border: 1px solid black;
    padding: 2px;
    padding: 5px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    transition: all .25s ease-in-out;
    &:hover img{
      filter:grayscale(0);
    }
    &:hover{
      border:1px solid goldenrod;
    }
  /*   the above properties were added like shorthand */
}
  
.grid-item{
    width: 100%;
    filter: grayscale(1);
    border-radius: 5px;
}
.grid-card p{
    margin: 5px 0;
    padding: 0;
    text-align: center;
    font-style: italic;
}

.GIA-Scheduale{
    width: 110%;
}

.GIA-p{
    font-size: 1.5em;
}

.GIA-img{
    width: 110%;
}

.GIA-link{
    display: flex;
    justify-content: center;
    align-items: center;
}

.GIA-holder{
    padding-left: 10%;
}

.button{
    display: flex;
    justify-content: center;
    align-items: center;
}

video{
    width: 100%;
}

iframe{
    width: 90vw;
    height:55vh;
}

.CAWD1-final{
    display: flex;
    flex-direction: column;
}

.CAWD2-final{
    display: flex;
    flex-direction: column;
}

.JavaScript-final{
    display: flex;
    flex-direction: column;
}

.bestwork-img{
    display: flex;
    flex-direction: column;
}
.funFacts-img{
    width: 100%;
}

.bacteria{
    display: flex;
    align-items: center;
    flex-direction: column;

}
.bacteria img{
    width: 100%;
    height: auto;
}


@media screen  and (min-width:576px){
    
    section{
        width: 98%;
        margin-left: .5%;
    }

    nav{
        flex-direction: row;
        width: 97vw;
        margin-top: 5px;
        margin-bottom: 15px;
        justify-content: space-evenly;
    }

    a{
        font-size: 1.5em;
        padding: .2%;
        text-decoration: none;
    }
    
    a:hover{
        font-size: 1.7em;
    }
    
    .img-thumbnail{
        width: 30vw;
        height: auto;
        margin-right: 5px;
    }

    .split{
        display: flex;
        flex-direction: row;
    }

    .AboutMe{
        display: flex;
    }
    
    footer{
        width: 99%;
    }
    
    div.Resume{
        padding-left: 5px;
    }
    div.Resume h4{
        font-size: 1.75em;
    }
    
    .skills h2{
        border: 5px solid gold;
        font-size: 2em;
    }

    .skills p{
        font-size: 1.5em;
    }
    
    .experience h2{
        border: 5px solid gold;
        font-size: 2em;
    }

    .experience p{
        font-size: 1.5em;
    }
    
    .education h2{
        border: 5px solid gold;
        font-size: 2em;
    }

    .education p{
        font-size: 1.5em;
    }
    
    div.row{
        display: flex;
        justify-content: center;
        align-items: flex-start;
        font-size: 1.4em;
    }
    
    div.img-photo{
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        font-family: Raleway;
    }
    
    .grid-container {
     
        columns: 3;
        column-gap: 2em;
        width: 90%;
        margin: 0 auto;
        column-width:100px; /* this width refers to how small the column will be allowd to go before the column wraps */
      /*   column-rule: 1px solid lightblue; */
    }
      
      /* generic card for image */
    .grid-card {
      /*   width: 350px; */
        margin: 0px 20px 20px 0px;
        width: 100%;
        border: 1px solid black;
        padding: 2px;
        padding: 5px;
        box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
        border-radius: 5px;
        break-inside: avoid;
        /*avoids colums from seperating inside the cards*/
        transition: all .25s ease-in-out;
        &:hover img{
          filter:grayscale(0);
        }
        &:hover{
          border:1px solid #745326;
        }
      /*   the above properties were added like shorthand */
    }
      
    .grid-item{
        width: 100%;
        filter: grayscale(1);
        border-radius: 5px;
    }
    .grid-card p{
        margin: 5px 0;
        padding: 0;
        text-align: center;
        font-style: italic;
    }

    .GIA-classes{
        display: flex;
    }

    div h2{
        font-size: 1.5em;
        margin-left: 5px;
        display: flex;
        align-items: center;
    }
    
    .GIA-img{
        width: 65vw;
        margin: 5px;
    }
    
    .GIA-link{
        display: flex;
        justify-content: center;
    }
    
    .GIA-holder{
        padding-left: 1%;
    }
    
    video{
        width: 50%;
    }

    .CAWD1-final{
        display: flex;
        flex-direction: row;
    }
    
    .CAWD2-final{
        display: flex;
        flex-direction: row;
    }
    
    .JavaScript-final{
        display: flex;
        flex-direction: row;
    }
    
    iframe{
        width: 76vw;
        height: 53vh;
    }
    .bestwork-img{
        display: flex;
        flex-direction: row;
    }

    .bestwork-img img{
        width: 50vw;
        margin: 10px;
    }
    .funFacts-img{
        width: 50vw;
        height: auto;
    }

    .funFacts{
        display: flex;
        margin: 5px;
    }

    .funFacts-text{
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .bacteria{
        flex-direction: row;
        margin-left: 30px;
    }

    .bacteria img{
        width: 70%;
    }

}
