@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap');

* {
    padding: 0;
    margin: 0;
    /* "box-sizing: border-box" includes padding/border when setting width/height */
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.5;
}

h1 {
    font-weight: 400;
    font-size: 60px;
    line-height: 1;
    margin-bottom: 20px;
}

a {
    /* "text-decoration: none" removes the underline from links */
    text-decoration: none;
    color: black;
    font-weight: 800;
}

#main {
    position: relative;
    /* vh is unit of measurement. 1vh is equal to 1% of viewport */
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* "padding: 0px 20px" so the text doesn't touch edges of screen on smaller devices */
    padding: 0px 20px;
}

#video.container {
    position: absolute;
    /* Set in percentage instead of vh/vw because percentage will be relative to the container its in rather than the viewport */
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    background-color: ;
    background-image: url("cover.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* "object-fit: cover" sets video to cover/fit the background size */
    object-fit: cover;
    z-index: -9999;
    filter: blur(1px);
    filter: brightness(40%);
}

#cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#content {
    z-index: 1;
    color: whitesmoke;
    text-align: center;
}

#click {
    display: inline-block;
    margin-top: 25px;
    border: 2px solid whitesmoke;
    padding: 5px;
    border-radius: 10%;
    background-color: whitesmoke;
    font-size: 18px;
    opacity: 0.6;
}

#click:hover {
    transform: scale(1.2);
}

#about {
    color: black;
    padding: 50px 50px;
    text-align: center;
    z-index: 1;
}

#about p {
    font-size: 20px;
    max-width: 500px;
    margin: auto;
}

#about h2 {
    margin: 40px 0;
    color: black;
}

i {
    color: black;
}


