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

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

footer {
    margin-top: auto;
}

.header, .footer, .main {
    width: 90%;
}

a {
    text-decoration: none
}

a:hover {
    text-decoration: underline;
}

summary::-webkit-details-marker {
    display: none;
}

/* todo refactor to tailwind when it's going to use the feature*/
.header-traveling-button {
    display: flex;
    width: 170px;
    height: 32px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border: 0px;
    border-radius: 50px;
    background: #F5F5F5;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    color: black;
}

.main {
    max-width: 1300px;
    margin: 0 auto;
    justify-content: center;
    padding: 8px;
}


/* grid on article home page need the template this way,
doesn't look that we can replicate with tailwind*/
.grid-template {
    display: grid;
    gap: 16px;
    grid-template:
    "a1 a2 a3" minmax(0px, 1fr)
    "b1 b2 b3";
}

.grid-template-a1 {
    grid-area: a1;
}

.grid-template-a2 {
    grid-area: a2;
}

.grid-template-a3 {
    grid-area: a3;
}

.grid-template-b1 {
    grid-area: b1;
}

.grid-template-b2 {
    grid-area: b2;
}

.grid-template-b3 {
    grid-area: b3;
}

.grid-item {
    margin-top: 48px;
    font-size: 30px;
    max-width: 374px;
}


/* sidebar*/
.sidebar {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 350px;
}

.sidebar-item-selected a {
    color: #de774a;
}

.sidebar-item a:hover {
    color: #de774a;
}

.sidebar-rotate-closed {
    transform: rotate(-90deg);
    transition: transform 1s;
}

.sidebar-rotate-open {
    transform: rotate(0deg);
    transition: transform 1s;
}

/* articles content*/


@media (max-width: 640px) {
    .grid-template {
        grid-template:
    "a1"
    "b1"
    "a2"
    "b2"
    "a3"
    "b3";
    }
}


@media (max-width: 1024px) {
    .grid-container {
        grid-template-columns: auto;
        justify-content: center;
    }

    .sidebar {
        max-width: 90%;
        min-width: 350px;
        z-index: 100;
        position: absolute;
        background-color: white;
        border-radius: 10px 10px 10px 10px;
        box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
        padding: 20px;
    }
}

/* This is for a image that needs to be 100% of the container */
.richtext-image.full-width {
    width: 100%;
    height: auto;
}

/* This is for an image that needs to be aligned to the right */
.richtext-image.right {
    float: right;
}

/* This is for an image that needs to be aligned to the left */
.richtext-image.left {
    float: left;
}

/* This is for an image that needs to be centered */
.richtext-image.align-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.bg-nofie-dark-orange {
    background-color: #833701;
}

.bg-nofie-orange {
    background-color: #f5f5f5;
}

ul {
    list-style-type: disc;
}

ol {
    list-style-type: decimal;
}
