*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: rgb(222, 222, 222);
    
}

header{
    background-color: rgba(47, 79, 79, 0.841);
    color: white;
    position: fixed;
    width: 100%;
    height: 120px;
    padding: 20px;
    z-index: 2;
}

nav{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 5rem;
    margin-top: 10px;
    /* position: sticky; */
}

h1{
    /* flex: 1; */
    text-align: center;
}

nav div{
    padding: 10px;
}

nav div a {
    text-decoration: none;
    font-size: 1.3rem;
    color: white;
    
}
nav div:hover{
    background-color: rgba(0, 0, 0, 0.123);
    border-radius: 20px;
  

}

main{
    /* margin-top: 20px; */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4.5rem;
    flex-direction: row;
    flex-wrap: wrap;
    /* overflow: scroll; */
    margin-top: 150px;
}

/* main div{ border: 10px solid red; */
 


main .img{
    border: 10px solid white;
    width: 500px;
    position: relative;
    
    border-radius: 5px; 
    -webkit-box-shadow: 0px 2px 10px 0px rgba(133,133,133,1);
    -moz-box-shadow: 0px 2px 10px 0px rgba(133,133,133,1);
    box-shadow: 0px 2px 10px 0px rgba(133,133,133,1);
}
img{
    width: 480px;
}

.img{
    position: relative;
}


.text {
   display: none;
   width: 480px;
   position: static;
   
   overflow: auto;
   background-color: rgba(240, 248, 255, 0.314);
   padding: 10px;
   border-radius: 5px;
   -webkit-box-shadow: 0px 2px 10px 0px rgba(133,133,133,1);
    -moz-box-shadow: 0px 2px 10px 0px rgba(133,133,133,1);
    box-shadow: 0px 2px 10px 0px rgba(133,133,133,1);
    z-index: 1;
    transition-duration: 5s;
    
  }
 
.img:hover .text{
    display: block;
   
}


footer{
    height: 100px;
    background-color: rgba(47, 79, 79, 0.841);
    margin-top: 50px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}





