:root {
    --primary-color: #E3C2AF;
    --dark-grey: #2F2E2E;
}

@font-face {
  font-family:"playfair-display";
  src: url("PlayfairDisplay.ttf") format("truetype");
}

@font-face {
  font-family:"didot-italic";
  src: url("DidotItalic.ttf") format("truetype");
}

* {
    font-family: playfair-display, serif;
    font-size: 23px;
}

img {
    width: 100%;
    height: auto;
}

hr {
    border-color: var(--primary-color);
    max-width: 300px;
    margin: auto;
}

a,
a:hover {
    color: var(--dark-grey);
}

/* ===========================================
    COMMON CLASSES
============================================== */
.title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    text-decoration: none;
}

#wrapper {
    padding: 0 80px;
}

.content-div {
    padding: 100px 0;
}

.content-div a,
#footer a {
    text-decoration: underline;
    font-size: 13px;
    font-family: Arial,Helvetica,sans-serif !important;
}

.content-wrapper {
    width: 700px;
    margin: auto !important;
    max-width: 100%;
} 

.mb-50 {
    margin-bottom: 50px;
}


/* ===========================================
    HEADER
============================================== */
#header {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;

}

#header .title {
    letter-spacing: 0.05em;
}

#header .title:hover {
    text-decoration: none;
}



/* ===========================================
    SIDEBAR
============================================== */
#sidebar #btn {
    padding: 25px 22.5px;
	position: fixed;
	z-index: 5;
    height: 80px;
    width: 80px;
	top: 0;
	right: 0;
	cursor: pointer;
	transition: left 500ms cubic-bezier(.6, .05, .28, .91);
}

#sidebar #btn div {
	width: 35px;
	height: 2px;
	margin-bottom: 8px;
	background-color: #2f2e2e;
	transition: transform 500ms cubic-bezier(.6, .05, .28, .91), opacity 500ms, background-color 250ms;
}

#sidebar #btn.active div {
	background-color: cubic-bezier(.6, .05, .28, .91);
}

#sidebar #btn.active #top {
	transform: translateY(10px) rotate(-135deg);
}

#sidebar #btn.active #middle {
	opacity: 0;
	transform: rotate(135deg);
}

#sidebar #btn.active #bottom {
	transform: translateY(-10px) rotate(-45deg);
}

#sidebar #box {
	position: fixed;
	z-index: 4;
	overflow: auto;
	top: 0px;
	right: -275px;
	width: 275px;
	opacity: 0;
	padding: 20px 0px;
	height: 100%;
	background-color: #f6f6f6;
	color: #343838;
	transition: all 350ms cubic-bezier(.6, .05, .28, .91);
}

#sidebar #box.active {
	right: 0;
	opacity: 1;
}

#sidebar #items {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}

#sidebar #items .item {
	position: relative;
	cursor: pointer;
	font-size: 20px;
	padding: 15px 30px;
	transition: all 250ms;
}

#sidebar #items .item:hover {
    padding: 15px 45px;
	background-color: transparentize(#343838, .8);
}

#sidebar #btn, 
#sidebar #btn * {
	will-change: transform;
}

#sidebar #box {
	will-change: transform, opacity;
}

#sidebar .activelink {
    color: var(--primary-color);
}

#sidebar a {
    font-size: 20px;
}

#sidebar a:hover {
    color: var(--primary-color);
    text-decoration: none;
    transition: 0.3s;
}



/* ===========================================
    PARALLAX 
============================================== */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 300px 0;
}

#parallax-1 {
    background-image: url("../images/p1.jpg");
}

#parallax-1 img {
    width: 138px;
}

#parallax-2 {
    background-image: url("../images/p2.jpg");
}

#parallax-2 h4 {
    font-size: 92px;
    font-weight: bold;
    color: #fff;
}



/* ===========================================
    SERVICES 
============================================== */
#servicesCarousel .top-caption {
    position: absolute;
    top: 60px;
    right: 50%;
    left: 50%;
    width: fit-content;
}

