*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.navbar {
    display: flex;
    justify-content:space-between;
    align-items: center;
    background-color: #41548e;
    padding: 16x;
    margin: 0;
    position: top;
    width: 100%;
    color: #FFFFFF;
}

.icons {
    padding: 8px;
    height: 32px;
    width: 32px;
    display: flex;
    align-items: center;
}

.rotate {
    rotate: 30deg;
}

.left, .right {
    display: flex;
}

.spacing {
    margin-block: 32px;
}

.pink {
    background-color: #FF1381;
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    gap: 8px;
}

.yellow {
    background-color: #F7C34A;
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    gap: 8px;
}

.blue {
    background-color: #41B8E2;
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    gap: 8px;
}

#image {
    width: 100%;
    aspect-ratio: 2/1;
    object-fit: cover;
    object-position: center;
}

.text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 8px 16px;
}

h2, h1 {
    font-family: "Fontdiner Swanky", serif;
    font-weight: 400;
    font-style: normal;
    font-size: auto;
}

.life-savers-bold {
    font-family: "Life Savers", serif;
    font-weight: bold;
    font-style: normal;
    align-content: center;
    display: flex;
    flex-wrap: wrap;
}

.button {
    border-radius: 8px;
    width: 200px;
    height: 32px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    border: 2px solid white;
    color: white;
}

.button:hover{
    opacity: 75%;
}

footer {
    background-color: #41548e;
    padding: 16px;
    color: white;
}

.image-container {
    position: relative;
    width: 100%;
    max-height: 128px;
}

#banner {
    display: flex;
    width: 100%;
    max-height: 128px;
    aspect-ratio: 2/1;
    object-fit: cover;
    object-position: center;
    align-items: center;
}

.overlay-text-pink {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(255, 255, 255);
    -webkit-text-stroke: 1px #FF1381;
    text-shadow: -4px 4px 2px #000000;
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    font-family: "Fontdiner Swanky", serif;
    font-weight: 400;
}

.overlay-text-yellow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(255, 255, 255);
    -webkit-text-stroke: 1px #F7C34A;
    text-shadow: -4px 4px 2px #000000;
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    font-family: "Fontdiner Swanky", serif;
    font-weight: 400;
}

#product-homepage{
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   justify-items: center;
   column-gap: 16px;
   margin-bottom: 24px;
}

.product{
    width: 120px;
    height: 120px;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center;
    margin-top: 48px;
    display: flex;
    flex-wrap: wrap;
}

.centering{
    justify-items: center;
    
}

#space{
    align-items: center;
    display: flex;
    flex-direction: column;
    margin-top: 8px;
    row-gap: 8px;
    max-width: 200px;
    text-align: center;
}

.shop_button_pink{
    height: 40px;
    width: auto;
    padding-inline: 16px;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #FF1381;
    color: white;
}

.shop_button_yellow{
    height: 40px;
    width: auto;
    padding-inline: 16px;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #F7C34A;
    color: white;
}

#pricetag{
    font-weight: normal;
    font-size: 12px;
}

@media screen and (min-width:700px) {
    .pink, .yellow, .blue {
        display: flex;
        flex-direction: row;
        grid-row: 1fr;
        padding: 16px;
    }

    #image {
        max-width: 500px;
        margin-inline: 48px;
    }

    #pricetag{
        font-weight: normal;
        font-size: 12px;
    }

    h2 {
        font-size: 48px;
    }

    h1 {
        font-size: 52px;
    }

    .text {
        gap: 20px;
    }

    .button {
        border-radius: 8px;
        width: 250px;
        height: 48px;
    }

    .icons {
        padding: 8px;
        height: 48px;
        width: 48px;
    }

    #product-homepage{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        justify-items: center;
        column-gap: 16px;
    }

    .product{
        width: 175px;
        height: 175px;
    }

    #pricetag{
        font-weight: normal;
        font-size: 12px;
    }
}

@media screen and (min-width: 900px) {
    #pricetag{
        font-weight: normal;
        font-size: 12px;
    }

    #product-homepage{
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        justify-items: center;
        column-gap: 16px;
    }

    
}