/* general styles */
body {
    margin: 50px 0 0;
    padding: 0;
    /* fallback font */
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
}
h1 span, .navbar-light .navbar-nav .active > .nav-link, .social i:hover, .social i:active {
    color: darkred;
}
h1 span {
    font-size: 1.5em;
}
h1, h2, nav, .gallery button {
    font-family: 'Playfair Display', serif;
}
p, .about ul, .gallery h4, .imgFilter p {
    font-family: 'El Messiri', sans-serif;
}
nav ul, .carousel-item img {
    margin: auto;
}
h1, nav ul li a {
   letter-spacing: .1em;
}
.navbar-light .navbar-nav .active > .nav-link {
    text-decoration: underline;
}
.social {
    height: 100px;
}
.social a {
    margin: 10px 20px;
}
.social i {
    color: #222;
    font-size: 1.1em;
}
.social p {
    margin-top: 10px;
    letter-spacing: 0.5em;
    font-size: .9em;
}
.about, .contact, .social, .gallery .grid {
    margin-top: 50px;
}
/* Home */
.carousel-item img{
    width: 500px;
    height: 600px;
}
/* Gallery */
.gallery h4 {
    margin-top: 20px;
    border-bottom: solid 3px darkred;
    width: 50%;
    margin: auto;
}
.gallery a {
    color: darkred;
}
.gallery .unavailable {
    text-decoration: line-through;
}
.gallery .btn-link{
    color: #333;
    transition: .3s;
}
.gallery .btn-link:hover, button:hover, button .active,.btn.focus, .btn:focus {
    color: darkred;
    letter-spacing: .1em;
    text-decoration: underline;
    font-weight: bold;
}
.gallery .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
}
.gallery a {
    transition: 0.3s;
}
.gallery a:hover {
    opacity: .7;
}
.gallery img {
    width: 100%;
    box-shadow: 5px 10px 5px grey;
}
.gallery p {
    margin: 15px;
    font-size: .9em;
}

/* About */
.about a {
color: darkred;
}
.about-title h2{
    text-decoration: darkred underline;
}
.about img {
    width: 100%;
    box-shadow: 5px 10px 5px grey;
}
.about ul {
    list-style: none;
}
/* Contact */
.contact h2 i, .contact strong, .contact ::placeholder {
    color: darkred;
}
.contact h2 i {
    font-size: 3em;
    opacity: .6;
}
.contact ::placeholder {
    opacity: .5;
}

/* Media Queries */
/* ---------------- */
/* Gallery Grid */
@media (max-width:1000px){
    .gallery .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width:850px){
    .gallery .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width:475px){
    .gallery button {
        margin: 5px;
    }
    .gallery .grid {
        grid-template-columns: 1fr;
    }
}
/* About Text */
@media (max-width:766px){
    .about .text-left {
        margin-top: 40px;
    }
}
/* General Queries */
@media (max-width:550px) {
    .carousel-item img{
        width: 100%;
        height: 100%;
    }
    form {
        margin-bottom: 50px;
    }
}