@font-face {
    font-family: avenirNextCondensed;
    src: url(Avenir_Next_Condensed.ttc);
}
@font-face {
    font-family: avenir;
    src: url(Avenir.ttc);
}
@font-face {
    font-family: dinConBold;
    src: url(dinCondensedBold.ttf);
}
@font-face {
    font-family: bebas;
    src: url(bebas.ttf);
}
html {
    scroll-behavior: smooth;
}
a.nav-link {
    font-family: bebas;
    font-size: 1.3vw;
}

nav.navbar.navbar-expand-lg.navbar-light.bg-light {
    background-color: #d7d7d7 !important;
}

.carousel, .carousel-inner {
    height: 100%;
}

.fsLogo {
    width: 50%;
}

.card-deck {
    padding-left: 4%;
    padding-right: 4%;
    width: 100%;
}

#con1 {
    text-align: center;
    margin-top: 10vw;
    margin-bottom: 5vw;
}

#con2 {
    text-align: center;
    background-color: #d7d7d7;
    margin-top: 10vw;
}

#con4 {
    text-align: center;
    margin-top: 5vw;
    background-color: #d7d7d7;
    padding-bottom: 5vw;
    padding-top: 5vw;
}

.card-title {
    font-family: avenir;
    color: #7d7d7d;
}

.carousel-indicators li {
    width: 20px;
    height: 20px;
    border: unset !important;
    border-radius: 50%;
}

#carouselExampleIndicators1 {
    height: auto;
    padding-bottom: 5vw;
    background-color: white;
    z-index: 3;
}

.d-inline-block {
    width: 5%;
    margin-left: 2vw;
    margin-right: 2vw;
}

.carousel-item {
    text-align: center;
}

#cardFooter, #cardFooter1 {
    width: 50%;
    float: left;
    border: none;
    background-color: #d7d7d7;
    border-radius: 0;
}

#icon1, #icon2, #icon3 {
    width: 5%;
    margin-left: 3%;
}

#message {
    background-color: #ffffff;
    border-color: transparent;
    color: #7d7d7d;
}

.card {
    border: unset;
}

.card-text.menu {
    margin-left: 5%;
}

.embed-responsive.vid {
    margin-top: -4vw;
}

.card-title.services {
    color: inherit;
    font-size: 2.2vw;
    font-family: avenirNextCondensed;
}

.card-columns {
    padding: 5vw;
    padding-top: 0;
    /* background-color: #d7d7d7; */
}
.h1, .h2 {
    font-family: avenir;
}
.h1 {
    margin-left: 5%;
    margin-top: 2%;
}
.h2 {
    margin-left: 5%;
    margin-bottom: 2%;
    font-size: 2vw;
}
.card.studies {
    padding: 2vw;
}

#about1, #about2, #about3 {
    width: 90%;
    margin-left: 5%;
}

.card-text {
    font-family: avenir;
}

.card-text {
    text-align: justify;
}

li {
    font-family: avenir;
}

.aboutDiv {
    position: relative;
    animation-name: goUp;
    animation-duration: 1s;
    /* margin-top: 5%; */
    color: #FFFFFF;
    font-family: dinConBold;
    font-size: 5vw;
}

.aboutDiv1 {
    position: relative;
    animation-name: goUp;
    animation-duration: 1.5s;
    color: #b2a89d;
    font-family: avenir;
}

.aboutDiv2 {
    position: relative;
    animation-name: goUp;
    animation-duration: 2s;
    color: #FFFFFF;
    font-family: avenir;
}

.aboutDiv3 {
    position: relative;
    animation-name: goUp;
    animation-duration: 2.5s;
    color: #FFFFFF;
    font-family: avenir;
}

.aboutDiv4 {
    position: relative;
    animation-name: goUp;
    animation-duration: 3s;
    color: #FFFFFF;
    font-family: avenir;
}

.aboutDiv5 {
    position: relative;
    animation-name: goUp;
    animation-duration: 3.5s;
    color: #FFFFFF;
    font-family: avenir;
}

.wwwu {
    position: relative;
    animation-name: goUp;
    animation-duration: .5s;
}

#myTab {
    margin-top: 4.5%;
    background-color: white;
}

#myTabContent {
    margin-top: 10%;
}

#brandLogos {
    filter: grayscale(1)
}

a#belowtheline-tab, a#lowtouchbtl-tab, a#digitalmarketing-tab, a#contentdesign-tab {
    color: inherit;
    font-family: avenir;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    background-color: unset;
    border-bottom: solid;
    border-width: thin;
    display: inline-block;
}

