@font-face {
    font-family: 'GillSans';
    src: url('subset-GillSans.woff2') format('woff2'),
        url('subset-GillSans.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --header-color: #feffea;
    --small-text-color: #8d8d89;
    --text-color: #382633;
}

img {
    max-width: 85%;
    display: block;
}


body {
    font-family: 'Gill Sans', sans-serif;
    max-width: 420px;
    margin: auto;
}

h1 {
    font-weight: 900;
    margin: 2.5rem;
    font-size: 30px;
    line-height: 2.2rem;  
}

h3 {
    
    font-weight: 300;
    font-style: italic;
    color: var(--header-color);
}

ol {
    margin-left: 1rem;
}

h4 {
    font-weight: 300;
    margin-bottom: 1.5rem;
}

h1, h4 {
    color: var(--header-color);
    text-align: center;
    text-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

a {
    text-decoration: none;
}

header {
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero_home_img.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    padding: 2rem 1rem;
}

.logo {
    width: 150px;
}

.logo_home {
    width: 120px;
   
}

.upper_section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

button {
    background: linear-gradient(90deg, #f7cb6b, #fba980);
    border: none;
    outline: none;
    padding: 1rem 2rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    font-size: 18px;
    margin: auto;
    margin-bottom: 1.5rem;
}

button img {
    margin-right: 0.5rem;
}

header p {
    color: var(--small-text-color);
    font-size: 12px;
    text-align: center;
    font-weight: 300;
}

.home_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url('../images/content_home_img.jpg');
    padding: 1rem;
}

.home_content .categories {
    background: linear-gradient(45deg, #accbee, #e7f0fd);
    opacity: 0.8;
    padding: 1.5rem;
    width: 100%;
    border-radius: 15px;
   
}

.home_content .categories .cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.home_content .categories .cat:last-child {
    margin-bottom: 1rem;
}

.home_content .categories .cat img {
    margin-bottom: 1rem;
}

.home_content .categories .cat p {
    color: var(--text-color);
}

footer {
    background-color: var(--text-color);
    padding: 1rem;
}

footer a {
    color: var(--header-color);
}

footer p {
    color: var(--header-color);
    text-align: center;
}

.footer_alt {
    padding-top: 2rem;
}


