@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

body {
    height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
}


main {
    flex: 1 0 auto;
}

/* navigation */

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

img {
    margin-right: 20px;
}

nav a {
    position: relative;
    text-decoration: none;
    color: rgb(244, 25, 25);
    font-size: 20px;
    font-weight: bold;

}

nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #0077ff;
    transition: width 0.25s ease-in-out;
}

nav a:hover::after {
    width: 100%;
}

nav ul li {
    list-style: none;
    display: inline;
    margin: 0 15px;
}





/* content section 1 */

.section1 title,
.subheadings {
    text-align: center;
    padding: 5px;
}


.title {
    text-align: center;
}

.container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}


.paragraph {
    max-width: 700px;
    line-height: 2;
    padding: 10px;
    text-align: center;
}


/* footer */




footer {
    background-color: black;
    color: whitesmoke;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 40px;
}

h5 {
    font-weight: 900;
}