
/* GENERIC CSS FOR ALL 3 PAGES */
body{
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    min-height: 100vh;
    box-sizing: border-box;
}

.template {
    background-color: rgb(255, 255, 255);
    aspect-ratio: 8.5 / 11;
    max-width: 800px;
    width: 90%;
    border: solid 1px black;
    margin-top: 20px;
    position: relative;
}

/* START OF CSS FOR LAYOUT 1 */
.box{
    /* background-color: rgba(0, 0, 0, 0.1);  */
    /* Light gray for visibility */
    background-color: white;
    width: 82.35%; /* 7in ÷ 8.5in */
    height: 63.63%; /* 7in ÷ 11in */
    position: absolute;
    top: 13.6%; /* 1.5in from the top */
    left: 8.8%; /* 0.75in from the left */
    border: solid 1px black;
    display: grid;
    grid-template-columns: auto auto auto;

    /* adjusting the size of the template */
    grid-template-columns: 10fr 1fr 10fr;
    grid-template-rows: 20% 70% 10%;

    /* adjusting for text */
    font-family: pt serif;
    font-size: 8pt;
}

.grid{
    background-color: white;
    /* border: solid 1px black; */
}
.templateText{
    font-family: helvetica;
    font-size: 10pt;
    line-height: 1.5;
    position: absolute;
    left: 8.8%; /* 0.75in from the left */
    top:77.27% ; /* 8.5in from the top */
}

.box1 {
    grid-column: 1 / span 3;
    text-align: center;
    align-self: end;
}

.boxr{
    text-align: right;
}
/* END OF CSS FOR LAYOUT 1 */

/* START OF CSS FOR LAYOUT 2 */
.boxx{
    background-color: white;
    /* Light gray for visibility */
    width: 82.35%; /* 7in ÷ 8.5in */
    height: 63.63%; /* 7in ÷ 11in */
    position: absolute;
    top: 13.6%; /* 1.5in from the top */
    left: 8.8%; /* 0.75in from the left */
    border: solid 1px black;
    display: grid;
    grid-template-columns: auto auto auto;

    /* adjusting the size of the template */
    grid-template-columns: 3fr 7fr 0.5fr 10fr;
    grid-template-rows: 15% 15% 47% 23% ;

    /* adjusting for text */
    font-family: "Montserrat", sans-serif;
    font-size: 7.5pt;
}

/* .grids{
    border: solid 1px black;
} */

.boxx1{
    grid-row: 1/-1;
    grid-column: 1;
}

.boxx2{
    grid-column-end: span 3;
}
.bottom{
    align-self: end;
    font-weight: 600;
    font-style: italic;
    text-align: right;
    width: 82%;
}

.boxxr{
    text-align: right;
}

.boxxb{
    width: 82%;
    text-align: right;
}

.bold{
    font-weight: 800;
}

.lessBold{
    font-weight: 600;
}

/* START CODE FOR LAYOUT 3 */
.box33{
    background-color: #2D2624;
    /* Light gray for visibility */
    width: 82.35%; /* 7in ÷ 8.5in */
    height: 63.63%; /* 7in ÷ 11in */
    position: absolute;
    top: 13.6%; /* 1.5in from the top */
    left: 8.8%; /* 0.75in from the left */
    border: solid 1px black;

    /* adjusting for text */
    position: relative;
}

.logo{
    width: 100%;   /* Stretches to fit the width */
    height: 100%;  /* Stretches to fit the height */
    object-fit: contain;
    object-position: top;
}

.overlay{
    position: absolute;
    width: 82.35%; /* 7in ÷ 8.5in */
    height: 63.63%;
    position: absolute;
    top: 13.6%; /* 1.5in from the top */
    left: 8.8%; /* 0.75in from the left */
    border: solid 1px rgb(130, 27, 27);
    /* background-color: #2D2624; */
    z-index: 1000;

    display: grid;
    grid-template-columns: auto auto auto auto auto;
    grid-template-columns: 1.74fr 2fr 0.5fr 2.5fr 2.5fr;
    grid-template-rows: 65% 17.5% 17.5%;
    /* background-color: white; */
    font-family: "Baskervville";
    font-size: 5.2pt;
}

.overlayText{
    border: solid black 1px;
    /* background-color: white; */
}

.overBox1{
    margin-top: 60%;
    height: 55%;
    padding-left: 8px;
    border: none;
    background-color: #2D2624;
    color: #8C7C74;
}

.overBox2{
    margin-top: 15%;
    padding-left: 8px;
    height: 25%;
    width: 90%;
    border: none;
    background-color: none;
    color: #8C7C74;
}

.overBox3{
    border: none;
}

.overBox4{
    margin-top: 110%;
    padding-left: 65px;
    border: none;
    color: #8C7C74;
}

.overBox5{
    margin-top: 208%;
    border: none;
    text-align: right;
    padding-right: 8px;
    color: #8C7C74;
}

#overbox6{
    grid-column-end: span 5;
    font-family: "Baskervville";
    font-size: 18pt;
    padding-left: 9%;
    padding-top: 7%;
    border: none;
    color: #D3BEB5;
}

#overbox7{
    grid-column-end: span 5;
    font-family: "Bodoni Moda";
    font-size: 13pt;
    padding-left: 19%;
    padding-top: 2%;
    /* font-style: italic; */
    border: none;
    color: #8C7C74;
}

#baby{
    font-size: 5.2pt;
    text-align: right;
    /* border: solid black 1px; */
    padding-right: 8px;
    margin-top: 3%;
    color: #8C7C74;
}

.text-bold{
    font-weight: 400;
    font-family: Bodoni Moda;
}

.grey{
    color: #D3BEB5;
}

.skinny{
    font-weight: 200;
}