/* Base layout */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto Condensed', sans-serif;
    background: url("images/background-pattern.png");
    color: #68bbd7;
    font-size: 1rem;
	text-shadow: 0.19rem 0.19rem 0.06rem #131419;
}

a {
    color:#e3ebef;
}

.text-link {
    margin-left:0.5rem;
    margin-right:0.5rem;
}

/* Wrapper becomes a grid on desktop */
#wrapper {
    display: block;
    max-width: 90rem;
    margin: 0 auto;
    font-size: 1.5rem;
}

#wrapper p{
	padding:0 2rem;
}

/* Desktop grid layout */
@media (min-width: 900px) {
    #wrapper {
        display: grid;
        /* grid-template-columns: 0 1fr; */
        width: 100%;
    }

}

/* Header image alignment */
#title-header-img {
    width: 103.55%;
    margin:-1rem;
    z-index: 0;
}

/* Header image alignment */
/* #header-img {
    position: relative;
} */

#header-img img {
    float:right;
    width: 30%; 
    /* height: auto; */
    display: block;
    margin: -2.5rem -3rem 1rem 1rem;
	overflow: visible;
    position: relative;
	/* max-width: none; */
    z-index: 10;
}

#header-img-small img{
    float: right;
    width: 8rem; 
    /* height: auto; */
    display: block;
    margin: -4rem -1rem -1rem 1rem;
	/* overflow: visible; */
    position: relative;
	/* max-width: none; */
    /* z-index: 10; */
}

.hotspot {
    position: relative;
    width: 2rem;      /* match the circle size */
    height: 2rem;
    border-radius: 50%;
    cursor: pointer;
    transform: translateY(10px);
    margin-left: 1rem;
}




@media (max-width: 900px) {
    .project-overview {
        width: 20%;
        font-size: 1rem;
        float: none;
        display: block;
    }
    
    .project-overview img {
        width: 20%;
    }
    
    #header-img img {
        margin: -1rem -1rem 1rem 1rem;
    }
}


/* Content box */
#content-main {
    background: #2d363fb1;
    padding: 1rem;
    border-left: 2px solid #17183b;
    border-right: 2px solid #17183b;
    box-sizing: border-box;
	max-width: 60rem;
    margin: 0 auto;

}

/* Typography */
.tier-1 {
    color: #99cb45;
    font-size: 2rem;
    margin-top: 3rem;
}

.tier-2 {
    color: #d0cb76;
    font-size: 1.6rem;
    font-weight: bold;
}

.tier-4 {
    color: #38a0d4;
    font-size: 1rem;
}

.tier-3 {
    /* color: #e3ebef; */
    color: #b2d9ea;
    font-size: 1.2rem;
    margin-bottom: 2rem;
	padding: 0 2rem;
}

/* Project grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
    gap: 1rem;
}

.project-tile {
    background: #13181d;
    border: 0.25rem solid #13181d;
    transition: border 0.2s;
	display: block;          /* makes the whole tile clickable */
    text-decoration: none;   /* remove underline */
    color: inherit;          /* keep your text color */
    font-size: 1rem;
}

.project-tile:hover {
    border-color: #99cb45;
}

.project-tile img {
    width: 100%;
    display: block;
}

.project-tile-title {
    color: #f5f0a5;
    padding: 0.4rem;
}

/* Footer */
footer {
    margin-top: 3rem;
    text-align: center;
    color: #68bbd7;
}

/* Mobile typography */
@media (max-width: 900px) {
    #content-main {
        padding: 1rem;
        font-size: 1rem;
    }
}

.thumbnail {
    /* width: fit-content;
    height: fit-content; */
    /* display: grid; */
	/* margin: 0.0625rem; */
	/* width: minmax(2rem, 8rem); */
    width:15%;
	border: 0.25rem solid #13181d;
    transition: border 0.2s;
}

.thumbnail:hover {
    border-color: #99cb45;
}

.project-overview {
    float: right;
	font-size: 1.2rem;
	background-color: #13181d;
	width: 30%;
    /* margin:1rem -1rem 1rem 1rem; */
    margin-right:-1rem;
	text-align: center;
	color: #f5f0a5;
}

.project-overview img {
	width: 100%;
}

.project-overview p, li {
	text-align: left;
}

video {
    width:70%;
    height:auto;
    display: block;
    margin: 0 auto;
	border: 0.25rem solid #13181d;
}

.video-small {
    width:30%;
    height:auto;
    display: inline;
    margin: 0 auto;
	border: 0.25rem solid #13181d;
}

.video-wrapper {
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
}

.video-wrapper-portrait {
    width: 50%;
    margin: 0 auto;
    aspect-ratio: 9/16;
}

.video-wrapper  iframe {
    width: 100%;
    height: 100%;
	border: 0.25rem solid #13181d;
}

.video-wrapper-portrait  iframe {
    width: 100%;
    height: 100%;
	border: 0.25rem solid #13181d;
}

.project-collapse summary {
    cursor: pointer;
    font-weight: bold;
    padding: 0.5rem 0;
    list-style: none;
}

.project-collapse summary::-webkit-details-marker {
    display: none; /* removes default arrow */
}

.project-collapse summary::after {
    content: "▼";
    float: left;
    transition: transform 0.2s;
}

.project-collapse[open] summary::after {
    transform: rotate(180deg);
}

.comp-logo {
    display: block;
    float:left;
    margin: 0rem 1rem 0rem -2rem;
}
