@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

@font-face {
    font-family: "perpeta";
    src: url('../fonts/perpeta.ttf');
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
}

nav {
    background-color: #f5f5f5;
    text-align: center;
}

.nav-inner-container {
    max-width: 960px;
    padding: 15px;
    margin: auto;
    display: flex;
    align-items: center;
}

.nav-inner-container .btn {
    text-decoration: none;
    color: #000;
    border: none;
    font-size: 16px;
    cursor: pointer;
    letter-spacing: 1.3px;
    background-color: #fff;
    padding: 5px 15px 7px;
    border-radius: 5px;
    box-shadow: 0px 2px 2px 0px rgb(0 0 0 / 20%);
}

.nav-inner-container .btn p {
    font-size: 12px;
}

main.inner-page-main {
    padding: 20px 0 50px;
    min-height: calc(100vh - 110px);
}

.home-container {
    min-height: 100vh;
    width: 100%;
    background-image: url('../images/banner.png');
    background-position: top center;
    background-size: cover;
}

.banner-content-container {
    max-width: 1400px;
    height: 100%;
    margin: auto;
    font-family: "perpeta";
    position: absolute;
    min-height: 100vh;
    left: 120px;
    display: flex;
    align-items: center;
}

.banner-content-inner {
    max-width: 400px;
    /* padding-top: 160px; */
}

.banner-content header {
    color: #fff;
    text-align: center;
    margin-bottom: 55px;
}

.banner-content header h1 {
    font-size: 60px; /* 70px; */
}

.banner-content header p {
    font-size: 19px;
    text-transform: uppercase;
    letter-spacing: 5px;
}

.form-container h4 {
    font-size: 13px;
    margin-bottom: 10px;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    font-weight: 400;
}

.form-container {
    margin-bottom: 150px;
}

.form-container form {
    display: flex;
    flex-direction: column;
}

.form-container form input {
    text-align: center;
    background-color: rgba(128,128,128, 0.5);
    border: none;
    padding: 15px;
    font-size: 15px;
    color: #fff;
    margin-bottom: 36px;
    text-transform: uppercase;
}

.form-container .banner-alert {
    color: red;
    margin-top: -36px;
    margin-bottom: 36px;
    font-family: 'Roboto';
    font-weight: bold;
    letter-spacing: 1.2px;
    font-size: 14px;
}

.form-container form button {
    text-align: center;
    background-color: #000;
    color: #fff;
    border: none;
    padding: 10px;
    font-size: 20px;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0px 0px 5px 5px rgba(212,174,94,0.75);
    font-family: "perpeta";
}

.taglines {
    text-align: center;
    color: #fff;
}

.taglines p {
    font-size: 18px;
    margin-bottom: 35px;
    color: #e8e8e8;
    font-family: 'Roboto', sans-serif;
    text-shadow: 3px -1px 5px rgba(0,0,0,1);
    -webkit-text-stroke: 0.2px black;
    -webkit-text-fill-color: white;
    font-weight: bold;
}

.taglines h3 {
    font-size: 12px;
    font-style: italic;
    color: #e8e8e8;
    text-shadow: 3px -1px 5px rgb(0 0 0);
    -webkit-text-stroke: 0.2px black;
    -webkit-text-fill-color: white;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
}

.banner-footer {
    max-width: 1400px;
    color: #fff;
    position: absolute;
    bottom: 36px;
}

.banner-footer p {
    margin-left: 36px;
    color: #a9a9a9;
    text-transform: capitalize;
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
}

.card {
    max-width: 960px;
    margin: auto;
    padding: 15px;
}

.product-info {
    text-align: center;
}

.product-info h3 {
    font-size: 20px;
    font-weight: normal;
    font-family: "perpeta";
}

.product-info p {
    text-align: justify;
    font-size: 18px;
    line-height: 26px;
    color: rgba(0, 0, 0, 0.8);
    margin-top: 15px;
}

.product-gemstones-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
}

.card-image-container {
    max-width: 340px;
    max-height: 340px;
    /* box-shadow: 0px 1px 9px 0px rgb(0 0 0 / 10%); */
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto 20px;
}

.card-image-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.card-divider {
    height: 2px;
    background-color: #D3D3D3;
    margin: 50px auto;
    max-width: 1000px;
}

.gemstone-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px;
    text-decoration: none;
    color: #1F1F1F;
    transition: all 0.2s ease-in-out;
    border-radius: 10px;
    overflow: hidden;
}
.gemstone-row:hover {
    color: #1F3BB3;
}

.gemstone-row .gemstone-img {
    text-align: center;
}

.gemstone-row .gemstone-img img {
    width: 170px;
    height: 170px;
}

.gemstones-container h4 {
    text-align: center;
    margin-bottom: 50px;
}

.gemstone-section .gemstone-header {
    display: grid;
    grid-template-columns: auto 160px auto;
    align-items: center;
    margin: 50px 0;
}

.gemstone-section .gemstone-header .header-line {
    height: 2px;
    width: 100%;
    background-color: #D3D3D3;
}

.gemstone-section h4 {
    text-align: center;
    font-size: 22px;
}

.gemstone-section h5 {
    font-size: 22px;
}

.card-error-container {
    text-align: center;
}

footer {
    background-color: #f5f5f5;
    text-align: center;
    padding: 15px;
}

@media screen and (max-width: 1400px) {

    .form-container {
        margin-bottom: 130px;
    }
}

@media screen and (max-width: 1200px) {
    .banner-content header h1 {
        font-size: 50px;
    }

    .form-container {
        margin-bottom: 100px;
    }
}

@media screen and (max-width: 1024px) { 

    /* .banner-content-inner {
        padding-top: 50px;
    } */
    .banner-content header {
        margin-bottom: 30px;
    }

    .form-container {
        margin-bottom: 70px;
    }
}

@media screen and (max-width: 768px) { 
    .banner-content-container {
        left: 0px;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .banner-content {
        margin-top: -50px;
    }
    .product-gemstones-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
}

@media screen and (max-width: 500px) {
    .banner-content-inner {
        max-width: 300px;
        margin: 0 auto;
    }
    .banner-content header h1 {
        font-size: 42px;
    }

    .form-container {
        margin-bottom: 80px;
    }

    .form-container form input {
        padding: 13px;
    }

    .product-gemstones-container {
        grid-template-columns: 1fr;
    }

    .gemstone-row div:nth-child(2) {
        text-align: center;
    }
}