:root {
    --black: #002;
    --blue: #0258AB;
    --dark: #0b0b3f;
    --yellow: #FFD300;
    --green: #098568;
    --green50: #09856850;
    --orange: #b04618;
    --red: #be1050;
    --red50: #be105050;
    --light: #dfdfdf;
    --white: #F1F1F1;
}

body {
    background-color: var(--blue);
}

.page {
    padding: 24px;
}

.container {
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: 0 1vmin 4vmin -2vmin var(--black);
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    width: 100%;
}

header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    height: 72px;
}

.logo {
    font-size: 32px;
    font-weight: bold;
}

nav ul {
    display: flex;
    gap: 16px;
    text-transform: uppercase;
    font-weight: bold;
}

.search {
    position: relative;
}

.search button {
    align-items: center;
    background: transparent !important;
    box-shadow: none !important;
    display: flex;
    padding: 0;
    height: 24px;
    justify-content: center;
    position: absolute;
    right: 8px;
    top: calc(50% - 12px);
    width: 24px;
}

.search button::after {
    border: 2px solid var(--blue);
    border-radius: 100%;
    content: '';
    height: 20px;
    width: 20px;
}

.search button::before {
    bottom: 0;
    border-left: 2px solid var(--blue);
    content: '';
    height: 8px;
    position: absolute;
    right: 2px;
    transform: rotate(-50deg);
    width: 1px;
}

.icon {
    background-position: center;
    background-size: 14px auto;
    background-repeat: no-repeat;
    display: inline-block;
    height: 20px;
    vertical-align: middle;
    width: 24px;
}

.iconUser {
    background-image: url(../images/icon_user_blue.svg);
}

.categoryNav {
    align-items: center;
    display: flex;
    font-size: 1.25rem;
    gap: 12px;
    padding: 32px 0;
}

.categoryNav a {
    border: 1px solid var(--light);
    border-radius: 8px;
    padding: 4px 8px;
}

.categoryNav sup {
    color: var(--orange);
    font-size: small;
    margin: 0 0 0 4px;
}

.post {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

.post img {
    border-radius: 8px;
    margin: 0 0 8px;
    position: relative;
    transition: .1s linear;
    top: 0;
}

.post a:hover img {
    top: -2px;
    transform: scale(1.015);
}

.post a {
    color: var(--black);
}

.post h4 {
    font-size: 18px;
}

.post a:hover h4 {
    color: var(--red);
}

.post time {
    color: var(--blue);
}

.post p {
    margin: 0;
}

.postTop {
    align-items: center;
    color: var(--orange);
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    padding: 0 0 16px;
}

.postFull time {
    font-size: small;
}

.pageForm .container {
    max-width: 400px;
}

.pageForm header {
    justify-content: center;
}

.pageForm form input {
    width: 100%;
}

.inputText {
    margin: 0 0 8px;
}

.msg {
    animation: msg .3s linear both;
    border-radius: 16px;
    opacity: 0;
    padding: 24px 40px;
    position: fixed;
    right: -16px;
    top: 16px;
}

@keyframes msg {
    0% {
        opacity: 0;
        right: -16px;
    }
    100% {
        right: 16px;
        opacity: 1;
    }
}

.msg.error {
    background-color: var(--red50);
    color: var(--white);
}

.msg.success {
    background-color: var(--green50);
    color: var(--white);
}

.msg p {
    margin: 0 0 4px;
}

.msg p:last-child {
    margin: 0;
}

footer {
    color: var(--white);
    padding: 40px;
    text-align: center;
}


/* the slides */

.post .slick-list {
    margin: 16px -16px;
}

.post .slick-slide {
    margin: 16px 16px;
}

.slick-slider {
    overflow: hidden;
}

.post button {
    box-shadow: none;
    color: var(--dark);
    padding: 0;
}

.paginBtn {
    display: flex;
    justify-content: center;
    padding: 24px;
}

.slick-dots {
    align-items: center;
    display: flex;
    justify-content: center;
}

.slick-dots button {
    border-radius: 100%;
    font-size: 0;
    height: 12px;
    margin: 0 8px;
    width: 12px;
}

.slick-active button {
    background-color: var(--dark);
}