* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
}

body {
    background-color: #5CDB95;
}

#topbar {
    width: 100%;
    height: 0.5em;
    background: linear-gradient(45deg, #05386B, #042E59);
    background-size: 400%;
    animation: grad 20s linear infinite;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20%;
}

.navbar img {
    width: 170px;
    transform: scale(1);
    transition: transform 0.25s ease-in-out;
}

.navbar img:hover {
    transform: scale(1.1);
}

.navbar ul {
    display: flex;
}

.navbar a {
    font-family: 'Permanent Marker', cursive;
    font-size: 20px;
    padding: 0em 2em;
    color: #05386b;
}

.navbar li {
    transform: rotate(0);
    transition: transform 0.25s ease-in-out;
    text-align: center;
}

.navbar li:hover {
    transform: rotate(-12deg);
}

footer {
    width: 100%;
    margin-top: 30px;
    padding-bottom: 10px;
    color: #05386B;
    font-size: 20px;
    text-align: center;
}

.searchFriends {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.searchFriends h3 {
    margin: 20px 0 5px 0;
}

.searchFriends label {
    font-weight: bold;
}

#resultSearch {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 8px;
}

#resultSearch ul li {
    margin-bottom: 10px;
}

.friend {
    text-align: center;
    margin-bottom: 4px;
}

.friend a {
    width: 200px;
    text-align: center;
    padding: 3px;
    background-color: white;
    color: #111111;
    display: flex;
    align-items: center;
    font-size: 19px;
    text-align: center;
    border-radius: 5px;
    border: 1px solid #111111;
}

.friend img {
    display: block;
    margin-right: 15px;
    width: 40px;
    height: 40px;
}

.error {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: calc(100vh - 0.5em);
    text-align: center;
}

.error h1 {
    font-size: 50px;
    color: #05386B;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
    justify-content: center;
    align-items: center;
}

#action {
    position: relative;
    width: 370px;
    max-width: 370px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
}

#action h2 {
    margin-top: 30px;
}

.permanent {
    background-color: #db1010;
}


.permanent:hover {
    cursor: pointer;
    background-color: #910f0f;
}

.permanent:active {
    background-color: #db1010;
}

.close {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 8px;
    right: 8px;
    cursor: pointer;
}

.like, .dislike, .show-comment {
    cursor: pointer;
}

@media (max-width: 1000px) {
    .navbar .logo {
        text-align: center;
    }
    .navbar img {
        width: 170px;
    }
    .navbar a {
        padding: 0 0;
    }
    .navbar {
        display: block;

    }
    .navbar ul {
        display: block;
        text-align: center;
    }
	footer {
		position: static;
	}
}

@media (max-width: 530px) {
    footer {
        font-size: 15px;
    }
}