:root {
    --card_width: 250px;
    --row_increment: 10px;
    --card_border_radius: 16px;
    --card_small: 26;
    --card_med: 33;
    --card_large: 45;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    max-width: 2550px;
    justify-content: center;
    font-family: Merriweather;
    font-weight: 400;
    font-style: normal;
    line-height: 1em;
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: 13px;
    background-color: #fff;
}

.desktop {
    display: flex;
    height: 100svh;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: inherit;
    height: 100%;
    padding: 50px;
}

.navbar-wrapper {
    width: 275px;
}

.content {
    padding: 50px 50px 50px 0px;
    padding-top: calc(50px - 0.5em);
    overflow-y: auto;
    flex: 1;
    height: 100svh;
}

footer {
    text-align: center;
    margin-top: 5px;
    color: #a3a3a3;
}

/* Navbar starts */

#desktop-title {
    font-family: Raleway;
    font-weight: 750;
    font-style: normal;
    text-transform: none;
    letter-spacing: 0em;
    line-height: 1em;
    font-size: 20px;
    display: block;
    margin-bottom: 30px;
    padding-left: 0.2em;
}

.categories {
    font-family: Raleway;
    font-weight: 800;
    font-style: normal;
    text-transform: none;
    letter-spacing: 0em;
    line-height: 2em;
    font-size: 16px;
    display: block;
    margin-bottom: 30px;
}

ul {
    list-style: none;
    list-style-image: none;
    text-decoration: none;
    line-height: 2em;
    text-transform: none;
    letter-spacing: 0.02em;
}

a {
    text-decoration: none;
    color: black;
    padding: 0.2em;
    line-height: 2em;
    cursor: pointer;
}

a:hover {
    color: #a3a3a3;
}

#heading {
    text-decoration: none;
    color: black;
    cursor: pointer;
    padding: 0px;
    margin: 0px;
    line-height: inherit;
}

.sub-nav {
    margin-bottom: 20px;
}

.social-nav {
    display: flex;
    align-items: center;
}

i {
    font-size: 5px;
}

/* Navbar ends */

/* Mobile nav starts */

.menu-header {
    margin-top: 5px;
    display: flex;
    padding-left: 20px;
    padding-right: 20px;
    justify-content: space-between;
    align-items: center;
    height: 40px;
}

#mobile-title {
    font-family: Raleway;
    font-weight: 700;
    font-style: normal;
    text-transform: none;
    letter-spacing: 0em;
    line-height: 1em;
    font-size: 2em;
    display: block;
    margin-bottom: 0px;
    padding-left: 0.3em;
}

.menu-button {
    align-items: center;
    padding-right: 0.2em;
}

#menu-items {
    justify-content: center;
    background-color: #a3a3a3;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

#menu-items a {
    line-height: 2.5em;
}

#menu-items a:hover {
    color: black;
}

.categories-mobile {
    font-family: Raleway;
    font-weight: 800;
    font-style: normal;
    text-transform: none;
    letter-spacing: 0em;
    line-height: 2.5em;
    font-size: 20px;
    display: flex;
    margin-bottom: 20px;
    justify-content: center;
    text-align: center;
    margin-top: 28px;
}

.secondary-nav-mobile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.sub-nav-mobile {
    margin-bottom: 20px;
}

.social-nav-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

#menu-icon {
    font-size: 3em;
    color: #a3a3a3;
}

.bx {
    font-size: 1.7em;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.menu-open {
    transform: rotate(90deg);
}

#about-m {
    font-size: 16px;
}

/* Mobile nav ends */

/* Content starts */

.image-container {
    padding: 0.5em;
    column-count: 3;
}

.image-div img {
    width: 100%;
    margin-bottom: 0.5em;
}

/* Content ends */

/* About starts */

.info-container {
    display: flex;
    gap: 20px;
}

.self-image {
    max-width: 370px;
    height: auto;
}

.self-image img {
    max-width: 370px;
    max-height: auto;
}

.self-desc {
    max-width: 370px;
}

#self-desc-header {
    font-family: Raleway;
    font-weight: 800;
    font-style: normal;
    text-transform: none;
    letter-spacing: 0.01em;
    line-height: 1.2em;
    font-size: 26px;
    display: block;
    margin-bottom: 26px;
    padding-left: 0.2em;
}

#desc-paragraph {
    font-family: Merriweather;
    font-weight: 400;
    font-style: normal;
    text-transform: none;
    letter-spacing: 0.02em;
    line-height: 1.6em;
    font-size: 14px;
    display: block;
    margin-bottom: 14px;
    padding-left: 0.2em;
}

#self-desc-footer {
    font-family: Raleway;
    font-weight: 800;
    font-style: normal;
    text-transform: none;
    letter-spacing: 0.01em;
    line-height: 1.2em;
    font-size: 16px;
    display: block;
    margin-bottom: 26px;
    padding-left: 0.2em;
}

/* About ends */

/* Media */

@media (max-width: 1600px) {
    .image-container {
        column-count: 2;
    }
}

@media (orientation: landscape) {
    .mobile-navbar-wrapper {
        display: none;
    }
}

@media (orientation: portrait) {
    .image-container {
        column-count: 1;
    }
    .navbar-wrapper {
        display: none;
    }
    .content {
        padding: 0px 20px 20px 20px;
    }

    .desktop {
        flex-direction: column;
    }
    .mobile-navbar-wrapper {
        display: block;
    }
    .info-container {
        flex-direction: column;
        align-items: center;
    }

    .self-image {
        max-width: 500px;
        height: auto;
    }

    .self-image img {
        max-width: 100%;
        max-height: auto;
    }

    .self-desc {
        max-width: 100%;
    }
}

/* Media */

/* Selected */
.selected {
    color: #a3a3a3;
}

.selected-m {
    color: white;
}
/* Selected */
