/*General*/
body {
    background-color: var(--color-bg);
    margin: 0;
    overflow-x: hidden;
}

/*Classes*/

.banner-video{
    display: flex;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video {
    display: block;
    object-position: 50% 50%;
    object-fit: cover;
    width: 100%;
    height: 100%;
}


.section-general{
    height: 120%;
    align-items: center;
}

.section-def div{
    display: flex; 
    height: 100%; 
    width: 50%;
    align-items: center;
}
.section-def div p{
    width: 100%;
    padding: 10%;
}
.section-def div li{
    margin: 2%;
}
.section-def div li::marker{
    color: var(--color-accent-main)
}

.section-feats ol{
    column-count: 2;
    width: 40%;
    padding-left: 10%;
}
.section-feats ol li{
    font-family: 'Raleway';
    font-weight: 200;
    font-size: 2.25rem;
    opacity: 0;
}
.section-feats ol li::marker{
    color: var(--color-accent-main)
}

@keyframes fade-in {
  0% {
    opacity: 0.0;
  }
  100% {
    opacity: 1.0;
  }
}
.fade-in-anim{
    animation-name: fade-in;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}


.section-bottom{
    min-height: 30vh;
    background-color: var(--color-offwhite);
    justify-content: center;
    width: 100%;
    display: flex;
    overflow: auto;
}

/*IDs*/

#bio{
    width: 50%;
    margin: 4%;
    box-shadow: 0 0 12px 6px #00000020;
    border-radius: 1rem;
    background-color: var(--color-bg);
    display: flex;
    align-items: center;
}

#bio-left{
    display: flex;
    float: left;
    justify-content: center;
}

#bio-right{
    display: flex;
    position: relative;
    margin: 1rem 1rem 0 1rem;
}

#bio-pic-holder{
    margin: 1rem;
    background-color: var(--color-dark-main);
    border-radius: 1rem;
}

@keyframes img-anim{
    0% {
        transform: none;
    }
    100%{
        transform: rotateY(90deg) scale(1.05);
    }
}
@keyframes img-anim-out{
    0% {
        transform: rotateY(-90deg) scale(1.05);
    }
    100%{
        transform: none;
    }
}

#bio-pic{
    width: 256;
    border-radius: 1rem;
    animation-name: img-anim-out;
    animation-duration: 0.2s;
    animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
}

#title{
    font-family: 'Segoe UI';
    font-weight: 300;
    font-style: italic;
    font-size: 1.75em;
    padding: 2% 4% 2% 2%;
}

#name{
    font-family: 'Raleway';
    font-weight: 700;
    font-size: 1.75em;
    font-style: normal;
}


/*Variables*/
:root {
    --color-bg: #FFFFFF;
    --color-offwhite: #F4F4F4;
    --color-dark-main: #242423;
    --color-dark-sub: #333533;
    --color-accent-main: #F5CB5C;
    --color-accent-sub: #BF4E30;
    --mouseX: 0.5;
    --mouseY: 0.5;
}

@media(max-width: 1200px) {
    #bio{
        width: 90%;
    }
    #feat-list{
        column-count: 1;
    }
    #feat-list li{
        font-size: 3.5rem;
    }
    #vid2{
        width: 200%;
        height: 200%;
        object-fit:none;
        overflow-x: hidden;
        object-position: 54% 20%;
    }
}
