/* project1.css */
/* basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    
    
    background: linear-gradient(90deg, #C21919 30.87%, #53D055 77.71%);
    
    height: 100vh;
    width: 100%;
    overflow-x: hidden;
    /* display: none; */
    /* visibility: hidden; */
    /* opacity: 0; */
    color: #000;
    text-align: center;
    font-family: "PT Sans", sans-serif;
    font-size: 22px;

    max-width: 2000px;

    position: relative;
    margin: 0 auto;


}
header {
background: rgba(238, 238, 238, 0.67);
    
    position: fixed;
    z-index: 2;
    text-align: center;
    width: 100%;

    left: 0px;
}
nav a {
    font-family: "Mea Culpa", cursive;
    font-size: 32px;
    color: #3B2D29;
    text-decoration: none;
    transition: all 0.3s ease-in;
}
nav a:hover {
    color: aqua;
}
nav ul li {
    display: inline;
    margin-right: 30px;
}
#banner{top: 40px;
position: relative;}
#about {
    background: rgba(255, 255, 255, 0.57);
    padding: 13px;
}
#about p {
    color: #000;
    /* font-size: 22px; */
    
}

.grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 77px;
}
.grid div{
    border-radius: 38px;
}
.grid img{
    width: 100%;
    border-radius: 27px;
}

figcaption, .grid p {
    
    background: rgba(255, 255, 255, 0.88); 
    position: relative;
    z-index: 1;    
}

.grid p {
    border-radius: 0 0 27px 27px;
}
figcaption{
    font-family: "Mea Culpa";
    font-size: 1.818em;
    margin-top: -90px;
    color: #267463;
}

button {
    padding: 5px;
    border: 1px solid #267463;
    background-color: #c0dbd5;
    border-radius: 10px;
    margin-bottom: 40px;
}
footer img{
    width: 200px;
    display:inline-block;
}