@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600&family=Pacifico:wght@400;500;600&family=Qwitcher+Grypen:wght@400;700&display=swap');

*{
    margin: 0;
    padding: 0;
    outline: none;
    border: none;
    text-decoration: none;
}
body{
    margin: 0;
    padding: 0;
    background-color: white;
}
.right-col{
    /* margin-top: 120px; */
    margin-left: 3rem;
    display: flex;
    align-items: center;
}
#icon{
    width: 40px;
    cursor: pointer;
    color: pink;
}
.right-col img {
    width: 30px;
    height: 30px;
}
.right-col p {
    font-family: 'Pacifico', cursive;
    color: blue;
    font-size: 18px;
}
section {
    padding: 5rem 10%;
}

.header {
    padding-top: 1em;   
    padding-bottom: 1em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 1000;
}

.header img .logo {
    height: 1%;
    width: 2%;
}

.header .nav {
    list-style: none;
}

.header .nav a {
    font-size: 20px;
    margin-left: 4rem;
    color: brown;
    font-family: 'Dancing Script', cursive;
}

.header .nav a:hover {
    background-color: pink;
    padding: 0.5em;
    border-radius: 2rem;
    padding-left: 1em;
    padding-right: 1em;
}
.header .nav .nav_toggle{
    display: none;
}

/* home */
.bd{
    width: 100%;
    height: 100vh;
    margin: 0;
    background-image: url(../images/abike1.jpg);
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.bd .bdtext{
    position: absolute;
    padding-top: 2em;
    margin-left: 30em;
    font-family: 'Qwitcher Grypen', cursive;
}
.bd .bdtext h1 {
    color: rgb(23, 20, 216);
    text-align: center;
    font-size: 90px;
}
.bd .bdtext h2 {
    color: rgb(23, 20, 216);
    text-align: center;
    font-size: 80px;
}

/* Wishes */
.bd-grid{
max-width: 1024px;
display: grid;
grid-template-columns: 50%;
grid-column-gap: 1rem;
width: calc(100% - 2rem);
margin-left: 2.5rem;
margin-right: 2.5rem;
/* margin-left: auto;
margin-right: auto; */
}
/* section */
.section-title{
    color: brown;
    font-size: 40px;
    font-family: 'Dancing Script', cursive;
    margin-top: 2rem;
    text-align: center;
    text-transform: capitalize;
}
.about__container {
    /* row-gap: 2rem;
    text-align: center; */
    grid-template-columns: repeat(2, 1fr);
    display: flex;
    align-items: center;
    margin-top: 2rem;
    text-align: justify;
}
.about__subtitle {
    margin-bottom: 2.5rem;
    color: blue;
    font-size: 35px;
    font-family: 'Dancing Script', cursive;
}
.about__text {
    font-size: 18px;
    font-family: 'Pacifico', cursive;
}
.about__img {
    justify-self: center;
}
.about__img img {
    width: 300px;
    border-radius: 0.5rem;
}

/* gallery*/
.gallery .heading{
    color: brown;
    font-size: 40px;
    font-family: 'Dancing Script', cursive;
    text-align: center;
    text-transform: capitalize;
}
.gallery p{
    text-align: center;
    font-size: 25px;
    font-family: 'Dancing Script', cursive;
    font-weight: bolder;
}
.gallery .gallery_images{
    display: grid;
    margin-top: 3rem;
    grid-template-columns: repeat(3, 280px);
    column-gap: 4rem;
    row-gap: 3rem;
    margin-left: 3rem;
    justify-content: center;
}
.gallery .gallery_images .gallery_image {
    flex: 1 1 20%;
}
.gallery .gallery_images .gallery_image img {
    width: 100%;
    height: 20rem;
    border-radius: 2rem;
}
/* footer */
/* footer */
.footer {
    background: brown;
    /* padding: 0px; */
}
/* .footer .icons-container {
    display: flex;
    font-family: Arial, Helvetica, sans-serif;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.footer .icons-container .icons{ 
    margin-right: 80px;
}
.footer .icons-container .icons i.fas{
    font-size: 20px;
    color: white;
}
.footer .icons-conainer .icons h3{
    text-transform: capitalize;
    font-size: 20px;
}
.footer .share{
    text-align: center;
    padding: 20px 0;
}
.footer .share img{
    height: 60px;
    width: 60px;
    margin-left: 20px;
    border-radius: 2rem;
} */
.footer .credit {
    /* font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    justify-content: center;
    align-items: center;
    text-transform: capitalize;
    font-size: 12px; */
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px; 
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.footer .credit img{
    height: 40px;
    width: 40px;
    margin-left: 20px;
    border-radius: 2rem;
}

@media screen and (max-width:1200px) {
    .gallery .gallery_images{
        column-gap: 1rem;
    }
}
@media screen and (max-width:760px) {
    .right-col {
        margin-left: 0;
    }
    .right-col p{
        font-size: 12px;
    }
    #icon{
        width: 30px;
    }
    .header .nav{
        position: relative;
        top: 100%;
        left: 0;
        right: 0;
    }
    
    .header .nav .nav_menu a {
        display: block;
        margin: 2.2rem;
    }
     .nav_menu {
        position: fixed;
        top: 5rem;
        right: -100%; /* right:0; its render the nav bar but when its right:-100 */
        width: 45%;
        height: 100%;
        padding: 2rem;
        background-color: brown;
        transition: 1s;        
    }
    .header .nav a {
        color: white;
    }
    .header .nav .nav_toggle{
        display: block;
        color: black;
        font-size: 1.5rem;
        cursor: pointer;
        float: right;
    }
    .show {
        right: 0;
    }
    .bd{
    width: 80%;
    height: 50vh;
    margin: 0;
    }
    .bd .bdtext{
        margin-left: 2em;
    }
    .bd .bdtext h1{
        font-size: 75px;
    }
    .bd .bdtext h2 {
        font-size: 60px;
    }
    .about__container {
        flex-wrap: wrap;
    }
    .about__img img{
        width: 300px;
        margin-left: 0.5rem;
    }
    .about__subtitle {
        margin-top: 3rem;
        margin-bottom: 0;
        color: blue;
        font-size: 40px;
        font-family: 'Dancing Script', cursive;
        text-align: center;
    }
    .about__text {
        font-size: 16px;
        margin-top: 0;
        margin-bottom: 0;
        text-align: center;
    }
    .gallery .gallery_images{
        display: flex;
        flex: 1 1 100%;
        flex-direction: column;
    }
    .gallery .gallery_images .large{
        margin-top: 3rem;
    }
    .footer .icons-conainer .icons i.fas {
        margin-top: 20px;
    }
    .footer .credit p{
        font-style: 7px;
    }
}
@media screen and (max-width: 500px){
    .about__img img{
        width: 200px;
    }
    .about__subtitle {
        margin-top: 3rem;
        margin-bottom: 0;
        color: blue;
        font-size: 25px;
        font-family: 'Dancing Script', cursive;
    }
}