body{
    background-color: #070B1A;
    color: white;
    transition: 2s;

    scroll-behavior: smooth;
}

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
}

.navlinks{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

nav a{
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: 0.5s;
    font-family: 'Courier New', Courier, monospace;

    font-weight: 510;
}

nav h2{
    font-family: sans-serif;
    font-weight: 100;
    font-size: 25px;
    text-shadow: 0 20px 4px white;
}

nav button{
    height: 45px;
    width: 150px;
    border: 2px solid;
    background-color: transparent;
    border-radius: 999px;
    font-size: 15px;
    color: white;
    cursor: pointer;

    transition: 0.5s;
}

nav button:hover{
    background-color: cyan;
    border-color: cyan;
    box-shadow: 0 0 4px 4px aqua;
    color: black;
}

nav a:hover{
    font-size: 20px;
    transform: translateY(-10px);
    text-shadow: 0 5px 5px white;
}

header{
    background-color: blue;
    top: 0;
    z-index: 100;
    position: sticky;

    border-radius: 10px;
}

.topic img{
    height: 550px;
    margin-top: 30px;
    border: 2px solid darkblue;
    border-radius: 8px;
    margin-right: 15px;
}

.topic h1{
    padding: 10px;
    font-size: 60px;
}

.topic{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topic span{
    /* text-shadow: 0 3px 3px rgb(239, 242, 243); */
    font-weight: 900;
}

.heads{
    padding: 15px;
    color: #2563EB;
    margin-top: 30px;
    text-align: center;
}

.imgcontainer{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.imgcontainer img{
    margin-top: 15px;
    height: 400px;
    border: 2px solid;
    border-radius: 10px;
    border-color: #5858cf;

    margin-bottom: 20px;
}

.imgcontainer img:hover{
    transform: scale(1.05);
    box-shadow: 1px 1px 5px 5px royalblue;
}

#services button{

    margin-top: 10px;
    margin-bottom: 35px;
    height: 55px;
    width: 150px;
    border: 2px solid;
    border-radius: 9px;
    font-size: 18px;
    font-family: 'Courier New', Courier, monospace;
    background-color: transparent;
    border-color: blue;
    color: rgb(223, 223, 255);

    box-shadow: 0 0 3px 3px rgb(6, 68, 240);
    font-weight: 600;
    transition: 0.5s;
}

#services button:hover{
    transform: translateY(-7px);
    text-shadow: 0 3px 5px white;

    box-shadow: 0 0 10px 0px blue;
}

#services{
    text-align: center;
}

#about a{
    color: aqua;
    text-decoration: none;
}

#about{
    margin-top: 55px;
    font-size: 20px;
    text-align: center;
}

#cnts{
    margin-top: 35px;
    text-align: center;
}

.links img:hover{
    transform: translateY(-10px);
}

.links img{ 
    border-radius: 1000px;
    height: 60px;
    transition: 0.5s;
}

#wa{
    height: 65px;
}

#end img{
    height: 60px;
    border-radius: 999px;
}

#end{
    margin-top: 40px;
   text-align: center;
   margin-bottom: 20px;
}


/* =========================
   TABLETS: 768px - 1024px
========================= */

@media screen and (max-width: 1024px) {

    nav {
        padding: 18px;
    }

    .navlinks {
        gap: 15px;
    }

    nav a {
        font-size: 15px;
    }

    nav h2 {
        font-size: 21px;
    }

    nav button {
        width: 120px;
        height: 40px;
        font-size: 13px;
    }

    .topic {
        gap: 15px;
        padding: 15px;
    }

    .topic h1 {
        font-size: 45px;
    }

    .topic img {
        height: auto;
        width: 45%;
        max-width: 450px;
    }

    .imgcontainer {
        flex-wrap: wrap;
        gap: 15px;
    }

    .imgcontainer img {
        height: auto;
        width: 40%;
        max-width: 350px;
    }

    #about {
        padding: 0 20px;
        font-size: 18px;
    }
}


/* =========================
   MOBILE PHONES: 767px DOWN
========================= */

@media screen and (max-width: 767px) {

    nav {
        flex-direction: column;
        gap: 18px;
        padding: 15px 10px;
    }

    .navlinks {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    nav a {
        font-size: 14px;
    }

    nav a:hover {
        font-size: 15px;
        transform: translateY(-3px);
    }

    nav h2 {
        font-size: 23px;
        text-align: center;
    }

    nav button {
        width: 135px;
    }

    .topic {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .topic h1 {
        font-size: clamp(30px, 8vw, 42px);
        padding: 5px;
    }

    .topic img {
        width: 100%;
        max-width: 420px;
        height: auto;
        margin: 15px 0;
    }

    .heads {
        font-size: 25px;
        padding: 10px;
    }

    .imgcontainer {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .imgcontainer img {
        width: 100%;
        max-width: 420px;
        height: auto;
        margin: 10px 0;
    }

    .imgcontainer img:hover {
        transform: scale(1.02);
    }

    #services button {
        width: 160px;
        max-width: 90%;
        font-size: 16px;
    }

    #about {
        margin-top: 35px;
        padding: 0 15px;
        font-size: 16px;
        line-height: 1.7;
        overflow-wrap: anywhere;
    }

    #cnts {
        margin-top: 25px;
        padding: 0 10px;
    }

    .links img {
        height: 50px;
    }

    #wa {
        height: 55px;
    }

    #end img {
        height: 50px;
    }

    #end {
        margin-top: 30px;
        padding: 0 10px;
    }
}


/* =========================
   SMALL PHONES: 380px DOWN
========================= */

@media screen and (max-width: 380px) {

    nav {
        padding: 12px 5px;
    }

    .navlinks {
        gap: 10px;
    }

    nav a {
        font-size: 12px;
    }

    nav h2 {
        font-size: 20px;
    }

    .topic h1 {
        font-size: 29px;
    }

    .heads {
        font-size: 22px;
    }

    #about {
        font-size: 15px;
    }

    .links img {
        height: 42px;
    }
}
