:root {
    --bg-color: rgb(240, 240, 240);
    --primary-color: rgb(223, 120, 134);
    --secondry-color: rgb(252, 169, 180);
    --nav-color: rgb(255, 255, 255);
}

a {
    color: var(--primary-color);
    text-decoration: none;

    transition: all ease 0.2s;
}
a:hover {
    color: var(--secondry-color);
}

.empty-zone {
    height: 200vh;
}

html {
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
}

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

.nav-zone {
    width: 100%;
    height: 50px;
    padding: 10px 0 10px 0;
    background-color: var(--nav-color);

    display: block;
    position: relative;

    border-radius: 0 0 10px 10px;
}
nav {
    width: 100%;
    height: 50px;
    padding: 10px 0 10px 0;
    backdrop-filter: blur(10px);

    opacity: 0;
    animation: slideInDown 1s ease forwards;

    position: fixed;
    top: 0;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-radius: 0 0 10px 10px;
    box-shadow: 3px 0px 5px 5px rgba(0, 0, 0, 0.1);
}
nav div {
    padding-left: 10px;
    padding-right: 10px;
}
nav ul {
    display: flex;
    list-style: none;
}
nav li {
    list-style: none;
}

nav .icon img {
    clip-path: circle();
}

nav .links {
    display: flex;
    gap: 10px;
    margin-right: 10px;
}

nav .links a {
    display: block;
    width: 100px;
    line-height: 70px;
    text-align: center;

    border: 0;
}
nav .links a:hover {
    line-height: 67px;
    border-bottom: 3px solid var(--primary-color);

    background-color: rgba(255, 255, 255, 0.1);
}

nav .dropdown-menu {
    position: absolute;
    top: 100%;

    padding: 0;
    width: auto;
    text-align: center;

    background-color: var(--nav-color);
    border-radius: 0 0 5px 5px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);

    opacity: 0;
    visibility: hidden;

    transition: all ease 0.3s;
}
nav .has-dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

nav .dropdown-menu a {
    padding: 0 20px 0 20px;
    width: 150px;
}
nav .dropdown-menu a:hover {
    line-height: 70px;
    background-color: var(--primary-color);
    color: var(--nav-color);
    border: 0;
    border-radius: 0 0 5px 5px;
}

nav .has-dropdown > a > .arrow {
    display: inline-block;
    width: 20px;
    transform: rotate(0deg);
    transition: all ease 0.3s;
}
nav .has-dropdown:hover span {
    transform: rotate(90deg);
}

.articles {
    margin: 20px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: min(650px, 100vw);
    gap: 10px;
}

.article {
    display: block;
    width: 300px;
    padding: 10px;
    justify-content: space-around;
    background-color: var(--nav-color);
    border-radius: 10px;

    opacity: 0;
    animation: slideInUp 1s ease forwards;
    transition: all ease 0.3s;
}
.article .img-container {
    display: block;
    height: 150px;
    width: 100%;
    overflow: hidden;
}
.article img {
    display: block;
    height: 150px;
    width: 100%;
    object-fit: contain;
    transition: all ease-in 0.5s;
}
.article:hover img {
    transform: scale(1.05);
    box-shadow: 10px 0px 5px solid black;
}
.article h3 {
    color: rgba(0, 0, 0, 0.8);
    margin-top: 7px;
    margin-bottom: 0;
    transition: all ease 0.3s;
}
.article h3:hover {
    color: var(--primary-color);
}
.article p {
    color: grey;
    margin-top: 0;
    margin-bottom: 3px;
}
.article p.time {
    font-size: 15px;
    text-align: right;
}

.down-zone {
    flex: 1;
    min-height: 20px;
}

footer {
    display: flex;
    flex-direction: column;

    background-color: var(--nav-color);

    opacity: 0;
    animation: slideInUp 0.5s ease forwards;
}

footer > .main {
    flex: 1;
    display: flex;

    justify-content: center;
    gap: 20px;
}

footer > .main > .left,
footer > .main > .right {
    width: 30vw;
}

footer > .bottom {
    text-align: center;
    padding-bottom: 20px;
}
footer > .bottom p {
    color: grey;
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInDown {
    from { opacity: 0; transform: translateY(-25px); }
    to { opacity: 1; transform: translateY(0); }
}
