body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Rubik', sans-serif;
    scroll-behavior: smooth;
}

/* HEADER */

.donuts-head-container {
    background-color: #fce4de;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0em 0em 0em 0em;
    font-size: 0.8em;
}

.donuts-head-container img {
    height: 5em;
}

.donuts-header-navigation nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fce4de;
    height: 5em;
    padding: 0 4.8em;
    position: relative;
    font-size: 0.7em;
}

.main-nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 50px;
    margin: 0em;
    padding: 0em;
}

.main-nav-link:link,
.main-nav-link:visited {
    display: inline-block;
    text-decoration: none;
    color: #2c1717;
    font-weight: 500;
    font-size: 1.8em;
    transition: all 0.3s;
}

.main-nav-link:hover,
.main-nav-link:active {
    color: #000000;
}

@media only screen and (max-width: 668px) { 
    .donuts-header-navigation nav {
        padding: 0em;
    }

    .main-nav-list {
        gap: 30px;
        font-size: 0.9em;
    }
}

@media only screen and (max-width: 300px) { 
    .main-nav-list {
        gap: 10px;
    }
}

/* BODY */

.donuts-body {
    background-image: url('images/donuts-background.jpeg');
    background-size: cover;
    background-position: top;
    background-repeat: repeat;
    width: 100%;
    height: 100vh;
    margin: 0;
}

.donuts-body-container {
    /* margin: 4em 6em; */
    /* padding: 0em 0em 4em 0em; */
    border-radius: 16px;
    text-align: center;
}

.dripping-choc {
    background-image: url('images/dripping-choc.png');
    background-size: cover;
    background-position: top;
    background-repeat: repeat-x;
    padding: 4em;
    border-radius: 16px;
}

.donuts-body-container h2 {
    text-transform: uppercase;
    font-size: 4em;
    font-weight: 800;
    color: #f7a2bf;
    margin: 0em 1em 0.5em 1em;
}

.our-donuts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 0em;
    row-gap: 4em;
    margin: 0em 4em;
    align-items: center;
    justify-items: center;
}

.donuts-menu img {
    width: 40%;
    background-color: #fce4de;
    padding: 2em 2em;
    border-radius: 16px;
}

.donut-type img {
    width: 50%;
    height: auto;
    transition: transform 1s ease-in-out;
}

.donut-type img:hover {
    transform: rotate(360deg);
}

.type-text {
    width: 50%;
}

.type-text h3 {
    font-size: 2em;
    font-weight: 800;
    color: #2c1717b1;
    margin: 0em;
    text-transform: uppercase;
}

.type-text p {
    font-size: 1.1em;
    line-height: 1.4;
}

.donuts-body h1 {
    font-size: 3em;
    text-align: center;
    text-transform: uppercase;
}

.donuts-menu {
    margin: 2em 0em;
    display: flex;
    justify-content: center;
}

.donuts-menu img {
    width: 40%;
    background-color: #fce4de;
    padding: 2em 2em;
    border-radius: 16px;
}

@media only screen and (max-width: 900px) {
    .donut-type img {
        width: 85%;
    }
}

@media only screen and (max-width: 700px) {
    .dripping-choc {
        padding: 3em;
    }

    .donuts-body-container {
        margin: 3em 2em;
        padding: 0em 0em 0em 0em;
    }

    .donuts-body-container h2 {
        font-size: 2.5em;
    }

    .our-donuts {
        grid-template-columns: repeat(1, 1fr);
        column-gap: 0em;
        row-gap: 1em;
        margin: 2em 2em 0em 2em;
    }

    .donut-type:nth-child(2) {
        grid-row: 1;
    }

    .donut-type:nth-child(6) {
        grid-row: 5;
    }

    .donut-type img {
        width: 40%;
    }

    .type-text h3 {
        font-size: 1.5em;
    }

    .type-text p {
        font-size: 1em;
    }

    .type-text {
        margin: 0em 0em 2em 0em;
    }

    .donuts-menu img {
        width: 100%;
        padding: 1em 1em;
    }
}

