* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background-color: aliceblue;
}

.entire-container {
    overflow: auto;
}

/**Beginning of navbar**/
.navbar {
    background-color: black;
    display: flex;
    justify-content: space-between;
    padding: 20px 60px 20px 60px;
    position: fixed;
    top: 0;
    width: 92.2%;
    z-index: 1;
}

.left .right {
    position: fixed;
    top: 0;
    width: 100%;
}

.left {
    list-style: none;
}

ul i {
    font-size: 2.5rem;
    color: white;
    top: 8px;
    position: relative;
}

li {
    display: inline;
}

.left li:not(:last-child) {
    border-right: 2px solid white;
}

.left li a {
    text-decoration: none;
    color: white;
    padding: 8px;
    font-weight: bold;
    font-size: 1.5rem;
}

.right {
    align-items: right;
    justify-content: flex-end;
}

.right input {
    background-color: black;
    border: 2px solid grey;
    border-radius: 10px;
    padding: 10px 2px 10px 2px;
    margin-right: 5px;
    color: white;
}

.right input::placeholder {
    opacity: 1;
    color: white;
    text-align: center;
    font-size: 1rem;
}

.right button {
    background-color: blue;
    color: white;
    border-radius: 10px;
    border: none;
    padding: 10px 25px 10px 25px;
    font-size: 1rem;
}

/**End of Navbar**/

/**Beginning of Abstract section**/

#abstract {
    width: 100%;
    min-height: calc(100vh - 200px);
    background-color: rgb(206, 174, 206);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.search-container {
    position: sticky;
}

.search-container input[type="text"] {
    width: 40rem;
    height: 3rem;
    border-radius: 5px;
    border: none;
    margin-top: 20px;
}

.search-container input[type="text"]::placeholder {
    padding-left: 12px;
    font-size: 1.3rem;
}

.search-container button {
    position: absolute;
    top: 33px;
    right: 20px;
    border: none;
    color: black;
    background-color: transparent;
    font-size: 1.3rem;
}

/**End of Abstract section**/

/**Beginning of Help-center section**/

#help-center {
    background-color: white;
}

.grid-container {
    display: grid;
    grid-template-columns: auto auto;
    height: 700px;
    justify-content: space-evenly;
    margin: 0 200px 0 250px;
    padding-top: 50px;
    gap: 0 150px;
}

.grid-items :not(:first-child) {
    display: flex;
    flex-direction: column;
    padding: 6px;
}

.grid-items h2 {
    font-size: 1.5em;
}

.grid-items p {
    font-size: 1rem;
    word-wrap: break-word;
}

.grid-items a {
    text-decoration: none;
    color: rgb(71, 134, 201);
}

.grid-items a i {
    position: relative;
    bottom: 16px;
    left: 5rem;
}

.grid-items i:not(:last-child) {
    justify-content: left;
    font-size: 4rem;
    position: relative;
    top: 5rem;
    left: -5rem;
}

#yellow-gradient {
    color: yellowgreen;
}

#blue-gradient {
    color: rgb(112, 110, 143);
}

#light-blue {
    color: rgb(17, 121, 232);
}

#yellow {
    color: rgba(216, 216, 27, 0.664);
}

#ash {
    color: rgba(128, 128, 128, 0.542);
}

/**End of Help-center section**/

/**Beginning of Footer**/

.footer-container {
    background-color: black;
    color: white;
    padding-bottom: 20px;
}

.row {
    padding: 30px 0 10px 30px;
    display: grid;
    grid-template-columns: repeat(4, auto);
    grid-template-rows: repeat(auto-fill, minmax(100px, 1fr));
    grid-auto-flow: dense;
}

.footer-col h3 {
    font-size: 1.5rem;
    padding-bottom: 20px;
}

.footer-col ul li {
    list-style-type: none;
    display: block;
}

.footer-col ul li a {
    text-decoration: none;
    color: lightblue;
    font-size: 1rem;
}

h4 {
    padding-top: 10px;
}

#last {
    right: 0;
}

.footer-col p {
    word-wrap: break-word;
    padding-right: 100px;
}

.footer-col i {
    font-size: 2.5rem;
}

.footer-col ul li a:hover {
    color: aliceblue;
}

/**End of Footer**/


@media screen and (max-width: 690px) {
    .navbar {
        position: fixed;
        flex-direction: column;
        width: 100%;
        padding: 10px;
    }

    .navbar .left {
        text-align: left;
    }

    .navbar .right {
        text-align: right;
        margin-right: 20px;
    }


    #abstract {
        font-size: 20px;
    }

    .search-container input[type="text"] {
        width: 20rem;
        height: 3rem;
        border-radius: 5px;
        border: none;
        margin-top: 20px;
    }

    .grid-container {
        display: grid;
        grid-template-columns: 2fr;
        height: 100%;
        padding-top: 10px;
    }

    .footer-container {
        background-color: black;
        color: white;
        padding-bottom: 20px;
    }

    .row {
        padding: 10px 0 20px 30px;
        display: grid;
        grid-template-columns: repeat(2, auto);
        grid-template-rows: repeat(auto-fill, minmax(100px, 1fr));
        grid-auto-flow: dense;
        gap: 3px;
    }

    .footer-col {
        padding-bottom: 10px;
    }

    .footer-col h3 {
        padding-bottom: 2px;
    }


    .footer-col ul li a {
        color: lightblue;
    }

    #last {
        padding-left: 10px;

    }

}