html,
body {
    width: 100%;
    height: 100%;
}

iframe {
    width: 400px;
    /* Adjust as needed for smaller screens */
    height: 300px;
    /* Adjust as needed for smaller screens */
    display: block;
    margin: 0 auto;
}

/* Styles for screens wider than 992px */
@media (min-width: 992px) {
    iframe {
        width: 800px;
        height: 600px;
    }
}

#wrap {
    height: auto !important;
    margin: 0 auto 0;
    padding: 20px 0 50px;
    background-color: #181818;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 50px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    background-color: #292929;
    align-items: center;
    border-top: 1px solid white;
}

#home {
    background: #181818;
    background-size: 100%;
    background-repeat: repeat-y;
}

.navbar-theme {
    background-image: none;
    background-color: #292929;
    color: #f8f8f8;
    border-bottom: 1px solid #fff;
}

.navbar-theme a {
    font-size: 1em;
    color: #999;
    text-align: center;
}

.navbar .nav>li>a {
    background-color: #292929;
    padding: 5px 10px 5px;
    /* Change here the second value for padding-left and padding right */

    border: 0px;
}

.nav-tabs>li>a:hover {
    color: #fff;
    background-color: #292929;
    border-color: #fff #fff #fff #fff;
}

.nav-tabs>li.active>a {
    background-color: #181818;
    border: 1px solid;
    border-color: #fff #fff #181818 #fff;
}

.nav-tabs>li.active>a:hover {
    background-color: #181818;
    border-color: #fff #fff #181818 #fff;
}

.nav-theme {
    display: flex;
    justify-content: center;
    border-bottom: 0px;
}

.panel {
    margin-bottom: 10px;
}

.panel-heading {
    padding-top: 5px;
    padding-bottom: 5px;
}

.list-group-item {
    padding-top: 3px;
    padding-bottom: 3px;
}

.table>tbody>tr>th,
.table>tbody>tr>td {
    padding-top: 3px;
    padding-bottom: 3px;
}


/* code for flipping faces */

