@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lobster&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}
body {
    background-color: #1483d5;
    min-height: 100vh;
    min-width: 100%;
}
/*nav start*/
header {
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 0px;
    transition: 0.6s;
}

header.sticky {
    background: #1483d5;
    padding: 15px 10px;
}

header img {
    width: 100px;
}

header .menu {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

header .menu a {
    color: #ffd700;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    margin: 0 30px;
    padding: 0 10px;
    border-radius: 20px;
    transition: 0.3s;
    transition-property: color, background;
}

header .menu a:hover {
    color: #000;
}

header .btn {
    color: #ffd700;
    font-size: 25px;
    cursor: pointer;
    display: none;
}

@media (max-width: 1060px) {
    header .btn {
        display: block;
    }

    header .menu {
        position: fixed;
        background: #1483d5;
        flex-direction: column;
        width: 100%;
        height: 100%;
        top: 0;
        bottom: 0;
        right: -100%;
        padding: 50px 50px;
        transition: 0.5s;
        transition-property: right;
    }

    header .menu.active {
        right: 0;
    }

    header .menu .close-btn {
        position: absolute;
        top: 0;
        left: 0;
        margin: 25px;
    }

    header .menu a {
        display: block;
        font-size: 15px;
        margin: 20px;
        padding: 0 15px;
    }
}
/*nav end*/

/*slide*/

.slider {
    background-size: cover;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.slides {
    background-size: cover;
    width: 500%;
    display: flex;
}

.slides input {
    display: none;
}

.slide {
    background-size: cover;
    width: 20%;
    transition: 2s;
}

.slide img {
    background-attachment: fixed;
    object-fit: cover;
    background-repeat: no-repeat;
    background-position-y: bottom;
    background-size: cover;
    width: 100%;
    height: 100vh;
}

/*css for manual slide navigation*/

.navigation-manual {
    position: absolute;
    width: 100%;
    margin-top: -40px;
    display: flex;
    justify-content: center;
}

.manual-btn {
    border: 1px solid #ffd700;
    padding: 3px;
    border-radius: 10px;
    cursor: pointer;
    transition: 1s;
}

.manual-btn:not(:last-child) {
    margin-right: 40px;
}

.manual-btn:hover {
    background: #ffd700;
}

#radio1:checked ~ .first {
    margin-left: 0;
}

#radio2:checked ~ .first {
    margin-left: -20%;
}

#radio3:checked ~ .first {
    margin-left: -40%;
}

#radio4:checked ~ .first {
    margin-left: -60%;
}

/*css for automatic navigation*/

.navigation-auto {
    position: absolute;
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: -40px;
}

.navigation-auto div {
    border: 1px solid #40d3dc;
    padding: 3px;
    border-radius: 10px;
    transition: 1s;
}

.navigation-auto div:not(:last-child) {
    margin-right: 40px;
}

#radio1:checked ~ .navigation-auto .auto-btn1 {
    background: #ffd700;
}

#radio2:checked ~ .navigation-auto .auto-btn2 {
    background: #ffd700;
}

#radio3:checked ~ .navigation-auto .auto-btn3 {
    background: #ffd700;
}

#radio4:checked ~ .navigation-auto .auto-btn4 {
    background: #ffd700;
}

#branding p {
    position: absolute;
    color: #fff;
    left: 50px;
    width: 75%;
    top: 40%;
}
#branding p span {
    font-family: "Lobster", cursive, sans-serif;
    color: #ffd700;
    font-size: 70px;
}

.social {
    position: absolute;
    z-index: 10;
    right: 20px;
    bottom: 20%;
    justify-content: center;
    align-items: center;
}

.social a {
    display: block;
    filter: invert(1);
    transform: scale(0.5);
    transition: 0.5s;
}
.social a img {
    height: 50px;
}
.social a:hover {
    filter: invert(-1);
    transform: scale(0.5) translateX(-25px);
}

@media (max-width: 800px) {
    #branding p {
        color: #fff;
        left: 10px;
        width: 90%;
        top: 40%;
    }
    #branding p span {
        font-size: 30px;
    }
    footer {
        display: flex;
        flex-direction: column;
    }
    footer .motto {
        font-size: 12px;
    }
}

footer {
    height: 70px;
    width: 100%;
    background-color: #1483d5;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