span.carousel-control-prev-icon {
    background-image: url(https://fiveseconds.ph/images/icons/left.png);
}

span.carousel-control-next-icon {
    background-image: url(https://fiveseconds.ph/images/icons/right.png);
}

.carousel-control-next, .carousel-control-prev {
    width: 5%;
    bottom: 40%;
}

.embed-responsive-1by1::before {
    padding-top: 0;
}

.embed-responsive.embed-responsive-1by1 {
    padding: 3vw;
    padding-left: 1.5vw;
    padding-right: 1.5vw;
}

.card.text-center.c1 {
    border-right: solid #d7d7d7;
}

#img1{
    position: relative;
    content:url("https://fiveseconds.ph/images/WE_eVOLVE.png");
}

#img1sub{
    position: relative;
    content:url("https://fiveseconds.ph/images/WE_eVOLVE_2.png");
    margin-top: 7%;
}

#img2{
    position: relative;
    content:url("https://fiveseconds.ph/images/WE_CONNECT.png");
    margin-top: 2%;
}

#img2sub{
    position: relative;
    content:url("https://fiveseconds.ph/images/alternativechannels.png");
    margin-top: 7.8%;
}

#img3{
    position: relative;
	content:url("https://fiveseconds.ph/images/WE_CURATE.png");
}

#img3sub{
    position: relative;
    content:url("https://fiveseconds.ph/images/WE_CURATE_2.png");
    margin-top: 7%;
}

#img4{
    position: relative;
	content:url("https://fiveseconds.ph/images/WE_CREATE.png");
}

#img4sub{
    position: relative;
    content:url("https://fiveseconds.ph/images/WE_CREATE_2.png");
    margin-top: 7%;
}

#card1 {
    content:url("https://fiveseconds.ph/images/weEvolveMouseover.jpg");
    display: none;
    width: 80%;
    opacity: .5;
    z-index: 1;
    position: absolute;
    top: 5%;
}

#card2 {
    content:url("https://fiveseconds.ph/images/weConnOver.jpg");
    display: none;
    width: 80%;
    opacity: .5;
    z-index: 1;
    position: absolute;
    top: 5%;
}

#card3 {
    content:url("https://fiveseconds.ph/images/weCurateMouseover.jpg");
    display: none;
    width: 80%;
    opacity: .5;
    z-index: 1;
    position: absolute;
    top: 5%;
}

#card4 {
    content:url("https://fiveseconds.ph/images/weCreateMouseover.jpg");
    display: none;
    width: 80%;
    opacity: .5;
    z-index: 1;
    position: absolute;
    top: 5%;
}

/* #work1:hover #card1 {
    animation-name: change1;
    animation-duration: 1s;
    animation-fill-mode: forwards;
} */

#button1, #button2, #button3, #button4 {
    z-index: 3;
}

#work1, #work2, #work3, #work4 {
    z-index: 2;
}

/* #work2:hover #card2 {
    animation-name: change2;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    z-index: 1;
    position: absolute;
}

#work2:hover {
    z-index: 2;
    position: absolute;
}

#work3:hover #card3 {
    animation-name: change3;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    z-index: 1;
    position: absolute;
}

#work3:hover {
    z-index: 2;
    position: absolute;
}

#work4:hover #card4 {
    animation-name: change4;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    z-index: 1;
    position: absolute;
}

#work4:hover {
    z-index: 2;
    position: absolute;
} */

.icon-bar {
    position: fixed;
    top: 70%;
    right: 1%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 4%;
    z-index: 2;
}

.icon-bar a {
    display: block;
    text-align: center;
    transition: all 0.3s ease;
    color: white;
    font-size: 20px;
}

.icon-bar a:hover {
    background-color: #000;
}

.facebook {
    border-radius: 50%;
    margin-bottom: 20%;
}

#fbLogo {
    width: 100%;
    content:url("https://fiveseconds.ph/images/FB.png");
}

.instagram {
    border-radius: 50%;
    margin-bottom: 20%;
}


#igLogo {
    width: 100%;
    content:url("https://fiveseconds.ph/images/IG.png");
}

.linkedin {
    border-radius: 50%;
}


#liLogo {
    width: 100%;
    content:url("https://fiveseconds.ph/images/IN.png");
}

#about {
    background-image: url(https://fiveseconds.ph/images/equity.jpg);
    width: 100%;
    height: 100%;
}

h4 {
    font-size: 1.5vw;
}

.aboutLeft {
    width: 50%;
    padding: 5%;
    padding-top: 3%;
    text-align: center;
    float: left;
}

.aboutH1 {
    color: #FFFFFF;
    font-family: dinConBold;
    font-size: 5vw;
}

.aboutH4a {
    color: #b2a89d;
    font-family: avenir;
}

.aboutH4b {
    color: #FFFFFF;
    font-family: avenir;
}

#con3 {
    width: 100%;
    position: relative;
    z-index: 3;
    background-color: white;
    padding-top: 5%;
    padding-bottom: 5%;
}

#wbt {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* #con3 {
    max-width: max-content !important;
} */

#crd1, #crd2, #crd3, #crd4 {
    margin-left: 0;
    margin-right: 0;
}

.subCopies {
    color: #49484d;
    font-size: 1.4vw;
    margin-bottom: 0;
    font-family: avenir;
}

