:root {
    --off-white: hsl(36, 100%, 99%);
    --greyish-blue: hsl(233, 8%, 79%);
    --dark-grayish: hsl(236, 13%, 42%);
    --very-dark-blue: hsl(240, 100%, 5%);
    --soft-orange: hsl(35, 77%, 62%);
    --soft-red: hsl(5, 85%, 63%);
}

body {
    padding: 0;
    margin: 0;
}

@font-face {
    font-family: 'myFont';
    src: url('/assets/fonts/Inter-VariableFont_slnt\,wght.ttf')format(truetype);
    font-weight: 400;
}
@font-face {
    font-family: 'myFont';
    src: url('/assets/fonts/Inter-VariableFont_slnt\,wght.ttf')format(truetype);
    font-weight: 700;
}
@font-face {
    font-family: 'myFont';
    src: url('/assets/fonts/Inter-VariableFont_slnt\,wght.ttf')format(truetype);
    font-weight: 800;
}

* {
    box-sizing: border-box;
    font-family: 'myFont';
}

main {
    background: var(--off-white);
    padding: 20px;
}

section {
    margin: 0;
    margin: 50px 0;
}

header {
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0px;
    background: var(--off-white);
    padding: 20px 0;
    width: 100%;
}

nav {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    color: var(--dark-grayish);
}

.mobile-menu p {
    margin-bottom: 40px;
}

nav p, .mobile-menu p {
    cursor: pointer;
}
nav p:hover, .mobile-menu p:hover {
    color: var(--soft-orange);
}
.icon-menu-image-container {
    cursor: pointer;
}

.item-1 img {
    width: 100%;
}

.item-2, .item-3 {
    height: fit-content;
}
.item-2 p {
    font-weight: 800;
    font-size: 3.5rem;
}

.item-3 p {
    line-height: 1.5;
    color: var(--dark-grayish);
}

.item-3 button {
    background: var(--soft-red);
    border: none;
    color: var(--very-dark-blue);
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    padding: 20px 35px;
    letter-spacing: 5px;
    margin: 20px 0;
    cursor: pointer;
}
.item-3 button:hover {
    background: var(--very-dark-blue);
    color: var(--off-white);
}

.item-4 {
    background: var(--very-dark-blue);
    padding: 20px;
    margin: 50px 0;
}

.item-4-heading {
    color: var(--soft-orange);
    font-weight: 800;
    font-size: 2.5rem;
    margin: 10px auto;
}

.item-4-list {
    color: var(--off-white);
    padding: 20px 0;
}

.item-4-list-heading {
    font-weight: 800;
}
.item-4-list-heading:hover {
    color: var(--soft-orange);
    cursor: pointer;
}

.list-1, .list-2 {
    border-bottom: 0.5px solid var(--off-white);
}

.item-4-list p {
    color: var(--greyish-blue);
    line-height: 1.5;
    width: 100%;
}

.inactive {
    display: none;
}

.item-5 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
}

.item-5-list {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 20px;
}

.item-5-image-container>img, .item-5-image-container {
    width: 120px;
}

.item-5-list-info {
    width: 100%;
}

.item-5-list-info h3 {
    color: var(--soft-red);
    font-size: 3rem;
    margin: 10px 0;
}

.item-5-list-info h4 {
    font-weight: 800;
    font-size: 1.2rem;
    margin: 10px 0;
}
.item-5-list-info:hover {
    color: var(--soft-red);
    cursor: pointer;
}

.item-5-list-info p {
    line-height: 1.5;
    color: var(--dark-grayish);
    margin: 10px 0;
}

.mobile-menu {
    background: var(--off-white);
    width: 350px;
    height: 100vh;
    padding: 30px;
    position: absolute;
    top: 0;
    transform: translateX(50%);
    box-sizing: border-box;
    overflow-x: hidden;
}

.mobile-menu p {
    z-index: 2;
    font-weight: 500;
    font-size: 1.5rem;
}

.menu-close {
    background: var(--off-white);
    border: none;
    cursor: pointer;
    display: block;
    transform: translateX(250px); 
}



@media screen and (min-width: 700px) {

    main {
        padding: 0 150px;
    }

    header {
        width: 100%;
    }

    .items-container {
        display: grid;
        grid-template-rows: repeat(3, auto);
        grid-template-columns: repeat(3, auto);
        gap: 20px;
        margin: 0 auto;
    }
    
    .items.item-1 {
        grid-row: 1;
        grid-column: 1 / 3;
        margin-bottom: 0;
        height: fit-content;
    }
    
    .item-2 {
        grid-row: 2;
        grid-column: 1;
        margin: 0;
        height: fit-content;
    }
    .item-2 p, .item-3 p {
        margin: 0;
    }
    
    .item-3 {
        grid-row: 2;
        grid-column: 2;
        height: fit-content;
    }
    
    .item-4 {
        grid-row: 1 / 3;
        grid-column: 3;
        margin: 0;
        height: fit-content;
    }
    
    .item-5 {
        grid-row: 3;
        grid-column: 1 / 4;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        height: fit-content;
    }
    
    .item-5-list-info {
        min-width: 120px;
    }
}