@media only screen and (max-width: 400px) {
    .donuts-body-container h2 {
        font-size: 2em;
    }

    .our-donuts {
        margin: 2em 0em 0em 0em;
    }

    .type-text {
        width: 70%;
    }

    .type-text p {
        font-size: 0.9em;
    }

    .donut-type img {
        width: 50%;
    }
}

/* FOOTER */

#donuts-footer {
    background: #ffe9e3e6;
    padding: 2em 2em;
}

#donuts-footer .donuts-footer-container {
    width: 100%;
    max-width: 34.375em;
    margin: auto;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    column-gap: 5.5em;
    row-gap: 2em;
}

#donuts-footer .donuts-logo-group {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    column-gap: 15px;
}

#donuts-footer .donuts-logo-group {
    margin-bottom: 1em;
}

#donuts-footer .donuts-logo {
    width: clamp(13.125em, 8vw, 15em);
    height: auto;
    display: block;
    margin: 0em 0em 1em 0em;
}

#donuts-footer .donuts-logo-img {
    width: 100%;
    height: auto;
}

.icon {
    text-decoration: none;
    border-bottom: none;
    position: relative;
}

.icon:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    text-transform: none !important;
    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
}

.icon>.label {
    display: none;
}

.icon.brands:before {
    font-family: 'Font Awesome 5 Brands';
}

.icon.style2 {
    -moz-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
    -webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
    -ms-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
    color: inherit;
    width: 2em;
    height: 2em;
    background-color: #2c171754;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: transform 0.3s, background-color 0.3s;
}

.icon.style2:hover,
.icon.style2:active {
    background-color: #edb6ba;
    transform: translateY(-0.1875em);
}

ul.icons {
    cursor: default;
    list-style: none;
    padding-left: 0;
    margin: 0em 0 0em 2em;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 5px;
}

ul.icons li {
    display: inline-block;
    padding: 0em 0 0 0em;
}

.icons li.hidden {
    display: none;
}

#donuts-footer .donuts-social-img {
    height: 0.8125em;
    width: auto;
    display: block;
}

#donuts-footer .donuts-nav {
    padding: 0;
    margin: 0;
}

#donuts-footer .donuts-nav-li {
    list-style: none;
    margin: 0;
    color: var(--bodyTextColor);
}

#donuts-footer .donuts-header {
    font-size: 1em;
    line-height: 1.5em;
    font-weight: 700;
    margin-bottom: 0.5em;
    position: relative;
    display: block;
}

#donuts-footer .donuts-nav-link {
    font-size: 1em;
    text-decoration: none;
    line-height: 1.5em;
    color: var(--bodyTextColor);
    position: relative;
}

#donuts-footer .donuts-nav-link:before {
    content: "";
    width: 0%;
    height: 0.125em;
    background: var(--bodyTextColor);
    opacity: 1;
    position: absolute;
    display: block;
    bottom: -0.125em;
    left: 0;
    transition: width 0.3s;
}

#donuts-footer .donuts-nav-link:hover:before {
    width: 100%;
}

@media only screen and (min-width: 668px) {
    #donuts-footer .donuts-footer-container {
        max-width: 80em;
        row-gap: 0;
        column-gap: clamp(2.75em, calc(6%), 5.5em);
    }

    #donuts-footer .donuts-logo-group {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    #donuts-footer .donuts-logo-group {
        margin-bottom: 3em;
    }

    #donuts-footer .donuts-social {
        flex-direction: row;
        position: relative;
        top: auto;
        right: auto;
    }
}

/* Small Desktop - 1024px */
@media only screen and (min-width: 1024px) {
    #donuts-footer .donuts-footer-container {
        justify-content: flex-end;
    }

    #donuts-footer .donuts-logo-group {
        width: auto;
        margin: 0;
        margin-right: auto;
        flex-direction: column;
    }

    ul.icons {
        margin: 0em 0em 0em 0em;
    }

    #donuts-footer .donuts-logo-img {
        margin-bottom: 1em;
    }

    #donuts-footer .donuts-nav {
        margin-top: 0.75em;
    }
}