.headCopies {
    color: #9a8b7d;
    font-family: dinConBold;
    font-size: 4.9vw;
    margin-bottom: -5%;
}

.webuildtrust {
color: #9a8b7d;
font-family: dinConBold;
font-size: 5vw;
margin: -2.5% auto 0px auto;
width: 26%;
position: absolute;
left: 0;
right: 0;
}

@keyframes change1 {
    0% {margin-left: 0;}
    100% {margin-left:6.8%;}
}

@keyframes change2 {
    0% {left: -150px;}
    100% {left:0}
}

@keyframes change3 {
    0% {left: -150px;}
    100% {left:0}
}

@keyframes change4 {
    0% {left: -150px;}
    100% {left:0}
}

@keyframes goUp {
    0%   {top:100px;}
    20% {opacity:.2;}
    40% {opacity:.4;}
    60% {opacity:.6;}
    80% {opacity:.8;}
    100% {top:0px;opacity:1;}
  }

@media only screen and (max-width: 1440px) {
    #about {
        background-size: cover;
    }
    h4 {
        font-size: 1.5vw;
    }
    h2 {
        font-size: 2vw;
    }
}

@media only screen and (max-width: 1200px) {
    #carouselExampleIndicators {
        height: unset;
        margin-bottom: 5vw;
    }
    .icon-bar a {
        font-size: 15px;
    }
}

@media only screen and (max-width: 1024px) {
    .icon-bar a {
        font-size: 10px;
    }
    button.btn.btn-secondary {
        font-size: 1.2vw;
    }
    h4 {
        font-size: 1.7vw;
    }
    #br2, #br3, #br4, #br5, #br6, #br7, #br8 {
        display: none;
    }
}

@media only screen and (max-width: 992px) {
    #aboutH1 {
        margin-top: 5vw;
    }
    .icon-bar a {
        font-size: 7px;
    }
}

@media only screen and (max-width: 576px) {
    h5.card-title {
        font-size: 1.7vw;
    }
    .card-deck {
        padding: 0;
        margin: auto;
    }
    div#con4 {
        padding: 6vw;
    }
    .card-text.menu {
        margin-left: 29%;
    }
    p.card-text {
        padding-top: 1.9vw;
        text-align: left;
    }
    .aboutLeft {
        width: 100%;
    }
    .aboutDiv {
        font-size: 8vw;
    }
    h4 {
        font-size: 3vw;
    }
    #carouselExampleIndicators {
        margin-top: 10vw;
    }
    #wbt {
        width: 70%;
    }
    .d-inline-block {
        width: 4%;
    }
    .address {
        font-size: 2.9vw;
    }
    #aboutH1 {
        margin-top: 15vw;
    }
    #myTab {
        margin-top: 10%;
        z-index: 9;
    }
    #myTabContent {
        margin-top: 20%;
    }
    .card-columns {
        column-count: 2;
    }
}

@media only screen and (max-width: 575px) {
    #crd1, #crd2, #crd3, #crd4 {
        width: 25%;
        float: left;
    }
    .card-deck {
        display: inline-block;
    }
}

@media only screen and (max-width: 414px) {
    #myTab {
        margin-top: 13%;
    }
    #myTabContent {
        margin-top: 30%;
    }
    .card-columns {
        column-count: 1;
    }
    .h2 {
        font-size: 5vw;
        margin-right: 5%;
    }
    button.btn.btn-secondary {
        font-size: 1vw;
    }
    .address {
        font-size: 3.6vw;
    }
    #icon1, #icon2, #icon3 {
        width: 10%;
    }
    .footerIcons {
        font-size: 6.2vw;
    }
    .icon-bar {
        width: 8%;
    }
    .fsLogo {
        width: 80%;
    }
    a.nav-link {
        font-size: 3vw;
    }
    .card-deck {
        display: inline-block;
    }
    #crd1, #crd2, #crd3, #crd4 {
        width: 25%;
        float: left;
    }
    #about {
        height: 80%;
    }
    #wbt {
        width: 50%;
    }
    .carousel-control-next-icon, .carousel-control-prev-icon {
        width: 10px;
        height: 10px;
    }
    #cardFooter {
        height: 44.4vw;
    }
    p.card-text, .address, .card-text.menu, .footerIcons {
        font-size: 3vw;
    }
    #message {
        font-size: 1.6vw;
    }
}
@media only screen and (max-width: 375px) {
    #about {
        height: 75%;
    }
    #cardFooter {
        height: 57.1vw;
    }
    #message {
        font-size: 3vw;
    }
    .icon-bar {
        top: 65%;
    }
}
@media only screen and (max-width: 360px) {
    .carousel-control-next-icon, .carousel-control-prev-icon {
        width: 5px;
        height: 5px;
    }
    #cardFooter {
        height: 59.5vw;
    }
    #message {
        font-size: 3.3vw;
    }
}
@media only screen and (max-width: 320px) {
    #aboutH1 {
        margin-top: 7vw;
    }
    #cardFooter {
        height: 66vw;
    }
}
