html, body {
    height: 100%;
}

body {
    margin: 0;
    display: flex; 
    flex-direction: column;
    background: url(placeholder/bg3.png);
    background-size: cover;
    background-repeat: no-repeat;
    
    font-family: tahoma;
    
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar {
    width: 100%;
    background-color: #f9efef;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2);
    
    
    display: flex;
    align-items: center;
    justify-content: space-between;
    
    padding: 5px 35px;
    box-sizing: border-box;
}

.logo img {
    height: 90px;
    width: auto;
    margin-top: 5px;
}

#sidebar-active {
    display: none;
}

.open-sidebar {
    cursor: pointer;
}

.open-sidebar, .close-sidebar {
    display: none;
}

.nav-links {
    display: flex;
    gap: 100px;
}

.nav-links a {
    font-weight: bold;
    font-size: 22px;
    font-variant: all-small-caps;
    text-decoration: none;
    color: #9e8383;
    
    transition: .5s;
}

.nav-links a:hover {
    color: #d16478;
    transform: scale(1.1);
}

.nav-links a.active {
    color: #d16478;
}

@media (max-width: 850px) {

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 10;
        width: 400px;
        padding: 15px;
        
        background-color: #f9efef;
        border-radius: 25px;
        box-shadow: -5px 0 5px rgba(0,0,0,.2);
        transition: .6s ease-out;
    }
    
    .nav-links a {
        box-sizing: border-box;
        height: auto;
        width: 100%;
        padding: 10px 20px;
        justify-content: flex-start;
    }
    
    .nav-links a:hover {
    color: #d16478;
    transform: scale(1);
    }
    
    .open-sidebar, .close-sidebar {
        display: block;
    }
    
    #sidebar-active:checked ~ .nav-links {
        right: 0;
    }
}


.blogbox {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3);
    
    width: 90%;
    max-width: 800px;
    margin-top: 60px;
    margin-bottom: 100px;
    padding: 35px;
    
    display: flex;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    align-self: center;
    gap: 35px;
}

.blog {
    text-align: center;
    font-size: 20px;
    color:#715353;
    line-height: 2em;
}

h2 {
    font-size: 65px;
    font-variant: small-caps;
    font-weight: bold;
    
    margin-top: 0;
    margin-bottom: 95px;
}

h3 {
    text-align: left;
    font-size: 30px;
}

.blog p {
    margin-top: -20px;
    margin-bottom: 65px;
    text-align: justify;
    hyphens: auto;
    
    font-size: 20px;
}

.blog a {
    color:  #d16478;
}

footer {
    background-color: #f8d7d7;
    box-sizing: border-box;
    position: relative;
    margin-top: auto;
}

footer::before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 22px;
    
    background: url(placeholder/footer.svg);
    background-position-y: bottom;
    background-repeat: repeat-x;
    background-size: 3%;
    
    top: -20px;
    left: 0;
}

.footerbox {
    width: 100%;
}

.socials {
    display: flex;
    justify-content: center;
}

.socials a {
    text-decoration: none;
    color:#c4a1a1;
    
    margin-bottom: 20px;
    margin-top: 20px;
    padding: 2px 10px;
    
    transition: .5s;
}

.socials a:hover {
    transform: scale(1.05);
    color: #d16478;
}

.footernav {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    margin-top: 25px;
    gap: 1rem;
}

.footernav a {
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    font-variant: all-small-caps;
    position: relative;
    color: #c4a1a1;
    padding: 2px 82px;
}

.footernav a:hover {
    color: #d16478;
}

.webname {
    text-align: center;
    color:#c4a1a1;
    
    margin: 0 auto;
    margin-top: 25px;
    margin-bottom: 40px;
}

.webname p {
    font-size: 10px;
}

h4 {
    font-size: 14px;
    margin-bottom: -5px;
    letter-spacing: .2em;
}
