@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: "IBM Plex Mono", monospace;
}

body {
    background-color: #080808;
    color: white;
}

nav {
    background-color: #8E24AA;
    color: white;
    width: 30vw;
    padding: 1%;
    margin: auto;
    border-radius: 20px;
    position: fixed;
    top: 1%;
    left: 50%;
    transform: translateX(-50%);
    border: 2px solid #c066da;
    box-shadow: 4px 4px 10px rgba(232, 143, 224, 0.551);
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 15px;
}

.nav-links a {
    color: white;
    text-decoration: none;
}

nav .current {
    text-decoration: overline;
}

nav .other:hover {
    text-decoration: overline;
}

main {
    width: 90vw;
    margin: auto;
    box-sizing: border-box;
    overflow: hidden;
}

main .mainContainer {
    margin-top: 8%;
    margin-bottom: 8%;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    gap: 15px;
}

main .mainContainer h3 {
    font-size: 44px;
    font-weight: 900;
    margin-bottom: 2%;
}

div .serviceContainer {
    border-radius: 10px;
    padding: 2%;
    width: 70%;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: #f0f0f0;
    box-shadow: 4px 4px 10px rgba(251, 252, 249, 0.4);
    gap: 10px;
}

div .serviceContainer .content {
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

div .serviceContainer .title {
    color: #1B1B1B;
    font-size: 32px;
}

div .serviceContainer .text {
    font-size: 16px;
    text-align: justify;
    color: #9C9C9C;
}

div .serviceContainer .image {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
}

div .serviceContainer .image img {
    border-radius: 10px;
    width: 225px;
}

footer {
    width: 100vw;
    box-shadow: 4px 4px 10px rgba(232, 143, 224, 0.551);
}

footer .foot {
    background-color: #8E24AA;
    width: 30%;
    padding: 1%;
    margin: auto;
    border: 2px solid #c066da;
    border-radius: 20px;
    text-align: center;
}


/* ----------------Media query------------------------ */




@media screen and (max-width: 1230px) {
    div .serviceContainer {
        flex-direction: column-reverse;
    }

    div .serviceContainer .content {
        width: 100%;
        align-items: center;
    }

    div .serviceContainer .title {
        text-align: center;
    }

    div .serviceContainer .text {
        text-align: center;
    }
}

@media screen and (max-width:1100px) {
    footer .foot {
        width: 50%;
        padding: 1%;
    }
}

@media screen and (max-width: 920px) {
    nav {
        width: 50vw;
        padding: 2%;
    }

    div .serviceContainer {
        padding: 3%;
        width: 90%;
    }

    main .mainContainer {
        margin-top: 12%;
    }

    main .mainContainer h3 {
        font-size: 32px;
    }

    div .serviceContainer .title {
        font-size: 26px;
    }

    div .serviceContainer .text {
        font-size: 14px;
    }

    footer .foot {
        width: 70%;
    }
}

@media screen and (max-width: 580px) {
    nav {
        width: 90vw;
    }

    div .serviceContainer .image img {
        width: 200px;
    }

    main .mainContainer {
        margin-top: 18%;
    }

    footer .foot {
        width: 90%;
    }
}