
/* 
TODO:
- finish home page
    - create image hover states (ie swicth to detail shot)
    - add imagery/smth interesting and descriptive of YOU to the home screen. Smth that takes up the whole home screen.
- create personalized cursor (draw one!)
- add animation/visual smth when hover over name (in top left corner)
    - idea: sketch circle around name to furthur highlight it
        - if you figure that out, do the same thing for the LinkedIn logo in footer.
*/

body {
    background-color: rgb(21, 19, 23);
    color: rgb(181, 179, 168);
}

html {
    scroll-behavior: smooth;
}

h1 {
    font-family: 'Satoshi', sans-serif; 
    font-size: 3rem;
    font-weight: 900;
    margin: 0;
    padding: 0.5rem 2rem 0rem 2rem;
}

/* ----- 'olivia blackmore' nav bar item ----- */
h2 {
    font-family: 'Satoshi', sans-serif;  
    font-size: 1.5rem;
    margin: 0;
    margin-left: 2rem;
    color: rgb(128, 157, 49); 

    transition-duration: 0.5s;
}

.nav-bar h2 {
    margin: 0;
}

.left-align a {
  text-decoration: none;
  color: rgb(181, 179, 168);
  font-weight: 700; 
}

.left-align a:hover {
  font-weight: 400;
}

/* ---------- ---------- ---------- ---------- */

h3 {
    font-family: 'Satoshi', sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    margin-top: 2rem;
    margin-left: 2rem;
    max-width: 50rem;
}

h4 {
    font-family: 'Satoshi', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    margin-left: 2rem;
    margin-bottom: 2rem;
}

.context-grid h4 {
    color: rgb(128, 157, 49);
}

.padding-left {
    margin-left: 2rem;
}

h5 {
    font-family: 'Satoshi', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    margin-left: 2rem;
    margin-bottom: 2rem;   
}

p {
    font-family: 'Satoshi', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    margin-left: 2rem;
    margin-right: 2rem;
    margin-bottom: 2rem; 
    max-width: 50rem; 
}

.play-grid p {
    margin: 0 !important;
}

li {
    font-family: 'Satoshi', sans-serif;
    font-size: 1rem;
    list-style-type: none;
    text-align: left;
    margin-left: 7rem;
}

img { 
    border-radius: 0.5rem; 
}

.highlight {
    color: rgb(128, 157, 49);
    font-weight: 500; 
}

/* ---------- nav buttons ---------- */
a {
    font-family: 'Satoshi', sans-serif;
    color: rgb(181, 179, 168);
    font-size: 1.3rem;
    font-weight: 500;
    text-decoration: none;
    color: rgb(128, 157, 49); 

    transition-duration: 0.5s;
}

a:hover, a:focus {
    font-weight: 900;
}

/* ---------- line ---------- */
.full-width-line {
    border: none;
    border-top: 1px solid rgb(181, 179, 168);
    margin: 2rem;
}

.small-width-line {
    border: none;
    border-top: 1px solid rgb(181, 179, 168);
    margin: 2rem;
    margin-right: 4rem;
}

/* ---------- video container ---------- */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    margin-top: 2rem;
    margin-left: 2rem;
    margin-right: 2rem;
    margin-bottom: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ---------- Overview Section ---------- */
.overview-section {
    max-width: 50rem;
    margin: 4rem auto;
}

.overview-section p {
    max-width: 45rem;
}

/* ---------- Draggable Card Styles ---------- */

.card {
    position: absolute;
    width: 31rem;  
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    cursor: move;
    user-select: none;
    transition: box-shadow 0.2s;
    z-index: 1000;
    pointer-events: auto;
}

.card:active {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    cursor: grabbing;
}

.card-header {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
}

.card-header img {
    width: 100%;
    height: 20.5rem;  
    object-fit: cover;
    display: block;
    margin: 0;
}

.card-body {
    padding: 20px;
    color: #333;
    border-top: 1px solid #eee;
}

.card-body p {
    line-height: 1.6;
    margin: 0;
    margin-left: 0;
    margin-right: 0;
}

@media (width < 70rem) {
    .card {
        width: 26rem;
    }
    
    .card-header img {
        height: 17.5rem; 
    }
}

@media (width < 62.5rem) {
    .card[id="draggableCard2"] {
        display: none;
    }
}

@media (width < 34.375rem) {
    .bio-text {
        padding-top: 3rem !important; 
    }
}

@media (width < 30rem) {
    .card {
        width: 20rem;
    }

    .card-header img {
        height: 13.5rem; 
    }

    .char-image {
        display: none;
    }

    .bio-text {
        padding-top: 30rem !important; 
    }
}

/* Square card */
.card-square {
    width: 200px;  
}

.card-square .card-header img {
    height: 200px;  
}

/* ---------- Center single images ---------- */
img[alt="Flattened Box with Floral Design"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

img[alt="Final Product"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- */

@media (width < 50rem) {
    .left-align a {
        font-size: 0; 
    }
    
    .left-align a::before {
        content: "ob";
        font-size: 1.5rem; 
    }
}
