@import url('https://fonts.googleapis.com/css2?family=Mr+Dafoe&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mr+Dafoe&display=swap');


nav {
    text-align: center;
    margin-top: 50px;
}
nav a {
    text-decoration: none;
    font-size: larger;
    color: white;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-left: 20px;
    margin-right: 20px;
    border-radius: 20px 0;
    border: solid rgb(1, 40, 1) 1px;
    background: linear-gradient(rgb(1, 153, 1),rgb(1, 40, 1));
    transition: 800ms;
    justify-content: center;
}
body {
    margin: 0;
}
header {
    background: linear-gradient(rgb(1, 153, 1),rgb(1, 40, 1));
}
header h1 {
    color: yellow;
    text-align: center;
    font-family: "Mr Dafoe", cursive;
    font-weight: 400;
    font-style: normal;
    margin-top: 0;
}
img {
    width: 100%;
    margin-top: 20px;
    border-radius: 20px;
    margin-bottom: 20px;
    max-width: max-content;
}
div {
    display: flex;
    justify-content: center;
}

.topsection {
    background-color: white;
}
nav a:hover {
    border-radius: 0 20px;
}
.topsection article h1 {
    text-align: center;
    margin-top: 10px;
    font-weight: 600;
}
.topsection p {
    margin-left: 150px;
    margin-right: 150px;
    margin-bottom: 50px;
    text-align: center;
}
.downsection {
    display: flex;
    flex-direction: row;
}
.downsection article p  {
    text-align: center;
    margin-bottom: 30px;
}
.downsection article {
    padding-left: 50px;
    padding-right: 50px;
    text-align: center;
    margin-bottom: 50px;
}
.downsection article a {
    text-decoration: none;
    border-radius: 20px 0;
    border: solid rgb(1, 40, 1) 1px;
    background: linear-gradient(rgb(1, 153, 1),rgb(1, 40, 1));
    transition: 800ms;
    font-size: larger;
    color: white;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-left: 20px;
    margin-right: 20px;
}

.downsection article :hover {
    border-radius: 0 20px;
}

.downsection article h1 {
    font-weight: 200;
}

footer {
    background: linear-gradient(rgb(1, 153, 1),rgb(1, 67, 1));
    color: white;
    text-align: center;
    padding: 5px;
}

@media (max-width:900px) {
    header img {
        display: none;
    } 
    nav {
        display: flex;
        flex-direction: column;
        align-items: start;
    }
    nav a {
        margin: 25px;
        padding-left: 5px;
        padding-right: 5px;
        width: 30%;
    }
    .downsection {
        display: flex;
        flex-direction: column;
    }
    .downsection article {
        text-align: left;
    }
    .downsection article p {
        text-align: justify;
    }
    .topsection article p {
        text-align: justify;
    }
}


