@font-face{
    font-family: domine;
    src: url(./assets/Domine/static/Domine-Regular.ttf);
}
body{
    font-family: domine;
}
/*
mib = #11293B
*/
:root{
    --mib: #11293B;
    --tertiary: #dea300;
}

.book-btn{
    font-size: 16px;
    box-shadow: none;
    background-color: #f5f5f5;
    color: var(--mib);
    width: 165px;
    height: 46px;
    transition: font-size .3s ease, width .3s ease, height .3s ease, background-color .3s ease, color .3s ease;
}

.book-btn:hover{
    font-size: 19px;
    width: 175px;
    height: 56px;
    background-color: var(--tertiary) ;
    color: var(--mib);
}
.container{
    margin-top: 2%;
    margin-bottom: 15%;
}
.btn-mib{
    color: white;
    background-color: #11293B;
}
.anchor{
    font-size: 24px;
    color: #11293B;
}
button{
    width: 100px;
}
.navbar{
    background-color: #11293B;
}

.navbar a {
    color: white;
}
.navbar button{
     background-color: white;
}
ul{
    list-style-type: square;
    
}
.evenRowList{
    text-align: right;
    direction: rtl;
}
.row{
    padding: 4rem 0rem;
}
.footer .row{
    padding: 0rem 0rem;
}
.text-block>h2{
    border-bottom: #dea300 2px solid;
    padding-left: 20px;
    text-align: center;
}
.text-block>ul{
    font-size: 24px;
    list-style-type: none;
    text-align: center;
}
.text-wrapper{
    filter: drop-shadow(-1px 6px 3px rgba(50, 50, 0, 0.5));
    z-index: 10;
    width: 47%;
    transition: width .7s ease, filter 1s ease;
}
.text-block{
    padding-top: 2.5rem;
    color: #f2f3f4;
    border: #f2f3f4 1px solid;
    background-color: #11293B;
    height: 250px;
    position: relative;
    clip-path: polygon(0% 0%, 100% 0%, 86% 100%, 0% 100%);
    transition: clip-path 1s ease, height .8s ease;
}
.text-block .anchor{
    color: #dea300;
}
.anchor-wrap{
    padding-left: 40px;
    text-align: center;
}
.text-wrapper:hover{
    filter: drop-shadow(3px 2px 3px rgba(50, 50, 0, 0.5));
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    width: 80%;
}
.text-wrapper:hover > .text-block{
    height: 600px;
}

