@import "Reset.css";

body {
	display: flex;
	flex-flow: column;
	gap: 10px;
	place-items: center;
	height: 100vh;
    background-color: black;
}

.rock-salt-regular {
  font-family: "Rock Salt", cursive;
  font-weight: 400;
  font-style: normal;
}

h1 {
    color: white;
    font-size: 7vw;
    text-align: center;
}

nav {
    display: flex;
    justify-content: space-evenly;
    gap: 10px;
    width: 100%;
}

a {
    color: white;
    text-decoration: none;
    font-size: 2vw;
    margin-bottom: 5px;
    border-bottom: 3px solid black;
}

a:hover {
    transition: border-bottom 0.5s;
    border-bottom: 3px solid white;
}

#hero {
    margin-top: 5px;
}

img {
    width: 45vw;
}

p {
    color: white;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 1.5vw;
}

.small {
    width: 25vw;
}

#grid {
    display: grid;
    grid-template-areas: 
    "img1 img2 img3";

    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;

    column-gap: 10vw;
}

#img1 {
    grid-area: img1;
    margin-top: 8vh;
}

#img2 {
    grid-area: img2;
}

#img3 {
    grid-area: img3;
    margin-top: 8vh;
}

footer {
    color: white;
}


#ftimg {
    width: 10vw;
}

@media screen and (max-width: 640px) {
    h1 {
        font-size: 10vw;
    }

    nav {
        flex-flow: column;
        place-items: center;
    }

    a {
        font-size: 4vw;
    }

    p {
        margin-left: 5px;
        font-size: 3vw;
    }

    #hero {
        width: 70vw;
    }

    #grid {
        column-gap: 5vw;
    }

    #img1, #img2, #img3 {
        width: 29vw;
    }

    footer {
        font-size: 2vw;
    }

    #ftimg {
        width: 15vw;
    }
}
