/* BODY */

@import url('https://fonts.googleapis.com/css2?family=Manufacturing+Consent&family=Outfit:wght@100..900&display=swap');

*, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.clearfix:before, .clearfix:after { content: ''; display: table; }
.clearfix:after { clear: both; }

body {
    margin: 0;
    padding: 0;
	background: #F0E6D2;
	color: #231F20;
	font-size: 100%;
	line-height: 1.25;
	font-family: 'Outfit', Arial, sans-serif;
    opacity: 1;
    transition: opacity 0.7s ease;
    
}

body.fade-out {
  opacity: 0;
}

a {
	text-decoration: none;
	outline: none;
}

img {
    width: 100%;
}

h1{
  font-family: "Manufacturing Consent", system-ui;
  color: #ED1C24;
}

/* NAVIGATION */

.dbs-nav{
    width: 300px;
    height: 44px;
    background: #ED1C24;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    border-radius: 32px;
    z-index: 2;
    position: fixed;
    top: 5%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.dbs-logo{
    padding: 0 8px;
    font-weight: bold;
    color: #fff;
}

.dbs-nav button {
	border: none;
    width:32px;
    height:32px;
	outline: none;
	background: none;
    padding: 0;
}

.dbs-nav-mail{
    width: 32px;
}

/* Overlay style */
.overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: #8a2003;
}

/* Overlay closing cross */
.overlay .overlay-close {
	width: 24px;
	height: 24px;
	position: absolute;
	right: 20px;
	top: 20px;
	overflow: hidden;
	border: none;
	background: url(../img/close.svg) no-repeat center center;
	text-indent: 200%;
	color: transparent;
	outline: none;
	z-index: 100;
}

/* ABOUT */