.text-wrapper:hover + .cbox{
    padding-top: .5rem;
    width: 30%;
    clip-path: polygon(40% 0%, 100% 0%, 100% 58%, 0% 58%);
}
.text-wrapper:hover + .cbox>.frame{
    height: 500px;
    background: linear-gradient(
         rgba(0,0,0,0.5),
         rgba(0,0,0,0.5)
         ), url(./assets/fred-moon-ofBf15Ps_0k-unsplash.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}
.text-wrapper:hover + .cbox>.frame2{
    height: 600px;
    background: linear-gradient(
         rgba(0,0,0,0.5),
         rgba(0,0,0,0.5)
         ), url(./assets/cdc-GDokEYnOfnE-unsplash.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}
.text-wrapper:hover + .cbox>.frame3{
    height: 500px;
    background: linear-gradient(
         rgba(0,0,0,0.5),
         rgba(0,0,0,0.5)
         ), url(./assets/jakob-dalbjorn-cuKJre3nyYc-unsplash.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.text-wrapper:hover + .cbox>.frame4{
    height: 500px;
    background: linear-gradient(
         rgba(0,0,0,0.5),
         rgba(0,0,0,0.5)
         ), url(./assets/luke-van-zyl-koH7IVuwRLw-unsplash.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.text-wrapper:hover + .cbox>.frame5{
    height: 500px;
    background: linear-gradient(
         rgba(0,0,0,0.5),
         rgba(0,0,0,0.5)
         ), url(./assets/bernard-hermant-nHRXNv2qeDE-unsplash.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

img{
    height: 300px;
    width: 350px;
    display: inline-block;
    margin: 0 auto;
    /* height: 100%;
    width: auto; */
}
.cbox{
    position: absolute;
    right: 17%;
    clip-path: polygon(35% 0%, 100% 0%, 100% 100%, 0% 100%);
    width: 600px;
    height: 100%;
    padding-top: 0rem;
    transition: clip-path 1s ease, height 1s ease, padding-top 1s ease, width 2s ease;
}
.frame{
    z-index: 1;
    display: block;
    width: 700px;
    height: 250px;
    background: url(./assets/fred-moon-ofBf15Ps_0k-unsplash.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    transition: background 1s ease, height 1s ease;
}
.frame2{
    z-index: 1;
    display: block;
    width: 700px;
    height: 250px;
    background: url(./assets/cdc-GDokEYnOfnE-unsplash.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    transition: background 1s ease, height 1s ease;
}
.frame3{
    z-index: 1;
    display: block;
    width: 700px;
    height: 250px;
    background: url(./assets/jakob-dalbjorn-cuKJre3nyYc-unsplash.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    transition: background 1s ease, height 1s ease;
}
.frame4{
    z-index: 1;
    display: block;
    width: 700px;
    height: 250px;
    background: url(./assets/luke-van-zyl-koH7IVuwRLw-unsplash.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    transition: background 1s ease, height 1s ease;
}
.frame5{
    z-index: 1;
    display: block;
    width: 700px;
    height: 250px;
    background: url(./assets/bernard-hermant-nHRXNv2qeDE-unsplash.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    transition: background 1s ease, height 1s ease;
}

.service-text{
    padding: 1rem 2rem;
}

.footer{
    z-index: 100;
    position: static;
    bottom: 0px;
    width: 100%;
    font-size: 20px;
    background-color: #11293B;
}
.footer>.row{
    margin: 0rem 0rem;
}
.card{
    background-color: #f2f3f4;
    padding-right: 17%;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.7);
    overflow: scroll;
    height: 250px;
}

.card>p{
    color: #000;
}

.consultation{
    margin-top: -10rem;
     background: linear-gradient(
         rgba(0,0,0,0.5),
         rgba(0,0,0,0.5)
         ), url(./assets/terrance-raper-DmaWGb1w2a8-unsplash.jpg);
     background-repeat: no-repeat;
     background-size: cover;
     background-attachment: fixed;
     height: 600px;
     z-index: 5;
 }
.consultation .row{
    padding-top: 175px;
}
 .consultation img{
     margin: 1rem 0rem;
 }

 .consultation .box{
     box-shadow: 0px 4px 10px;
     background-color: #11293B;
     padding: 2rem;
     width: 500px;
     height: 200px;
     text-align: center;
 }
 .consultation .box h3{
     color:white;
 }
 .consultation .box button{
     margin-top: 1rem;
     border-radius: 4px;
     height: 50px;
     width: 300px;
 }
/* Mobile Adjustments */

@media only screen and (max-width: 376px){
    .row{
        padding: 1rem 0rem;
        display: flex;
        flex-flow: row wrap-reverse;
    }
    .row>h1{
        margin: 0 auto;
        padding: 1rem 0rem;
    }
    .card{
        padding: 2% 5%;
    }
    .text-block>ul{
        padding-right: 7%;
        font-size: 24px;
        list-style-type: none;
        text-align: center;
    }
    .text-block .anchor{
        padding-right: 7%;
        color: #dea300;
    }
    .text-wrapper{
        width: 100%;
    }
    .text-wrapper:hover{
        width: 100%;
    }
    .text-block{
        height: 350px;
        clip-path: none;
    }
    .text-wrapper:hover > .text-block{
        height: 600px;
    }
    .text-wrapper:hover + .cbox{
        padding-top: .5rem;
        width: 100%;
        clip-path: none;
    }
    .text-wrapper:hover + .cbox>.frame{
        height: 250px;
    }
    .text-wrapper:hover + .cbox>.frame2{
        height: 250px;

    }
    .text-wrapper:hover + .cbox>.frame3{
        height: 250px;

    }

    .text-wrapper:hover + .cbox>.frame4{
        height: 250px;

    }

    .text-wrapper:hover + .cbox>.frame5{
        height: 250px;

    }
    .cbox{
        clip-path: none;
        width: 436px;
        position: relative;
    }
    .frame{
        width: 436px;
        height: 250px;
        display: block;
    }

    .frame2{
        width: 436px;
        height: 250px;
        display: block;
        
    }
    .frame3{
        width: 436px;
        height: 250px;
        display: block;
        
    }
    .frame4{
        width: 436px;
        height: 250px;
        display: block;
        
    }
    .frame5{
        width: 436px;
        height: 250px;
        display: block;
    }
    .footer{
        z-index: 100;
        position: fixed;
        bottom: 0px;
        width: 100%;
        font-size: 11px;
        background-color: #11293B;
    }

}
@media only screen and (max-width: 1190px){
    .row{
        display: flex;
        flex-flow: row wrap-reverse;
    }
    .card{
        padding: 2% 5%;
    }
    .text-block>ul{
        padding-right: 7%;
        font-size: 24px;
        list-style-type: none;
        text-align: center;
    }
    .text-block .anchor{
        padding-right: 7%;
        color: #dea300;
    }
    .text-wrapper{
        width: 100%;
    }
    .text-wrapper:hover{
        width: 100%;
    }
    .text-block{
        height: 350px;
        clip-path: none;
    }
    .text-wrapper:hover > .text-block{
        height: 600px;
    }
    .text-wrapper:hover + .cbox{
        padding-top: .5rem;
        width: 100%;
        clip-path: none;
    }
    .text-wrapper:hover + .cbox>.frame{
        height: 250px;
    }
    .text-wrapper:hover + .cbox>.frame2{
        height: 250px;

    }
    .text-wrapper:hover + .cbox>.frame3{
        height: 250px;

    }

    .text-wrapper:hover + .cbox>.frame4{
        height: 250px;

    }

    .text-wrapper:hover + .cbox>.frame5{
        height: 250px;

    }
    .cbox{
        margin: 0 auto;
        clip-path: none;
        width: 43rem;
        position: relative;
    }
    .frame{
        width: 436px;
        height: 250px;
        display: block;
    }

    .frame2{
        width: 436px;
        height: 250px;
        display: block;
        
    }
    .frame3{
        width: 436px;
        height: 250px;
        display: block;
        
    }
    .frame4{
        width: 436px;
        height: 250px;
        display: block;
        
    }
    .frame5{
        width: 436px;
        height: 250px;
        display: block;
    }
    .footer{
        z-index: 100;
        position: static;
        bottom: 0px;
        width: 100%;
        font-size: 11px;
        background-color: #11293B;
    }
}