@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;500;700&display=swap');

html {
    --darkblue: #0c49c2;
}

#webdesign {
    color: black
}

#webdesign h1,
#webdesign h2,
#webdesign h3 {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
}

#webdesign h1,
#webdesign h2 {
    font-weight: 700;
}


#webdesign h3 {
    font-weight: 500;
}


.nav-link {
    color: rgb(36, 36, 36);
    font-weight: 500;
    -webkit-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
}

.hoverable:hover,
.hoverable:active {
    background-color: #e9ecef;
}

.landing-mosaic {
    margin-top: 50px;
    height: 110vh;
}

.landing-title {
    padding-top: 20vh;
    padding-top: 20dvh;
    padding-bottom: 10dvh;
    color: white;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.623);
    max-width: 85ch;
}

.mybutton {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    transition: all 300ms;
    -webkit-transition: all 300ms;
    -o-transition: all 300ms;
    text-align: center;
    margin-bottom: 7vw;
}

.hero-button {
    background-color: white;
    border: 2px solid white;
}

.hero-button:hover {
    background-color: transparent;
}

.hero-button a {
    color: var(--darkblue);
}


.hero-button:hover a {
    color: white;
}


.blue-button {
    background-color: var(--darkblue);
    border: 2px solid var(--darkblue);
    color: white;
    -webkit-transition: all 300ms;
    -o-transition: all 300ms;
    transition: all 300ms;
    margin-bottom: 9vw;
}

.blue-button:hover {
    background-color: white;
    color: var(--darkblue);
}

.blue-button a {
    color: white;
}

.blue-button:hover a {
    color: var(--darkblue);
}

.decorated {
    position: relative;
}

.decorated::after {
    content: "";
    background-image: url(/images/hr_red.png);
    position: absolute;
    background-size: contain;
    background-position: left;
    bottom: -25px;
    left: 0;
    background-repeat: no-repeat;
    width: 100%;
    height: 40px;
    -webkit-filter: invert(100%);
    filter: invert(100%)
}

.landing {
    margin-top: 100px;
    min-height: 95vh;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#031842ff), to(var(--darkblue)));
    background-image: -o-linear-gradient(#031842ff, var(--darkblue));
    background-image: linear-gradient(#031842ff, var(--darkblue));
    background-position: right;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
    position: relative;
}

.hero-image img {
    width: 50%;
    height: auto;
    border-radius: 20px 20px 0 0;
    border: 5px solid white;
    -webkit-transform: translateY(50px);
    -ms-transform: translateY(50px);
    transform: translateY(50px);
}

#webdesign section {
    position: relative;
    padding: 3rem 0rem 0rem 0rem;
}

#webdesign section::before {
    background-position: bottom;
    -webkit-mask-image: url(/images/mask2.png);
    mask-image: url(/images/mask2.png);
    -webkit-mask-position: bottom;
    mask-position: bottom;
    top: calc(-9vw + 1px);
    content: "";
    height: 9vw;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: auto 100%;
    mask-size: auto 100%;
    position: absolute;
    width: 100vw;
    z-index: 2;
}

#webdesign section:nth-of-type(even)::before {
    background-color: inherit;
}

#webdesign section:nth-of-type(odd)::before {
    background-color: white;
}

#webservices .grid {
    row-gap: 2rem;
    -webkit-column-gap: 3rem;
    -moz-column-gap: 3rem;
    column-gap: 3rem;
    -ms-grid-columns: 1fr 3rem 1fr 3rem 1fr 3rem 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    container-type: inline-size;
}

.cards {
    width: 100%;
    max-width: 800px;
}

.webservices {
    -ms-grid-column-span: 2;
    grid-column: span 2;
}

.webservices:last-child:nth-child(odd) {
    -ms-grid-column: 2;
    -ms-grid-column-span: 2;
    grid-column: span 2/4;
}

.webservices img {
    margin-bottom: 1rem;
    width: 100px;
}

.offers-container {
    -webkit-column-gap: 5rem;
    -moz-column-gap: 5rem;
    column-gap: 5rem;
    -ms-grid-columns: 1fr 5rem 2fr;
    grid-template-columns: 1fr 2fr;
}

.types-ul {
    list-style: none;
}

.types-ul li {
    padding-block: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 12px;
    position: relative;
}

.types-ul li img {
    width: 2rem;
}

.types {
    position: relative;
    padding-block: 10px;
}

.bottom-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #e1e1e1;
    bottom: 0;
}

.package {
    width: 40px;
    height: 40px;
}

@media screen and (min-width:578px) {
    .package {
        width: 60px;
        height: 60px;
    }
}


#competence .logos img {
    -webkit-filter: grayscale(100);
    filter: grayscale(100);
    max-width: 150px;
    max-height: 100px;
    margin: auto;
    padding: 20px 10px;
}

.name {
    background-color: white;
}

.name a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.logos {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;

}

#competence>div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: auto;
    max-width: 1200px;
}

#competence .logos .name {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    vertical-align: middle;
    height: 100px;
    width: 200px;
    margin: 15px;
    padding: auto 30px;
    border: 1px solid rgb(190, 190, 190);
    border-radius: 10px;
    -webkit-box-shadow: 2px 2px 4px rgb(190, 190, 190);
    box-shadow: 2px 2px 4px rgb(190, 190, 190);
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
}

input,
textarea {
    padding: 1rem;
    border-radius: 10px;
    width: 100%;
    margin: 0.5rem 0;
}

input::-webkit-input-placeholder {
    color: rgb(37, 37, 37);
    opacity: 0.9;
}

input::-moz-placeholder {
    color: rgb(37, 37, 37);
    opacity: 0.9;
}

input:-ms-input-placeholder {
    color: rgb(37, 37, 37);
    opacity: 0.9;
}

input::-ms-input-placeholder {
    color: rgb(37, 37, 37);
    opacity: 0.9;
}

input::placeholder {
    color: rgb(37, 37, 37);
    opacity: 0.9;
}


.contact-icon {
    width: 100px;
    height: 100px;
    margin-right: 20px;
}

@media screen and (max-width: 576px) {
    .types-ul li {
        padding-block: 15px;
    }

    #competence .logos .name {
        height: 60px;
        width: 120px;
        margin: 10px;
        padding: auto 20px;
    }

    .name img {
        width: 80%;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
    }
}