#servicesCarousel .top-caption img {
    width: 28px;
}

#servicesCarousel .top-caption hr {
    border-color: #fff;
}

#servicesCarousel .carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
}

#servicesCarousel h3 {
    font-size: 60px;
    font-style: italic;
    font-weight: bold;
    text-shadow: none;
    letter-spacing: 0.06em;
}

#servicesCarousel p {
    font-family: Didot-Italic, serif;
    font-size: 26px;
    text-shadow: none;
    font-weight: bold;
    letter-spacing: 0.05em;
}

#servicesCarousel .carousel-control:hover {
    background: none;
}

#servicesCarousel .carousel-indicators li {
    width: 7px;
    height: 7px;
}



/* ===========================================
    CONTACT 
============================================== */
#contact img {
    width: 60px;
}

#contact .icon-box * {
    font-size: 13px;
    font-family: Arial,Helvetica,sans-serif;
    color: var(--dark-grey);
}

#contact .d-flex {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

#contact .icon-box:not(#address) {
    width: 150px;
}

#contact form .row {
    display: flex;
}

#contact form .col {
    width: 50%;
    padding: 0 15px;
}

#contact input,
#contact textarea {
    border: 0;
    box-shadow: none;
    border-bottom: 1px solid;
    border-radius: 0;
    font-size: 13px;
    font-family: Arial,Helvetica,sans-serif;
    margin-bottom: 20px;

}

#contact textarea {
  resize: none;
}

#contact input:hover,
#contact textarea:hover {
    border-width: 2px;
}

#contact input:focus::placeholder,
#contact textarea:focus::placeholder{
  color: transparent;
}

#contact form button {
    width: 100%;
    font-size: 26px;
    font-weight: bold;
    font-style: italic;
    border: 0;
    background: none;
    transition: 0.5s;
}

#contact form button:hover {
    background: var(--dark-grey);
    color: #fff;
}



/* ===========================================
    FOOTER 
============================================== */
#footer {
    background-color: var(--dark-grey);
    padding: 50px 0;
}

#footer a {
    color: #fff;
}



/* ===========================================
    RESPONSIVE
============================================== */
@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    * {
        font-size: 28px;
    }
    
    #header {
        height: 50px;
        justify-content: left;
    }
    
    #header .col-md-12,
    #wrapper {
        padding: 0;
    }
    
    .row {
        margin: 0;
    }
    
    #sidebar #btn {
        padding: 15px 12.5px;
        height: 50px;
        width: 50px;
    }
    
    #sidebar #btn div {
        width: 25px;
    }
    
    #sidebar #box {
        width: 100%;
    }
    
    #sidebar a {
        font-size: 26px;
    }
    
    .parallax-bg {
        background-attachment: initial;
    }
    
    #parallax-1 {
        padding: 40px 0;
    }
    
    #parallax-1 img {
        width: 70px;
    }
    
    #parallax-2 h4 {
        font-size: 50px;
    }
    
    .title {
        font-size: 24px;
    }
    
    .carousel-inner {
        height: 400px;
    }
    
    .carousel-inner .item,
    .carousel-inner>.item>img {
        height: 100%;
    }
    
    .carousel-inner>.item>img {
        object-fit: cover;
    }
    
    #servicesCarousel .carousel-item {
        height: 100%;
    }
    
    #servicesCarousel .carousel-item>img {
        height: 100%;
        object-fit: cover;
    }
    
    #servicesCarousel hr {
        margin: 10px 0;
    }
    
    #servicesCarousel h3 {
        font-size: 30px;
    }
    
    #servicesCarousel p {
        font-size: inherit;
    }
    
    #contact #address-div {
        display: block;
    }
    
    #contact #address-div br {
        display: block;
        margin: 0 !important;
    }
    
    #contact form .col {
        width: 100%;
        padding: 0;
    }
    
    #footer {
        padding: 20px 0;
    }
}