.dbs-about {
    width: 90%;
    max-width: 960px;
    margin: 260px auto;
    color: #F0E6D2;
    -webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

.dbs-about-contact {
    width: 24px;
    height: 24px;
    display: inline-block;
    margin: 12px 12px 0 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

}

.dbs-about-contact.mail{
    background-image: url(../img/mail.svg);
}

.dbs-about-contact.linkedin{
    background-image: url(../img/linkedin.svg);
}

/* Effects */

.container {
    overflow: auto;
	background: #F0E6D2;
	-webkit-transition: -webkit-transform 0.5s;
	transition: transform 0.5s;
}

.container.overlay-open {
	-webkit-transform: scale(0.8);
	transform: scale(0.8);
}

.overlay-contentscale {
	visibility: hidden;
	-webkit-transform: translateY(100%);
	transform: translateY(100%);
	-webkit-transition: -webkit-transform 0.5s, visibility 0s 0.5s;
	transition: transform 0.5s, visibility 0s 0.5s;
}

.overlay-contentscale.open {
	visibility: visible;
	-webkit-transform: translateY(0%);
	transform: translateY(0%);
	-webkit-transition: -webkit-transform 0.5s;
	transition: transform 0.5s;
}

@media screen and (max-height: 30.5em) {
	.overlay nav {
		height: 70%;
		font-size: 34px;
	}
	.overlay ul li {
		min-height: 34px;
	}
}

@media screen and (min-width: 960px) {
    .dbs-about {
        width: 85%;
        margin: 240px auto;
    
    }

    .dbs-about p{
        font-size: 1.5rem;
    }
}

section {
	padding: 1em 2em 5em;
	text-align: center;
	font-size: 1.5em;
}

section p {
	max-width: 600px;
	margin: 0 auto;
	padding: 20px 0;
}

/* HOME */

.carousel {
        margin-top: 10%;
        display: flex;
        gap: 20px;
        overflow-x: auto;
        padding: 40px;
        cursor: grab;
        scrollbar-width: none;
        height: 100vh;
    }

    .carousel::-webkit-scrollbar {
        display: none;
    }

    .carousel:active {
        cursor: grxabbing;
    }

    .card {
        flex: 0 0 700px;
        height: 600px;
        font-size: 32px;
        font-weight: bold;
        user-select: none;
    }

    .dbs-home-intro{
        padding: 0 24px;
        color: #231F20;
    }

    .dbs-home-intro h2{
        font-weight: 600;
    }

    .dbs-home-intro p{
        font-size: 16px;
        font-weight: 400;
    }

    .card img {
       width: 100%;
    }

    .home-thumb-info {
        margin-top: -8px;
         transition: .5s ease;
         opacity: 0;
    }

    .home-thumb-info h2{
        font-size: 0.8em;
        font-weight: 400;
        color: #231F20;
    }

    .home-thumb-info button{
        font-size: 16px;
        background: #ED1C24;
        border: 0px solid #231F20;
        border-radius: 24px;
        padding: 4px 16px;
        color: #F0E6D2;
    }

    .home-thumb-info h2 span{
        float: right;
    }

    .card:hover .home-thumb-info{
        opacity: 1;

    }

    /* THUMB */

    .next-project-thumb{
        width: 90%;
        margin: 10% auto;
    }

    .dbs-thumb img{
        padding: 12px 12px 4px;
    }

    .dbs-thumb p{
        color: #fff;
        font-size: 20px;
        text-align: center;
    }

    .dbs-mob-thumb{
        width: 90%;
        margin: 15% auto;

    }

     .dbs-mob-thumb img{
        padding: 12px 12px 4px;
    }

    .dbs-mob-thumb p{
        color: #231F20;
        font-size: 20px;
        text-align: center;
    }

    /* PORTFOLIO */

    .dbs-port-info{
        padding: 80px 12px;
    }

    .dbs-port-info span{
        display: block;
        font-size: 14px;
        font-weight: 600;

    }

    .dbs-port-info h2{
        font-size: 16px;
        font-weight: 400;
    }

.dbs-port-info .closebtn {
display: none;
}

.openbtn{
    opacity: 0;
}

    .dbs-port-header{
        width: 100%;
        min-height: 667px;
        padding-top: 5%;
        padding-bottom: 42px;
    }

    .dbs-port-header h1{
        text-align: center;
        font-weight: 400;
        font-size: 4rem;
        line-height: 0.8em;
    }

    .dbs-port-header-banner{
        width: 97%;
        height: 100vh;
        background-attachment: scroll;
        background-position: top;
        background-repeat: no-repeat;
        background-size: cover;
        margin: 0 auto;
        border-radius: 16px;
    }

      .dbs-port-banner{
        width: 100%;
        height: 100vh;
        background-attachment: scroll;
        background-position: left;
        background-repeat: no-repeat;
        background-size: cover;
        margin: 0 auto;
    }

.lays{
        background-image: url(../img/lays/lays-main-header.jpg);
    }

 .lays-2{
        background-image: url(../img/lays/lays-header.jpg);
    }
       
.iqos{
	background-image: url(../img/iqos/iqos-banner.jpg);
}

.iqos-2{
	background-image: url(../img/iqos/iqos-banner-2.jpg);
}

.tax-systems{
	background-image: url(../img/tax-systems/tax-systems-banner.jpg);
}

.tax-systems-2{
	background-image: url(../img/tax-systems/tax-systems-header.jpg);
}

.adidas{
	background-image: url(../img/adidas/adidas-header-2.jpg);
}

.adidas-2{
	background-image: url(../img/adidas/adidas-banner.jpg);
}

.cnbc{
	background-image: url(../img/cnbc/cnbc-bg.jpeg);
}

.cnbc-2{
	background-image: url(../img/cnbc/cnbc-studio-2.jpg);
}

.superdrug{
    background-image: url(../img/superdrug/superdrug-main-header.jpg);
}

.superdrug-2{
    background-image: url(../img/superdrug/superdrug-main-header-2.jpg);
}

.abel{
	background-image: url(../img/abel/abel-cole-banner.jpg);
}

.abel-2{
	background-image: url(../img/abel/abel-cole-header.jpg);
}

.three{
	background-image: url(../img/three/three-header.jpg);
}

.three-2{
	background-image: url(../img/three/three-banner.jpg);
}

.holiday-club{
	background-image: url(../img/holiday-club/holiday-club-main-header.jpg);
}

.holiday-club-2{
	background-image: url(../img/holiday-club/holiday-club-header.jpg);
}

.currys{
	background-image: url(../img/currys/curry-banner.jpg);
}

.stella{
	background-image: url(../img/stella-artois/stella-artois-banner.jpg);
}

.stella-2{
	background-image: url(../img/stella-artois/stella-artois-header.jpg);
}

.avast{
	background-image: url(../img/avast/avast-banner.jpg);
}


    

   .dbs-port .row{
    width: 97%;
    margin: 24px auto;

   }

   .dbs-port img {
    padding: 16px;
   }

   .project-btn #close, 
    .project-btn #open {
        display: none;

   }

   .port-quote{
    width: 80%;
    margin: 0 auto;
    font-size: 3rem;
    font-weight: bold;
    padding: 10% 0;
    color: rgba(0,0,0,0.2);
   }

   .port-quote span{
    display: block;
    font-size: 24px;
   }
   
   
    @media only screen and (min-width: 960px) {

    .dbs-port-info{
        padding: 24px 12px;
    }

  .dbs-port-header h1 {
    width: 80%;
  margin: 10% auto 5%;
  font-size: 6rem;


  }      

.dbs-port-header-banner {
    background-attachment: fixed;
  }

  .dbs-port-banner {
    background-attachment: fixed;
  }

#sidebar {
  position: fixed;
  top: 0;
  left: -420px;
  height: 100vh;
  width: 420px;
  transition: 0.5s;
  background: #ED1C24;
}

.project-btn #close {
  display:none;
  position: fixed;
  cursor: pointer;
  top: 400px;
  right: 24px;
  font-size: 1.2em;
  background:#ED1C24;
  border: none;
  color: #F0E6D2;
  padding: 8px 16px;
}
.project-btn #open {
  display:block;
  position: fixed;
  cursor: pointer;
  top: 400px;
  right: 24px;
  font-size: 1.2em;
  border: none;
  background:#ED1C24;
  color: #F0E6D2;
  padding: 8px 16px;
}

.dbs-port-info{
    color: #F0E6D2;
    padding: 42px 24px 24px;
    
}

.dbs-port-info h2{
    font-size: 24px;
}







}