*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body{
    background: #080808;
    color: #fff;
}
#header{
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0.4)),url(home.jpg);
    background-size: cover;
    background-position: center;
}
.container{
    padding: 10px 10%;
}

nav{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

nav ul li{
    display: inline-block;
    list-style: none;
    margin: 12px 20px;
}
nav ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    position: relative;
}
nav ul li a::after{
    content: '';
    width: 0%;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.3s;
}
nav ul li a:hover::after{
    width: 100%;
    
}
.header-text{
    margin-top: 20%;
    font-size: 30px;
}
.header-text h1{
    font-size: 60px;
    margin-top: 20px;
}
.header-text h1 span{
    color: #ff004f;
}
/* -----------about-----------*/
#about{
    padding: 80px 0;
    color: #ababab;
}
.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.about-col-1{
    flex-basis: 35%;
}
.about-col-1 img{
    width: 100%;
}
.about-col-2{
    flex-basis: 60%;
}
.sub-title{
    font-size: 60px;
    font-weight: 600;
    color: #fff;
}
.about-body{
    font-size: 25px;
    font-weight: 300;
    color: #fff;
}
/*--------------events--------------*/
#events{
    padding: 30px 0;
}
.events-body{
    font-size: 25px;
    font-weight: 300;
    color: #fff;
}
.events-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
.events-list div{
    background: #262626;
    padding: 40px;
    font-size: 22px;
    font-weight: 250;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
}
.events-list div h2{
    font-size: 37px;
    font-weight: 500;
    margin-bottom: 15px;
}
.events-list div:hover{
    background: #ff004f;
    transform: translateY(-10px);
    
}
/*---------------parishes--------------------*/
#parishes{
    padding: 30px 0;
}
.parishes-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
.parishes-list div{
    background: #262626;
    padding: 40px;
    font-size: 25px;
    text-align: center;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
}
.parishes-list div h2{
    font-size: 35px;
    text-align: center;
    font-weight: 500;
    margin-bottom: 15px;
}
.parishes-list div:hover{
    background: #ff004f;
    transform: translateY(-10px);
}
/*--------------contact-------------------*/
#contact{
    padding: 30px 0;
}
.contact-col-1{
    flex-basis: 100%;
}
/*.contact-col-2{
    flex-basis: 35%;
}
.contact-col-2 img{
    width: 100%;
}
*/
.sub-title{
    font-size: 60px;
    font-weight: 600;
    color: #fff;
}
.contact-body{
    line-height: 125%;
    font-size: 25px;
    font-weight: 300;
    color: #fff;
}
.contact-header{
    line-height: 150%;
    font-size: 27px;
    font-weight: 600;
    color: #fff;
}
/*----------------css for mobile ----------------*/
nav .fas{
    display: none;
}

@media only screen and (max-width: 600px){
    #header{
        background-image: url(home_mobile.jpg);
    }
    .header-text{
        margin-top: 100%;
        font-size: 16px;
    }
    .header-text h1{
        font-size: 30px;
    }
    nav .fas{
        display: block;
        font-size: 25px;
    }
    nav ul{
        background: #ff004f;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: right 0.3s;
    }
    nav ul li{
        display: block;
        margin: 25px;
    }
    nav ul .fas{
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }
    .sub-title{
        font-size: 40px;
    }
    .about-body{
        font-size: 20px;
    }
    .about-col-1, .about-col-2{
        flex-basis: 100%;
        text-align: center;
    }
    .about-col-1{
        margin-bottom: 30px;
    }
    .events-list{
        text-align: center;
    }
    .contact-col-1{
        flex-basis: 100%;
        text-align: center;
        margin-bottom: 30px;
    }
/*    .contact-col-2{
        flex-basis: 100%;
        margin-bottom: 30px;
    }  */
    .contact-body{
        flex-basis: 100%;
        text-align: center;
    }
}