html {
    font-family: 'Roboto', sans-serif;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    user-select: none;
}

body {
    margin: 3px 75px;
    width: 98%;
    max-width: 1920px;
    background-color: #1B1924;
    border: 1px solid #CCCCCC;
    border-radius: 8px;
    box-shadow: 0 0 6px #CCCCCC;

}

h2,
h3 {
    margin: 20px;
}

header {
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#logo {
    margin-top: 50px;
    width: 90px;
    height: 90px;
    background-image: url("assets/freddie.png");
    background-size: 100%;
}

#input-el {
    margin: 0;
    width: 85%;
    max-width: 600px;
    display: flex;
    flex-flow: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

#input-el>input,
button,
textarea {
    border: none;
    font-family: 'Roboto', sans-serif;
    resize: none;
    border-radius: 6px;
    color: #EFEFEF;
}

#input-el>input:not(:first-child) {
    width: 40.5%;
    height: 35px;
    padding: 0 10px;
    background-color: #444059;
    font-size: medium;
    font-weight: 500;
    text-align: center;
}

#input-el__endorsement {
    display: flex;
    align-items: start;
    justify-content: start;
    width: 84.5%;
    height: 100px;
    padding: 12px 18px;
    background-color: #444059;
    font-size: medium;
    font-weight: 500;
}

#input-el__publish-btn {
    width: 95%;
    max-width: 300px;
    height: 65px;
    background-color: #00a6fb;
    font-size: 23px;
    font-weight: bolder;
    transition: .15s ease-in-out;
}

#input-el__publish-btn:hover {
    width: 94.5%;
    height: 65px;
    background-color: #006494;
    transition: .1s ease-in-out;
}

footer {
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: top;
    align-items: center;
    padding-bottom: 25px;
}

#endorsement-el {
    margin: 0;
    width: 84.5%;
    display: flex;
    flex-direction: column-reverse;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 0;
}

.endorsement-el__entry {
    width: 95%;
    background-color: #efefef;
    border-radius: 3px;
    margin: 0;
    padding: 0 12px;
    color: #222222;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: start;
    transition: .2s ease-in-out;
    opacity: 1;
}

.endorsement-el__entry:hover {
    background-color: #CCCCCC;
    transition: .2s ease-in-out;
}

/* .endorsement-el__entry>li {
    margin: 0;
} */

.endorsement-el__entry--body {
    margin: 0;
}

.endorsement-el__entry--to,
.endorsement-el__entry--from {
    margin: 10px 0;
    font-weight: bold;
}

.endorsement-el__entry__bottom-row,
.endorsement-el__entry__heart-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.endorsement-el__entry__heart-wrapper {
    width: 40px;
}

.endorsement-el__entry__heart-icon {
    background-image: url("assets/heart-filled-icon.svg");
    background-size: 100%;
    height: 17px;
    width: 17px;
    border: none;
    margin: 0;
    transition: .25s ease-in-out;
    background-color: transparent;
}

.endorsement-el__entry__heart-icon:hover {
    height: 16px;
    width: 16px;
    transition: .175s ease-in-out;
    background-color: #d62828;
}

.endorsement-el__entry__heart-icon--clicked {
    background-image: url("assets/heart-filled-icon.svg");
    background-size: 100%;
    height: 17px;
    width: 17px;
    border: none;
    margin: 0;
    transition: 2s ease-in-out;
    background-color: #d62828;
}

.endorsement-el__entry__heart-wrapper--counter {
    font-weight: 800;
    margin: 0;
}

.fade-out {
    transition: .5 ease-in-out;
    opacity: 0;
}