@font-face {
    font-family: "MC-News Gothic Compressed";
    src: url(../fonts/mcnwgp.ttf) format("truetype")
}
@font-face {
    font-family: "MC-AvantGarde";
    src: url(../fonts/mcavangn.ttf) format("truetype")
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}
html * {
    color: white;
    font-family:  "MC-AvantGarde";
}
.body {
    overflow-y: hidden;
    margin: 0;
    width: 100%;
    height: 100%;
}
.view-row {
    background-color: #E06F25;
}

.scene {
    overflow: hidden;
    position:relative;
    height: 100%;
    width: 100%;
    min-height: 700px;
    padding: 0;
    margin: 0;
}
.scene#slide1 img{
  
    /*height: 800px;*/
    height: 120%;
    width: 120%;
    margin-left: -10%;
    margin-top: -10%;
    object-fit: cover;
}
.scene#slide2 img{
  
    /*height: 800px;*/
    /*height: 120%;*/
    width: 120%;
    margin-left: -20%;
    margin-top: -20%;
    object-fit: cover;
}
.portfolio-row>.slide-container {
    text-align: center;
}
.portfolio-row>.slide-container>.portfolio-img {
    width: 47%;
    object-fit: cover;
    margin-left: auto;
    margin-right: auto;
    margin-top: -4%;
}
.scene img.drip-fix {
    margin-top: -15% !important;
    margin-left: -20% !important;
}
.scene img.override {
    margin: 0;
    width: 100%;
    height: 100%;
    
}

.img-top-fix {
    top:-1px;
}

.layer{
    position:absolute;
    width: 100%; 
    height: 100%;
}

.container {
    position: relative;
    width: 100%;
    margin-bottom: -6px;
    display: grid;
    min-height: 700px;
    overflow: hidden;
    /*height: 100%;*/
}
.container.logo-row {
    height: calc(100% + 50px);
}
.container.main-row {
    margin-top:-50px;
    height: 100vh;
}

.container.logo-row .anim-ctrl{
    position: fixed;
    top: 10px;
    right: 10px;
}
.container.logo-row .anim-ctrl :hover {
    scale: 1.1;
}
@media (prefers-reduced-motion) {
    .container.logo-row .anim-ctrl {
        display: none;
    } 
}
.slide-container {
    position: relative;
    grid-row: 1;
    grid-column: 1;
}
.slide-content {
    grid-row: 1;
    grid-column: 1;
    position: relative;
    min-height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}


h1, h3 {
    color: #FDD172;
    font-family:  "MC-AvantGarde";
    margin-bottom: 0.20em;
    margin-top: 0;
}
.col.title-col {
    flex-grow: 1.5;
}
h1 {
    font-size: 3.5em;
    line-height: 0.95;
}
h2 {
    margin-top: 0;
    margin-bottom: 0.20em;
}
h2.subtitle {
    /*color: white;*/
    margin-left: 0.5em;
    font-family:  "MC-News Gothic Compressed";
    line-height: 0.95;
    margin-top: 0.15em;
}
h3 {    
    font-size: 3em;
}


.logo-links {
    justify-content: center;
}
.logo-links img{
    height: 2em;
    width: 2em;
    margin-left: 5px;
    margin-right: 5px;
}
.contacts-row {
    flex-basis: 22em;
    align-content: end;
}
.services-row {
    margin-top: 5em;
}
.services-row>.col {
    padding-bottom: 2px;
}
.services-row img{
    /*width: 100%;*/
    max-width: 128px;
    align-self: center;
    /*min-width: 100px;*/
    
}

/* portfolio row*/
.view-row.portfolio-row {
    background-color: #FDD172

}

.portfolio-row>.slide-content>.row {
    margin-top: 13em;
    align-self: center;
    max-width: 1230px;
}
@media (max-width: 850px) {
    .portfolio-row>.slide-content>.row {
        max-width: 450px;
    }
}
.portfolio-row>.slide-content>.row .row {
    padding: 2em;
}
.portfolio-row>.slide-content>.row>.mid-col {
    padding-top: 4em;
}
.portfolio-row>.slide-content>.row img {
    width: 100%;
}
.portfolio-row hr.end-indicator {
    margin-left: 25%;
    margin-right: 25%;
    border: none;
    border-top: #E06F25 solid 2px;
    margin-bottom: 10px;
}
.portfolio-modal {
    position: fixed;
    background-color: #00000030;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.portfolio-modal>.modal-content {
    position: fixed;
    top: 7%;
    bottom: 3%;
    left: 2%;
    right: 2%;
    background-color: #FDD172;
    /*border: #E06F25 solid 3px;*/
    border-radius: 7px;
    overflow-x: hidden;
    overflow-y: auto;
}
.portfolio-modal>.modal-content>.modal-body {
    position: relative;
    display: flex;
    margin: 3em 1em 1em 1em;
    flex-direction: row;
}
.portfolio-modal>.modal-content>.modal-body img {
    max-height: 785px;
    max-width: 100%;
}
.portfolio-modal>.modal-content>.modal-body .modal-text {
    padding: 10em 3em 3em 3em;
    font-size: 1.3em;
    color: #000000;
}
@media (max-width: 850px) {
    .portfolio-modal>.modal-content>.modal-body .modal-text {
        padding: 2em 1em;
    }
}
.portfolio-modal>.modal-content>.modal-body .modal-text>h2 {
    color: #E06F25;
}

.portfolio-modal>.modal-content .close-btn {
    position: absolute;
    display: inline-block;
    color: #E06F25;
    font-size: 3.5em;
    right: 5px;
    margin-top: -0.1em;
}
.portfolio-modal>.modal-content .close-btn:hover {
    font-weight: 800;
}
.portfolio-modal .close-btn:after {    
    content: "\00d7"; /* This will render the 'X' */
}
.hidden {
    visibility: collapse;
}

/* HTML: <div class="loader"></div> */
.loader {
    margin: 0 auto;
    width: 100px;
    height: 40px;
    --g: radial-gradient(farthest-side,#0000 calc(95% - 3px),#E06F25 calc(100% - 3px) 98%,#0000 101%) no-repeat;
    background: var(--g), var(--g), var(--g);
    background-size: 30px 30px;
    animation: l9 1s infinite alternate;
  }
  @keyframes l9 {
    0% {
      background-position: 0 50%, 50% 50%, 100% 50%;
    }
    20% {
      background-position: 0 0, 50% 50%, 100% 50%;
    }
    40% {
      background-position: 0 100%, 50% 0, 100% 50%;
    }
    60% {
      background-position: 0 50%, 50% 100%, 100% 0;
    }
    80% {
      background-position: 0 50%, 50% 50%, 100% 100%;
    }
    100% {
      background-position: 0 50%, 50% 50%, 100% 50%;
    }
}