@charset "UTF-8";

html {
    font-size: 9pt;
}
@media (max-width: 1500px) {
    html {
        font-size: 8pt;
    }
}
body {
    font-family: 'Shippori Mincho', serif;
    line-height: 1.7;
    color: black;
    background-color: #b2afaf;
}
a {
    text-decoration: none;
    color: black;
}
a:hover {
    color:darkcyan;
}
img {
    max-width: 100%;
}

/* GRID
--------------------------------*/
.grid {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vh;
    max-width: 1500px;
    max-height: 800px;
    min-width: 300px;
    min-height: 180px;
    margin: auto;
    /* border: 1px solid #d0d0d0; */
    /* padding: 40px; */
    display: grid;
    grid-template-columns: 30px 85fr 100fr 85fr 30px;
    grid-template-rows: 50px 1fr 1fr 1fr 1fr 70px;
}
@media (max-width: 1500px) {
    .grid {
        grid-template-rows: 20px 1fr 1fr 1fr 1fr 30px;
    }
}
@media (max-width: 750px) {
    .grid {
        grid-template-columns: 20px 1fr 3fr 1fr 20px;
    }
}
.grid-top {
    grid-row: 1 / 2;
    grid-column: 1 / 6;
    border-top: 1px solid #555555;
}
.grid-bottom {
    grid-row: 6 / 7;
    grid-column: 1 / 6;
    border-top: 1px solid #555555;
}
.grid-left {
    grid-row: 1 / 6;
    grid-column: 1 / 2;
    border-left: 1px solid #555555;
}
.grid-right {
    grid-row: 1 / 6;
    grid-column: 5 / 6;
    border-right: 1px solid #555555;
}

.grid-header {
    grid-row: 2 / 3;
    grid-column: 3 / 4;
    padding-top: 30px;
    padding-bottom: 50px;
}
.grid-main {
    grid-row: 3 / 4;
    grid-column: 3 / 4;
    justify-self: center;
}
.contact {
    grid-row: 3 / 4;
    grid-column: 2 / 5;
    align-self: center;
    justify-self: center;
}
.stockists {
    grid-row: 3 / 4;
    grid-column: 2 / 5;
    align-self: center;
    justify-self: center;
}
.grid-about {
    grid-row: 3 / 5;
    grid-column: 2 / 5;
    align-self: center;
    justify-self: center;
}
.grid-renatus {
    grid-row: 3 / 4;
    grid-column: 1 / 6;
    align-self: center;
    justify-self: center;
}
.grid-material {
    grid-row: 3 / 4;
    grid-column: 2 / 5;
    align-self: center;
    justify-self: center;
}
@media (max-width: 750px) {
    .grid-material {
        grid-column: 3 / 4;
    }
}
.grid-dyed {
    grid-row: 4 / 5;
    grid-column: 2 / 5;
    align-self: center;
    justify-self: center;
}
@media (max-width: 750px) {
    .grid-dyed {
        grid-column: 3 / 4;
    }
}

/* .grid-renatus {
    grid-row: 3 / 4;
    grid-column: 4 / 5;
    align-self: center;
    justify-self: right;
}
@media (max-width: 750px) {
    .grid-renatus {
        grid-row: 4 / 5;
        grid-column: 3 / 4;
        align-self: flex-start;
        justify-self: center;
        padding: 20px;
    }
} */

.grid-footer {
    grid-row: 4 / 5;
    grid-column: 3 / 4;
    align-self: flex-end;
}
.grid-footer2 {
    grid-row: 5 / 6;
    grid-column: 3 / 4;
    align-self: flex-end;
    justify-self: center;
    padding: 20px;
}
/* HEADER
--------------------------------*/
.logo {
    display: block;
    margin: auto;
    text-align: center;
    width: 5vw;
    max-width: 80px;
    min-width: 60px;
}
.main-nav {
    display: flex;
    text-transform: none;
    margin-top: 40px;
    list-style: none;
    letter-spacing: 0.04em;
}
/* @media (max-width: 1500px) { */
@media (max-width: 1170px) {
    .main-nav {
        display: list-item;
    }
}
.main-nav li {
    flex: auto;
    text-align: center;
    margin-top: 4px;

}


/* MAIN
--------------------------------*/

/* ABOUT
--------------------------------*/
.about p{
    flex: auto;
    text-align: center;
}
@media (max-width: 750px) {
    .about p {
        font-size: 7pt;
    }
}

/* MATERIAL AND DYED
--------------------------------*/
.materialndyed {
    display: flex;
    text-transform: none;
    margin-bottom: 40px;
    align-items: flex-start;
    gap: 30px;
}
@media (max-width: 750px) {
    .materialndyed {
        display: list-item;
        list-style: none;
    }
}
.materialndyed img {
    width: 20vw;
    min-width: 250px;
    max-width: 300px;
    height: auto;
}
@media (max-width: 750px) {
    .materialndyed img {
        max-width: none;
        width: 100%;
    }
}
.materialndyed div {
    width: 25vw;
}
@media (max-width: 750px) {
    .materialndyed div {
        width: 100%;
    }
}

/* CONTACT
--------------------------------*/
/* .contact {
    color: white;
}
.contact a {
    color: white;
} */
.contact a:hover {
    color:darkcyan;
}
/* STOCKISTS
--------------------------------*/
.astockist {
    padding: 10px;
}
.stockists p {
    color: rgb(128, 128, 128);
}
.store {
    color: black;
    text-decoration-line: underline;
    margin-bottom: 4px;
}


/* RENATUS
--------------------------------*/
.renatus-link {
    text-decoration: underline;
    text-align: center;
}
.sentence-renatus{
    /* text-align: center; */
    padding-left: 16px;
    padding-right: 16px;
}

/* FOOTER
--------------------------------*/
.footer {
    /* display: block;
    margin: auto; */
    text-align: center;
}
#instagram {
    max-width: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}
#copyrights {
    font-size: 4pt;
    /* display: inline-block; */
}



h1 {
    font-size: 9pt;
    font-weight:normal;
    color:darkcyan;
}
@media (max-width: 1500px) {
    h1 {
        font-size: 8pt;
    }
}


/* FOR DEBUG
--------------------------------*/
/* .grid-sec {
    border: 1px solid #000;
} */