html{
    height: 100%;
}

body { 
    background-color: rgba(21, 1, 1, 0.5);
    min-height: 100%;
    font-family: Verdana, Geneva, sans-serif;
}

header {
    min-height: 200px;
}

nav{
    background-color: #000;
    min-height: 50px; 

}

#nav {
    min-height: 40px;
    display: grid;
    padding: 8px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 8px;
}

li {
    padding-top: 8px;
    text-align: center;
    list-style: none;
    

}

a {
    background-color: #fdfdfd;
    height: 100%; width: 100%;
    border: 1px solid #000;
    text-decoration: none;
    
    display: block; 
    
}

h1{
    text-align: center;
    padding:16px;
    font-family:'Courier New', Courier, monospace;
    font-size: 3rem;
}

p {
    padding: 20px;

}

.grid-container{
    display:grid;
    grid-template-columns:1fr 1fr 1fr ;
    margin: 40px;
    gap: 60px 40px;

}

.grid-item{
    
    min-height: 500px;
    min-width:300px;

}

h2, h3{
    text-align: center;
    margin:8px
}

h2 {
    color: #f5eaea;
    text-shadow: 1px 1px 1px #000;
}

#img1, #img2, #img3, #img4, #img5, #img6, #img7, #img8, #img9{
    height: 300px; width: 200px;
    background-position: center;
    margin: auto;
    margin-top: 10px;
    border-radius: 25px;
    border: 5px solid #000;

}

#img1 {
background-image:url(/images/profile1.1.jpg);
}
#img2 {
    background-image:url(/images/profile2.1.jpg);
}
#img3 {
    background-image:url(/images/profile3.1.jpg);
}
#img4 {
    background-image:url(/images/profile4.1.jpg);
}
#img5 {
    background-image:url(/images/profile5.1.jpg);
}
#img6 {
    background-image:url(/images/profile1.1.jpg);
}
#img7 {
    background-image:url(/images/profile2.1.jpg);
}
#img8 {
    background-image:url(/images/profile3.1.jpg);
}
#img9 {
    background-image:url(/images/profile4.1.jpg);
}


.email {
    border: 2px solid #1a2cd2;
    border-style: outset;
    height: 30px;
    text-align: center;
    width:200px;
    margin:auto;
    padding: 5px;
    border-radius: 25px;
    background-color: #fdfdfd;
}

@media screen and (max-width: 1100px) {
    .grid-container{
        grid-template-columns:1fr 1fr;
        margin: 20px;
        gap: 40px 30px;
    }



}

@media screen and (max-width: 700px) {
    .grid-container{
        grid-template-columns:1fr ;
        margin: 8px;
        gap: 20px 20px;
    
    }   
}

footer{
    height: 100px;
}