@import url(/_assets/tmp/layout.css);

#section-banner {
    position: relative;
    width: 100%;
    min-height: 20dvh;
    padding: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

#background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: -1;
}

.background-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#background-cover-hero {
    background: linear-gradient(rgba(255,255,255,0.8), rgba(255, 255, 255, 1) 70%);
}

#container-banner {
    text-align: center;
}

.web-title {
    text-transform: uppercase;
    line-height: 1.5;
    font-size: 2rem;
    font-family: Montserrat-Black, sans-serif;
    font-weight: 900;
    color: var(--dark-color);
}

@media (max-width: 1200px) {
    #section-banner {
        min-height: 30dvh;
    }
    
    #container-banner {
        min-width: 0;
        display: flex;
        flex-direction: column;
        height: auto;
        padding-top: 4rem;
        width: 90%;
        gap: 2rem;
    }

    #web-title {
        text-align: center;
        font-size: 1.5rem;
    }
}

@media (max-width: 768px){
    #container-banner {
        padding-top: 5rem;
    }

    
    #section-banner {
        min-height: 0;
        padding: 2rem 0 0 0;
    }
}

.hr-line {
    margin: 2rem 0;
}

/* -------------------------------------------------------------- Products*/

#section-types {
    padding: 3rem 0;
}

.text {
    font-size: 1.1rem;
    line-height: 1.5;
    text-align: justify;
}

#container-products {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.product-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1.5rem;
}

.product-image {
    width: 30%;
    aspect-ratio: 5/4;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.product-image .contain {
    object-fit: contain;
}

.product-image img:hover {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
}

.product-image:hover ~ .product-text .product-title {
    color: var(--alternate-color-2);
}

.product-title:hover {
    color: var(--alternate-color-2);
}

.product-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: .5rem;
    width: 70%;
}

.product-title {
    text-transform: uppercase;
    color: var(--tertiary-color);
    font-size: 1.5rem;
    font-weight: 900;
}

.product-certification {
    display: flex;
    flex-direction: row;
    height: 4rem;
    margin-bottom: 1rem;
    gap: .5rem;
}

.certificate {
    height: 100%;
    object-fit: cover;
}

.product-link {
    color: var(--tertiary-color);
    display: block;
    width: 100%;
    font-weight: 900;
}

.product-link:hover {
    color: var(--alternate-color-2);
}

@media (max-width: 700px){
    .product-item {
        flex-direction: column;
        gap: .7rem;
        border-bottom: 1px solid #aaa;
        padding-bottom: 3rem;
    }

    .product-item:last-of-type {
        border-bottom: none;
        padding-bottom: 0;
    }

    .product-image,
    .product-text {
        width: 100%;
    }

    
}

/* ========================================================== lainnya*/

#container-lainnya {
    padding: 2rem 0;
}

#list-lainnya {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1%;
    padding: 0 auto;
}

.list {
    min-width: 32%;
    width: 32%;
    margin-bottom: 1rem;
}

.title {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.title-head {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.type {
    color: var(--secondary-color);
    display: block;
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.5;
    border-bottom: 1px solid #333333aa;
    padding-bottom: .25rem;
    margin-bottom: .5rem;
    width: 90%;
}

.type:hover {
    cursor: pointer;
    color: var(--alternate-color-2);
}

.items {
    width: fit-content;
}

.item {
    line-height: 1.5rem;
    display: block;
    color: #333;
    width: fit-content;
}

.item:hover {
    cursor: pointer;
    color: var(--alternate-color-2);
}

#type-lainnya {
    margin: 1rem 0 2rem 0;
}

@media (max-width: 850px){
    .list {
        min-width: 49%;
        width: 49%;
    }
}

@media (max-width: 768px){
    .list {
        min-width: 49%;
        width: 100%;
    }
}

/* ================================================================================================================ */

#section-closing {
  padding-bottom: 3rem;
  text-align: center;
}

#closing-statement {
  text-align: center;
  margin: 3rem auto 2rem auto;
  width: 80%;
  display: block;
}

#closing-button {
  border: 1.5px solid var(--primary-color);
  color: var(--primary-color);
  background-color: white;
  font-weight: 600;
  padding: 10px 35px;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

#closing-button:hover {
  background-color: var(--primary-color);
  color: white;
}