*{
    margin: 0;
    padding: 0;
    font-family: "Gill Sans", sans-serif;
    scroll-behavior: smooth;
}

html, body{
    height: 100vh;
    overflow: hidden;
    font-family: "Gill Sans", sans-serif;
}

.cant{
    overflow-y: scroll;
    height: 100vh;
    scroll-snap-type: y mandatory;
}

.section{
    height: 100vh;
    scroll-snap-align: start;
    position: relative;
}

.rest{
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.project{
    background-color: white;
    width: 40%;
    max-width: 40%;
    min-width: 400px;
    padding: 0 20px;
    margin: 20px auto;
    border: 2px solid black;
    min-height: 90vh;
    border-radius: 3px;
    box-shadow: 
    1px 2px 2px hsl(180, 25%, 68%),
    2px 4px 4px hsl(180, 25%, 68%),
    3px 6px 6px hsl(180, 25%, 68%);
}

button,
button:focus,
button:active{
	border:0;
	background:none;
	outline:none;
	padding:0;
}

h1{
    width: 100%;
    text-align: center;
    min-height: 40px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    margin: 20px auto;
}

p{
    width: 100%;
    font-family: "Gill Sans", sans-serif;
    margin: 20px auto;
    line-height: 1.3;
}

img{
    width: 100%;
    object-fit: cover;
}

footer{
    width: 100%;
    text-align: center;
    min-height: 50px;
    margin: auto;
    background-color: white;
    border-top: 1px solid black;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media only screen and (max-width: 600px) {
    .project{
        max-width: 100%;
        width: 100%;
        min-width: 0;
        border: 0;
        border-radius: 0;
        margin: 0 auto;
        box-shadow: 0 0 0;
        padding: 20px;
    }
    nav{
        position: relative;
    }
}