.flip-container {
    transform-style: preserve-3d;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

/*  UPDATED! flip the pane when hovered */

.flip-container:hover .back {
    transform: rotateY(0deg);
    -webkit-transform: rotateY(0deg);
}

.flip-container:hover .front {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
}

.flip-container,
.front,
.back {
    width: 200px;
    height: 300px;
}

/* flip speed goes here */

.flipper {
    transition: 0.8s;
    transform-style: preserve-3d;
    position: relative;
}

/* hide back of pane during swap */

.front,
.back {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: 0.8s;
    transform-style: preserve-3d;
    position: absolute;
    top: 0;
    left: 0;
}

/*  UPDATED! front pane, placed above back */

.front {
    z-index: 2;
    transform: rotateY(0deg);
    -webkit-transform: rotateY(0deg);
}

/* back, initially hidden pane */

.back {
    transform: rotateY(-180deg);
    -webkit-transform: rotateY(-180deg);
}

.table-vcenter {
    background: none;
    table-layout: fixed;
    word-wrap: break-word;
    width: 90%;
    margin: 20px auto
}

.table-vcenter td {
    vertical-align: middle !important;
    color: #000;
    font-size: 13px !important;
    font-weight: bold;
    padding: 2px 2px !important;
}

.table-cv td {
    vertical-align: middle !important;
    text-align: justify;
}

.panel-invert li {
    padding-top: 0px;
    padding-bottom: 0px;
}

.page-header-theme {
    margin-top: 0px;
    border-bottom: 1px solid #fff;
}

.page-header-theme h2 {
    color: #fff;
}

.text-img-description {
    color: #fff
}

/* Fixes an issue with anchor offsets due to fixed top-navbar */
h3 span {
    margin-top: -70px;
    /* Size of fixed header */
    padding-bottom: 70px;
    display: block;
    font-size: 1px;
    line-height: 1px;
}

strong span {
    margin-top: -60px;
    /* Size of fixed header */
    padding-bottom: 60px;
    display: block;
    font-size: 1px;
    line-height: 1px;
}

.btn-project {
    border: 0px solid #ffffff;
    white-space: normal;
}

.btn-project:hover {
    background-color: #7a8288;
}

.btn-project p {
    text-align: justify;
}

.row-equal-height {
    display: table;
}

.row-equal-height [class*="col-"] {
    float: none;
    display: table-cell;
    vertical-align: top;
}


/* xs < 768 */
@media screen and (max-width: 767px) {
    h3 {
        font-size: 0.8em !important;
    }

    h4 {
        font-size: 0.6em !important;
    }

    p,
    li:not(.navbar-li),
    th,
    td,
    panel-title.a {
        font-size: 0.6em !important;
    }

}

/* sm */
@media screen and (min-width: 768px) {
    h3 {
        font-size: 0.9em !important;
    }

    h4 {
        font-size: 0.7em !important;
    }

    p,
    li:not(.navbar-li),
    th,
    td,
    panel-title.a {
        font-size: 0.7em !important;
    }

}

/* md */
@media screen and (min-width: 992px) {
    h3 {
        font-size: 1.0em !important;
    }

    h4 {
        font-size: 0.8em !important;
    }

    p,
    li:not(.navbar-li),
    th,
    td,
    panel-title.a {
        font-size: 0.8em !important;
    }
}


@media (min-width: 1200px) and (max-width: 1599px) {
    .hidden-lg {
        display: none !important;
    }
}

.visible-xl-block,
.visible-xl-inline,
.visible-xl-inline-block,
.visible-xl {
    display: none !important;
}

@media (min-width: 1600px) {

    .col-xl-1,
    .col-xl-2,
    .col-xl-3,
    .col-xl-4,
    .col-xl-5,
    .col-xl-6,
    .col-xl-7,
    .col-xl-8,
    .col-xl-9,
    .col-xl-10,
    .col-xl-11,
    .col-xl-12 {
        float: left;
    }

    .col-xl-12 {
        width: 100%;
    }

    .col-xl-11 {
        width: 91.66666667%;
    }

    .col-xl-10 {
        width: 83.33333333%;
    }

    .col-xl-9 {
        width: 75%;
    }

    .col-xl-8 {
        width: 66.66666667%;
    }

    .col-xl-7 {
        width: 58.33333333%;
    }

    .col-xl-6 {
        width: 50%;
    }

    .col-xl-5 {
        width: 41.66666667%;
    }

    .col-xl-4 {
        width: 33.33333333%;
    }

    .col-xl-3 {
        width: 25%;
    }

    .col-xl-2 {
        width: 16.66666667%;
    }

    .col-xl-1 {
        width: 8.33333333%;
    }

    .col-xl-pull-12 {
        right: 100%;
    }

    .col-xl-pull-11 {
        right: 91.66666667%;
    }

    .col-xl-pull-10 {
        right: 83.33333333%;
    }

    .col-xl-pull-9 {
        right: 75%;
    }

    .col-xl-pull-8 {
        right: 66.66666667%;
    }

    .col-xl-pull-7 {
        right: 58.33333333%;
    }

    .col-xl-pull-6 {
        right: 50%;
    }

    .col-xl-pull-5 {
        right: 41.66666667%;
    }

    .col-xl-pull-4 {
        right: 33.33333333%;
    }

    .col-xl-pull-3 {
        right: 25%;
    }

    .col-xl-pull-2 {
        right: 16.66666667%;
    }

    .col-xl-pull-1 {
        right: 8.33333333%;
    }

    .col-xl-pull-0 {
        right: auto;
    }

    .col-xl-push-12 {
        left: 100%;
    }

    .col-xl-push-11 {
        left: 91.66666667%;
    }

    .col-xl-push-10 {
        left: 83.33333333%;
    }

    .col-xl-push-9 {
        left: 75%;
    }

    .col-xl-push-8 {
        left: 66.66666667%;
    }

    .col-xl-push-7 {
        left: 58.33333333%;
    }

    .col-xl-push-6 {
        left: 50%;
    }

    .col-xl-push-5 {
        left: 41.66666667%;
    }

    .col-xl-push-4 {
        left: 33.33333333%;
    }

    .col-xl-push-3 {
        left: 25%;
    }

    .col-xl-push-2 {
        left: 16.66666667%;
    }

    .col-xl-push-1 {
        left: 8.33333333%;
    }

    .col-xl-push-0 {
        left: auto;
    }

    .col-xl-offset-12 {
        margin-left: 100%;
    }

    .col-xl-offset-11 {
        margin-left: 91.66666667%;
    }

    .col-xl-offset-10 {
        margin-left: 83.33333333%;
    }

    .col-xl-offset-9 {
        margin-left: 75%;
    }

    .col-xl-offset-8 {
        margin-left: 66.66666667%;
    }

    .col-xl-offset-7 {
        margin-left: 58.33333333%;
    }

    .col-xl-offset-6 {
        margin-left: 50%;
    }

    .col-xl-offset-5 {
        margin-left: 41.66666667%;
    }

    .col-xl-offset-4 {
        margin-left: 33.33333333%;
    }

    .col-xl-offset-3 {
        margin-left: 25%;
    }

    .col-xl-offset-2 {
        margin-left: 16.66666667%;
    }

    .col-xl-offset-1 {
        margin-left: 8.33333333%;
    }

    .col-xl-offset-0 {
        margin-left: 0;
    }

    .visible-xl {
        display: block !important;
    }

    table.visible-xl {
        display: table;
    }

    tr.visible-xl {
        display: table-row !important;
    }

    th.visible-xl,
    td.visible-xl {
        display: table-cell !important;
    }

    .visible-xl-block {
        display: block !important;
    }

    .visible-xl-inline {
        display: inline !important;
    }

    .visible-xl-inline-block {
        display: inline-block !important;
    }

    .hidden-xl {
        display: none !important;
    }
}