@font-face {
    font-family: bloodbath;
    src: url("fonts/kindsans.otf");
}

* {
    margin: 0px;
    padding: 0px;
    list-style: none;
    text-decoration: none;
    font-family: bloodbath;
    overflow-x: hidden;
    scroll-behavior: smooth;
    color: #c7c7c7;
}

html,
body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-color: #f9f9f9;
}


header {
    width: 100%;
    height: 30px;
    background-color: #222222;
    color: #30303054;
}

.main_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.main {
    width: 50%;
    background-color: #30303054;
    max-width: 960px;
}

.main2 {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 50%;
    max-width: 960px;
}

.left_side {
    float: left;
    margin-top: 25px;
    width: 75%;
    border: outset;
    border-radius: 2px;
    border-width: 3px;
    border-color: #22222248;
    padding-bottom: 25px;
    padding-right: 15px;
}

.left_side h2 {
    color: black;
    padding-left: 30px;
    padding-top: 30px
}

.left_side p {

    padding-left: 25px;

}

.left_side h4 {
    color: rgb(24, 24, 24);
    padding-left: 50px;
    padding-top: 5px;
}

.right_side {
    margin-top: 25px;
    width: 25%;
}

.right_side h2 {
    color: black;
    font-weight: bolder;
    margin-top: 15px;
}

.post h3 {
    margin: 15px 0 0 0;
    color: #1479d0;
}

.post p {
    color: rgb(122, 122, 122);
}

.post h4 {
    color: black;
}

.patPortrait {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.patPortrait img {
    border: inset;
    border-color: black;
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
}

.patPortrait h6 {
    position: absolute;
    bottom: 5px;
    left: 5px;
    margin: 0;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 4px;
    border-radius: 3px;
}

@keyframes scrollDots {
    from {
        background-position: 0 0;
    }

    to {
        background-position: -150px -150px;
    }
}

.top {
    padding-top: 100px;
    padding-bottom: 30px;
    overflow: visible;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.logo_img {
    width: 50vw;
    max-width: 1000px;
    height: auto;
}

h1 {
    font-family: "Rozha One", serif;
    font-weight: 400;
    font-style: normal;
    font-size: xx-large;
    margin-left: 25px;
    margin-top: 25px;
    color: black;
}

h3 {
    margin-left: 25px;
    margin-bottom: 25px;
    color: black;
}

.box {
    width: 100%;
    height: 35px;
    background-color: #4a657c;
    display: flex;
    align-items: center;
}

.nav-shelf {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
    padding: 0;
    margin: 0;
}

.nav-item {
    list-style: none;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 900;
    font-style: normal;
    color: white;
    transition: background-color 0.25s ease-out;
    display: flex;
    align-items: center;
    padding: 0 10px;
    height: 100%;
    font-size: small;
}

.nav-item:hover {
    background-color: #ffffff;
    color: black;
    cursor: pointer;
}

footer {
    margin-top: 50px;
    width: 100%;
    height: auto;
    background-color: #222222;
}

footer .main {
    background-color: #222222;
}

footer h2 {
    margin: 25px;
    color: white;
}

footer h3 {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 400;
    font-style: normal;
    font-size: large;
    color: #1479d0;
    margin-top: 0px;
}

footer p {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 100;
    font-style: normal;
    font-size: medim;
    color: #fafafac2;
    margin-top: 0px;
    margin-bottom: 50px;
}

footer h3 :hover {
    color: #2690ee;
    cursor: pointer;
}


@media (max-width: 1024px) {
    .main {
        width: 75%;
    }

    .main2 {
        width: 75%;
    }

    .patPortrait h6 {

        bottom: 20px;
        left: 15px;

    }
}

@media (max-width: 820px) {
    .main2 {
        gap: 0;
    }

    .right_side {
        display: none;
    }

    .left_side {
        width: 100%;
    }

}

@media (max-width: 762px) {
    .nav-item {
        font-size: x-small;
    }
}


@media (max-width: 656px) {
    .main {
        width: 100%;
    }

    .main2 {
        width: 100%;
    }

    .box {
        justify-content: center;
    }



    .nav-shelf {
        gap: 0;
        display: flex;
        text-align: center;
        justify-content: center;
        align-items: center;
    }
}