@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

* {
    box-sizing: border-box;
}
body {
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333;

    font-family: "Ubuntu", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;

    transition: background-color 0.2s, color 0.2s;
}

main {
    display: flex;
    align-items: center;
    flex-direction: column;
}

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

.post {
    display: flex;
    flex-direction: column;
    width: 590px;
    font-size: 18px;
}

.year {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
}

.month {
    padding-top: 50px;
    text-align: center;
    font-size: 24px;
    font-weight: 500;
}

.resluts {
    display: flex;
    flex-direction: column;
}

.title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    border-bottom: 1px solid #D3D3D3;
}

.hidden {
  transform: translateY(-100%);
}

button {
    all: unset;
}

.read-more {
    background-color: #D3D3D3;
    color: #303841;
    padding: 15px;
    margin: 25px 0px;
    border-radius: 8px;
    text-decoration: none;
}


.read-more:hover {
    background-color: #22262A;
    color: #F4F3F2;
    transition: 0.3s;
}

h1 {
    padding-bottom: 50px;
    border-bottom: 1px solid #D3D3D3;
    text-align: center;
}

a {
    color: #333;
    text-decoration: none;
    font-weight: 400;
}

a:hover {
    font-weight: 700;
    transition: 0.2s;
}


.logo {
    background-image: url("slike/favicon.png");
    background-size: cover;
    background-repeat: no-repeat;

    width: 55px;
    height: 55px;
}

.logo:hover {
    rotate: 2deg;
    transition: 0.3s;
}

.sidebar {
    background-color: #F4F3F2;
    box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 3px;
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    overflow: hidden;
    transition: 0.2s;
}

.sidebar .closebtn {
    position: absolute;
    top: 35px;
    right: 35px;
    font-size: 45px;
    font-weight: 100;
    color: #333;
    text-decoration: none;
}

span {
    background-image: url("slike/menu.png");
    background-size: contain;
    background-repeat: no-repeat;

    width: 35px;
    height: 35px;
}

span:hover {
    width: 38px;
    height: 38px;
    transition: .2s;
/*  transition: all 0.3s ease;*/
}

.sidebar.open {
    width: 300px;
}

#lista {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: auto;
    padding: 20px;
    margin-top: 50px;
}

#lista a {
    text-align: center;
    margin: 25px 0;
}

.navigation {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 50px;
}

.navigation p {
    font-size: 16px;
    text-align: center;
    font-weight: 300;
}

.navigation a {
    font-weight: 400;
    margin-bottom: 2px;
    border-bottom: 1px solid #D3D3D3;
}

.navigation a:hover {
    font-weight: bold;
    margin-bottom: 4px;
    border-bottom: 3px solid #D3D3D3;
}

#me {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#me img {
    width: 200px;
    height: auto;
    margin-bottom: 25px;
    border-radius: 50%;
    box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 2);
}

.quote {
    padding-left: 30px;
    border-left: 1px solid #D3D3D3;
    font-weight: 300;
    font-style: italic;
}

.summary {
    text-align: right;
    padding-top: 10px;
    border-top: 1px solid #D3D3D3;
    font-size: 15px;
    font-style: italic;
}

footer {
    display: flex;
    align-items: center; 
    justify-content: center;
    padding: 30px;
    margin: 3em 0 5em 0;
}

.social {
    text-decoration: none;
    padding: 4px;
}

.social:hover {
    font-weight: 700;
}

/* Stil za mobilne uređaje */
@media only screen and (max-width: 600px) {

    h1 {
        padding-bottom: 25px;
    }

    .post {
        width: 90%;
        font-size: 17px;
    }

    span {
        width: 35px;
        height: 35px;
    }

    .sidebar.open {
        width: 100%;
    }

    .logo {
        width: 35px;
        height: 35px;
    }

}