/* Fonts */

@font-face {
    font-family: 'Nunito';
    src: url('resource/fonts/nunito.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nunito';
    src: url('resource/fonts/nunito-italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

/* Containers */

body {
    background-color: rgb(230, 255, 240);
    font-family: 'Nunito', sans-serif;
    color: rgb(40, 80, 70);
    padding: 5%;
}

header,
main,
footer {
    width: 60%;
    margin: 5px auto;
    padding: 10px;
}

#main-diary article {
    border-bottom: 1px solid rgb(0, 150, 130);
    margin: 10px 0px;
    padding: 10px;
}

/* Text Styles */

#gradient-title {
    background: linear-gradient(90deg, rgb(219, 0, 128), rgb(0, 88, 204), rgb(0, 194, 152));
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: GradientText 4s linear infinite;
    will-change: background-position;
}

@keyframes GradientText {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

h1,
h2,
h3 {
    font-style: italic;
}

h1 {
    text-align: center;
    font-weight: bolder;
    font-size: 3em;
}

h2 {
    font-size: 1.5em;
}

h3 {
    font-size: 1.3em;
}

p,
summary {
    font-size: 1.1em;
    line-height: 1.5;
    text-align: justify;
}

/* others */

.pic-art {
    height: 15em;
    border: 1px solid rgb(0, 150, 130);
}

.pic-profile {
    height: 10em;
    border: 1px solid rgb(0, 150, 130);
    border-radius: 100px;
}

::selection {
    background: rgb(68, 214, 250);
    color: rgb(41, 80, 85);
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgb(220, 240, 230);
}

::-webkit-scrollbar-thumb {
    background: rgb(100, 200, 180);
}

/* Buttons */

.button-menu {
    background: transparent;
    border: 1px transparent solid;
    border-bottom: 1px solid transparent;
    font-family: Nunito, sans-serif;
    color: rgb(25, 200, 180);
    transition: 0.1s linear;
    padding: 10px;
}

.button-menu:hover {
    cursor: pointer;
    letter-spacing: 0.6px;
    color: rgb(0, 110, 255);
    border-bottom: 1px solid rgb(0, 110, 255);
}

.button-ft {
    padding: 0.8em;
    font-weight: bolder;
    border-radius: 50px;
    color: rgb(21, 90, 20);
    font-family: Nunito, sans-serif;
    background: rgb(190, 255, 190);
    border: 2px solid rgb(21, 90, 20);
    transition: 0.2s ease;
}

.button-ft:hover {
    color: rgb(196, 255, 196);
    background: rgb(26, 50, 26);
    border: 2px solid rgb(196, 255, 196);
}

.button-oq {
    padding: 0.8em;
    font-weight: bolder;
    border-radius: 50px;
    color: rgb(68, 0, 255);
    font-family: Nunito, sans-serif;
    background: rgb(205, 196, 255);
    border: 2px solid rgb(74, 0, 170);
    transition: 0.2s ease;
}

.button-oq:hover {
    color: rgb(235, 230, 255);
    background: rgb(34, 0, 68);
    border: 2px solid rgb(235, 230, 255);
}

/* Links */

a {
    color: rgb(21, 197, 176);
    transition: 0.1s linear;
    text-decoration: none;
}

a:hover {
    transition: 0.1s linear;
    letter-spacing: 0.6px;
    color: rgb(0, 110, 255);
    text-decoration: underline;
    text-underline-position: under;
}