@font-face {
    font-family: 'Figtree';
    src: url("../assets/fonts/Figtree-VariableFont_wght.ttf")format("truetype");
    font-weight: 300 900;
    
    font-family: 'HK Grotesk', sans-serif;

    font-family: 'Clash Display';
    src: url("../assets/fonts/ClashDisplay-Variable.ttf")format("truetype");

    

}


*{
    font-family: 'HK Grotesk', sans-serif;
    font-variation-settings: "wght" 300 900;
    margin:0px;
}

body{
    margin:124px 80px 80px;
    background-color: #171719;
    color:#EEE7D8;
}

h1{
    font-family: 'Clash Display';
    font-size:60px;
    font-weight:900;
    
}


h2{
    font-family: 'Clash Display';
    font-size: 40px;
    font-weight: 600;
}

h3{
    font-size: 24px;
    font-weight: 400;
}

h4{
    font-family:'Clash Display';
    font-size:20px;
    font-weight:500;
}

p{
    font-size: 16px;
    font-weight: 300;
}


nav {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);

    width: 816px;
    padding: 64px 8px 16px;
    background-color: #171719;

    z-index: 10;
}


hr{
    border:none;
    height:2px;
    background-color: #64646D;
}

b{
    font-weight: 600;
}


.section-a{
    display: flex; 
    flex-direction:row; 
    align-items:center; 
    width:100%; 
    justify-content: center;
}

.section-b{
    display:flex;
    flex-direction: column;
    align-items: left;
}

.horizontal-flex{
    display: flex; 
    flex-direction:row;
}

.vertical-flex{
    display: flex; 
    flex-direction:column;
}

.horizontal-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(285px,1fr));
    justify-content: space-around;
    width:100%;
}

a{
    color:#EEE7D8;
}


.section-width{
    width:720px;
    max-width: 100%;
}

.card{
    /* background-color: #1D1D20; */
    background-color: #080809;
    width:300px;
    /* border:7px solid navy; */
    display:flex;
    flex-direction: column;
    align-items: flex-start;

}

.card:hover {
    background-color:#05679B;
    transition: 0.4s;
}

.inside-card{
    display:flex;
    flex-direction: column;
    padding:24px 12px 24px;
    width:100%;
}

.selected{
    
    .card{
        border: 2px solid #05679B;
        box-sizing: border-box;
    }
}

.content-sidebar{
    position:fixed;
    top:140px;
    left:80px;

}

.main-content{
    position:static;
    top:160px;
    left:360px;
}

.huge{
    font-size: 64px;
    font-weight:900;
    
}

.tiny{
    font-size: 15px;
}

.sidebar-text{
    font-size: 15px;
}

@media (max-width:760px) {
    body{
        margin:60px 32px 40px;
    }

    .sidebar{
        display:none;
    }

    .section-a{
        flex-direction: column-reverse;
    }
}

.tab{
    width:100%;
    box-sizing: border-box;
    background-color:#080809;
    padding:16px 32px;
}

.tab:hover{
    background-color: #05679B;
}

.tab-creative{
    width:100%;
    box-sizing: border-box;
    background-color:#080809;
    padding:16px 32px;
}

.tab-creative:hover{
    background-color: crimson;
}

.tab.tab-creative:hover{
    background-color: purple;
}


.window {
    position: fixed;
    top: 180px;
    left: 120px;

    width: min(600px, calc(100vw - 32px));
    height: min(600px, calc(100vh - 32px));

    box-sizing: border-box;
    display: flex;
    flex-direction: column;

    background: #171719;
    color: #EEE7D8;
    border: 1px solid #64646D;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.22);

    z-index: 1000;
}

.window[hidden] {
    display: none;
}

.window-bar {
    min-height: 44px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 14px;
    border-bottom: 1px solid #64646D;

    cursor: grab;
    user-select: none;
    touch-action: none;
}

.window-bar:active {
    cursor: grabbing;
}

.window-bar button {
    flex-shrink: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.window-content {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 24px;
    box-sizing: border-box;
}



#preview-image{
    position: fixed;
    width: 280px;
    height: auto;
    object-fit: cover;

    pointer-events: none;
    opacity: 0;

    z-index: 1000;
    transition: opacity 0.2s ease;
}

#preview-video {
    position: fixed;
    width: 360px;
    height: auto;
    object-fit: cover;

    pointer-events: none;
    opacity: 0;

    z-index: 1000;
    transition: opacity 0.2s ease;
}