/* Overall font family */

:root{
    --color_background: #fdfdfd;
    --color_text_dark: #3b3b3b;
    --slideshow_img_width: 70vw;
    --iframe_spline_height: 590px;
    --iframe_spline_width: 1085px;
}

/* Headers */
h1 {
    color: var(--color_text_dark);
    font-size: 3.3rem;
    font-weight: bold;
}

h2 {
    color: var(--color_text_dark);
    font-size: 2.1rem;
    font-weight: bold;
    /* For sticky nav bar: add this to the anchor element that will be targeted
    padding-top: 55px;
    margin-top: -55px; */
}

h3 {
    color: var(--color_text_dark);
    font-size: 1.55rem;
    text-align: center;
}

/* Paragraphs */
p {
    color: var(--color_text_dark);
}

p.bio-description {
    font-size: 1.2rem;
}

p.section-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

p.area-interest-description {
    color: #888;
    font-size: 0.9rem;
    text-align: center;
}

p.card-description {
    font-size: 0.9rem;
}

/* Badges */
span.badge {
    font-size: 0.85rem !important;
}

/* Buttons */
.btn {
    text-transform: none;
    font-size: 0.9rem;
}

/* 3D Donostia model iframe */
#model3d-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none;
}

#model3d-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

.sketchfab-rmv-top {
    position: absolute;
    top: 0;
    height: 52px;
    width: 100%;
    background-color: var(--color_background);
}

.sketchfab-rmv-bottom-left {
    position: absolute;
    bottom: 10px;
    left: 10px;
    height: 32px;
    width: 32px;
    background-color: var(--color_background);
}

.sketchfab-rmv-bottom-right {
    position: absolute;
    bottom: 8px;
    right: 8px;
    height: 36px;
    width: 180px;
    background-color: var(--color_background);
}

/* Spline iframe */
.iframe-spline {
    border: none;
    width: 100%;
    height: 100%;
}

.iframe-spline-container {
    position: relative;
    height: var(--iframe_spline_height);
    width: var(--iframe_spline_width);
    margin: 0 auto;
}

.wtrmrk-rmv {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background-color: var(--color_background);
}

/* Badges */
span.badge {
    margin-right: 4px;
    font-size: 0.7rem;
}

/* Nav bar */
#nav-bar {
    margin-bottom: 0 !important;
}

.navbar-brand {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--color_text_dark) !important;
}

.nav-link {
    font-size: 1rem;
}


/* Modal 
    Source: https://stackoverflow.com/questions/34307647/bootstrap-modal-dynamic-width/52997035
*/
#modal-portfolio {
    max-width: 100%;
    width: var(--slideshow_img_width) !important;
    display: inline-block;
}

.modal {
    display: flex !important;
    align-content: center;
    align-items: center;
}

.slideshow-img {
    width: var(--slideshow_img_width);
}

.prevNextBtn {
    font-size: 50px !important;
    line-height: 50px !important;
    text-align: center;
}