:root {
    --dk-color:#504e80;
    --mid-color:#E4E6C3;
    --lt-color:#F7F7F2;
    --dkest-color:#261C15;
    --accent:#4b7ed7;
    --bg-color:#366D4B;
    --hover-color:#F7F7F2;
    --triangle-blue:#4b7ed7; /* || */
    --triangle-yellow: #d9b056; /* ||| */
    --triangle-darkblue: #425bb2;
    --triangle-brown: #896456; /* | */
    --triangle-tan: #cb9e71; /* |||| */
    --triangle-pink: #d2706b;
    --triangle-green: #319b74; 
    --triangle-dark-green: #1d6c43; 
    --triangle-coneflower: #5763b7; /* | */
    --triangle-orange: #ff7a38; /* faa43d */ /* | */
    --triangle-burgundy: #912e50; /* | */
    --triangle-teal : #57a8ca; /* || */
    --triangle-slate : #566c90; /* | */
    --triangle-purple : #8544c9; /* | */
    --triangle-lime : #6dc759; /* || */

    --blue:#4b7ed7;
    --yellow: #d9b056;
    --darkblue: #425bb2;
    --brown: #896456; 
    --tan: #cb9e71; 
    --pink: #d2706b;
    --green: #319b74; 
    --dark-green: #1d6c43; 
    --coneflower: #5763b7; 
    --orange: #ff7a38; 
    --burgundy: #912e50; 
    --teal : #57a8ca; 
    --slate : #566c90; 
    --purple : #8544c9; 
    --lime : #6dc759; 
}

 @font-face {
  font-family: astalemtim;
  src: url(/fonts/Astalemtim.ttf);
}

h1{
    font-family: astalemtim;
    font-size: xxx-large;
    font-weight: 100;
    padding: 0px;
    margin-bottom: 0%;
}

 header{
    margin: auto;
    line-height: 1.6;
    a{
        color: var(--dkest-color);
        padding: 1px;
        border-radius: 5px;
    }

    a:hover{
        background-color: var(--hover-color);
    }
 }

body{
    margin: auto;
    width: 90%;
    background-image: url(/fabric_tile.png);
    background-size: 1000px;
    background-position: 0%;
}

.leading_container{
    padding-bottom: 10px;
    height: fit-content;
}

.details{
    width: 30%;
    float: left;
    padding: 5px;
    font-size: medium;
    a{
        color: var(--dkest-color);
        border: 2px solid var(--dkest-color);
        padding: 1px;
        border-radius: 5px;
    }

    a:hover{
        background-color: var(--hover-color);
    }
    }

#detail_fill_in p, li {
        font-size: medium;
    }


.photo_box{
    margin: auto;
    max-width: 40%;
}
.main_image{
    width: 90%;
    border: 2px solid rgb(40, 40, 55);
    box-shadow: 3px 3px 0px black;
    border-radius: 5px;
}


.links{
    text-align: left;
    a{
        padding: 3px;
    }
}

.grid-container {
    width: 30%;
    height: fit-content;
    float: right;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 3px;
    .pattern {
        margin: 0rem 0rem 0rem 0rem;
        display: inline-block;
        padding: 1px;
        border-radius: 5px;
        transition: all .25s ease-in-out;

        &:hover {
        transform: scale(1.05);
        };
    img {
       width: 100%;
       border-radius: 5px;
       transition: all 1s ease-in-out;
    }
   }
}

.description{
    margin-top: 10px;
    background-color: rgba(255,255,255,0.8);
    padding: 10px 10px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    box-shadow: rgba(99, 99, 99, 0.5) 0px 2px 8px 0px;
    p{
        font-size: medium;
        margin: 5px;
    }
}

.video_container{
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    max-width: 1280px;
    margin: 0 auto;
}

.video_container iframe {
    position: absolute;
    border: 10px solid red;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


footer{
    text-align: center;
    font-size: 12px;
}

.triangle {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -999;
    width: 0%;
    height: 9%;
    border-right: calc(100vw) solid transparent;
    border-top: calc(90vh) solid var(--triangle-blue)
}

.video{
    min-width: 50%;
    max-width: 100%;
}

table{
    font-size: small;
    border-collapse: collapse;
    margin-bottom: 10px;
}

td, th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
  font-size: small;
}

tr:nth-child(even) {
  background-color: #dddddd;
}


@media only screen and (max-width: 1000px) {

#pattern_title{
    text-align: center;
}

header{
    margin-top: -15px;
    margin-bottom: -10px;
    text-align: center;
}

.leading_container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
}
.photo_box{
    order: 1;
    margin: 0%;
    max-width: none;
    padding-left: 20px; /*WHY DO I NEED THIS???*/
}

.main_image{
    max-height: calc(60vh);
}

.grid-container{
    margin-top: 10px;
    max-height: none;
    order: 2;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
    justify-content: center;

    .pattern {
        max-width: 15%;
    }
}
.details{
    order:4;
    padding: 0px;
    margin-top: 5px;
    width: 95%;
    background-color: rgba(255,255,255,0.8);
    padding: 1px 10px;
    border-radius: 10px;
    box-shadow: rgba(99, 99, 99, 0.5) 0px 2px 8px 0px;
}

.links{
    font-size: small;
    text-align: center;
    padding: 10px 0px 15px;
}

.description{
    order:3;
    width: 95%;
}
table{
    margin: 0 auto;
    margin-bottom: 10px;
}

}