header {
    background-color: rgb(45, 171, 230);
    box-shadow: 2px 5px 5px 10px rgba(45, 171, 230, 0.6);
}

.head {
    position: fixed;
    z-index: 100;
}

section {
    margin-top: 5rem;
    width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
}

section h1 {
    font-size: 7rem;
    margin-bottom: 0;
}

section p {
    font-size: 3rem;
    margin-top: 3rem;
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: italic;
}

.sub-title {
    font-size: 4rem;
    margin-bottom: -2.5rem;
    margin-top: 4rem;
}

.same-title {
    font-size: 10rem;
    margin-top: 4rem;
}

footer {
    width: 100%;
    background-color: rgb(10, 10, 10);
    color: white;
    text-align: center;
    font-size: 2rem;
    margin-top: 3rem;
}

footer .container {
    padding-top: 1rem;
    margin-bottom: -10px;
}

.box-icons a,
.follow-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: .2rem solid rgb(45, 171, 230);
    border-radius: 50%;
    font-size: 2rem;
    color: rgb(45, 171, 230);
    margin: 3rem 1.5rem 3rem 0;
    transition: .5s ease;
}

.follow-icons a:hover {
    background: rgb(45, 171, 230);
    color: white;
    box-shadow: 0 0 1rem rgb(45, 171, 230);
}

.box-icons a:hover {
    background: rgb(45, 171, 230);
    color: black;
    box-shadow: 0 0 1rem rgb(45, 171, 230);
}

.carousel {
    position: relative;
    width: 100%;
    height: 40vh;
    overflow: hidden;
    background-color: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 14rem;
    border-radius: 15px;
    z-index: 90;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    height: 100%;
    transition: opacity 0.5s ease-in-out;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.nav-shortcut {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #333;
    color: #fff;
    border: none;
    padding: 15px 15px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    z-index: 1000;
    transition: all .5s ease-in-out;
}

.nav-shortcut i {
    font-size: 25px;
}

@media (max-width: 768px) {
    .carousel {
        height: 20vh;
        border-radius: 5px;
        margin-top: 13rem;
    }

    section {
        margin-top: 1.5rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    section h1 {
        font-size: 4rem;
    }

    section p {
        font-size: 2rem;
        margin-top: 1rem;
    }

    .sub-title {
        font-size: 2rem;
        margin-bottom: -1rem;
        margin-top: 4rem;
    }
    
    .same-title {
        font-size: 5rem;
        margin-top: 2rem;
    }
    
    footer {
        width: 100%;
        background-color: rgb(10, 10, 10);
        color: white;
        text-align: center;
        font-size: 0.8rem;
        margin-top: 1.2rem;
    }
    
    footer .container {
        padding-top: 0.2rem;
        margin-bottom: -5px;
    }
    
    .box-icons a,
    .follow-icons a {
        width: 1.5rem;
        height: 1.5rem;
        border: .05rem solid rgb(45, 171, 230);
        border-radius: 50%;
        font-size: 0.8rem;
        color: rgb(45, 171, 230);
        margin: 1.2rem .5rem 1.2rem 0;
        transition: .5s ease;
    }
    
    .follow-icons a:hover {
        background: rgb(45, 171, 230);
        color: white;
        box-shadow: 0 0 1rem rgb(45, 171, 230);
    }
    
    .box-icons a:hover {
        background: rgb(45, 171, 230);
        color: black;
        box-shadow: 0 0 1rem rgb(45, 171, 230);
    }
    
    .sermon-box img {
        border-radius: 8px;
    }

    .nav-shortcut {
        position: fixed;
        bottom: 12px;
        right: 12px;
        background-color: #333;
        color: #fff;
        border: none;
        padding: 9px 9px;
        border-radius: 50%;
        cursor: pointer;
        display: none;
        z-index: 1000;
        transition: all .5s ease-in-out;
    }
    
    .nav-shortcut i {
        font-size: 17px;
    }
}