/* project1.css */
/* basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    
    
    background: linear-gradient(270deg, #99F8E4 0%, #000 100%);
    
    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(255, 255, 255, 0.81);
    
    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;
}


h1, h2, h3 {
    color: #000;
    text-align: center;
    font-family: "Mea Culpa";
    font-size: 48px;
    font-weight: normal;
}

#banner {
    width: 100%;
    height: 40vh;
    background-image: url("../img/pexels-divinetechygirl-1181675 1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}


#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;
}
#selfie {
    position: relative;
    top:-45px;
    left: 150px;
    margin-bottom: -120px;
}

@media screen and (max-width:460px) {
    #selfie{
        left: 75px;
        width: 100px;
        top: -90px
    }
}