@import './fons.css';

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    color: inherit;
    font-family: inherit;
}

html {
    overflow-x: hidden;
    background-color: #081018;
    color: white;
    font-family: Helvetica;
}

body {
    overflow: hidden;
    position: relative;
}

a {
    text-decoration: none;
}

ul {
    list-style-type: none;
}

.container {
    max-width: 83vw;
    margin-inline: auto;
}


.uneven-container {
    padding-left: 35px;
}

.absolute {
    position: absolute;
}

.call-to-action {
    display: flex;
    /* justify-content: center; */
    gap: clamp(0rem, -1.665rem + 7.102vw, 5.438rem);
    padding-left: clamp(0rem, -4.114rem + 17.551vw, 13.438rem);
}

.call-to-action__call {
    max-width: clamp(9.375rem, 4.668rem + 20.082vw, 24.75rem);
    font-size: clamp(0.875rem, 0.473rem + 1.714vw, 2.188rem);
    font-weight: 400;
    line-height: clamp(1.05rem, 0.568rem + 2.057vw, 2.625rem);
    letter-spacing: -0.05em;
}

.call-to-action__action {
    border-radius: 5px;
    background: linear-gradient(238.72deg, rgb(8, 224, 255) -7.115%, rgb(5, 145, 226) 99.092%);
    padding: 2.3% 7%;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: clamp(1rem, 0.636rem + 1.551vw, 2.188rem);
    font-weight: 700;
    line-height: clamp(1.15rem, 0.175rem + 2.601vw, 2.516rem);
    text-transform: uppercase;
    margin-top: 4px;
    cursor: pointer;
}

.call-to-action__arrow {
    width: clamp(3.5rem, 3.136rem + 1.551vw, 4.688rem);
    margin-left: 1rem;
    vertical-align: middle;
    margin-bottom: 5px;
}

.contact {
    display: flex;
    gap: 30px;
    cursor: pointer;
}

.contact__img,
.contact-img {
    border: 1px solid white;
    border-radius: 20px;
    padding: 10.9px 39.29px 10.9px 40.3px;
}

.contact__text {
    max-width: 180px;
    font-size: clamp(1.25rem, 0.963rem + 1.224vw, 2.188rem);
    font-weight: 700;
    line-height: 40.25px;
    text-transform: uppercase;
}

.head {
    display: grid;
    gap: 2px;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 40px;
}

.head__header {
   
}

.head__description {
    font-size: clamp(0.875rem, 0.569rem + 1.306vw, 1.875rem);
    font-weight: 400;
    line-height: clamp(1.05rem, 0.683rem + 1.567vw, 2.25rem);
    letter-spacing: -0.05em;
    padding-left: 20px;
    /* padding-bottom: 25px; */
}

.head__divider {
    background: linear-gradient(0deg, rgba(12, 110, 205, 0) 0.5%, #0C6ECD 49.21%, rgba(12, 110, 205, 0) 99.5%);
    width: 2px;
    height: 116px;
}

.head__content {
    padding-left: 5px;
    display: flex;
    align-items: center;
}

.box {
    background: linear-gradient(138.85deg, transparent 2.17%, #1869BF 77.47%);

    background-clip: border-box;
    padding: 1px;
    border-radius: 20px;
}

.box__content {
    /* padding: 40px 30px 50px 30px; */
    padding-top: clamp(0.625rem, 0.051rem + 2.449vw, 2.5rem);
    padding-inline: clamp(0.625rem, 0.242rem + 1.633vw, 1.875rem);
    padding-bottom: clamp(0.625rem, -0.14rem + 3.265vw, 3.125rem);
    background-color: #081018;
    border-radius: 20px;
    height: 100%;
    width: 100%;
}

.box__img {
    width: clamp(1.313rem, 0.184rem + 4.816vw, 5rem);
    margin-bottom: clamp(0.375rem, -0.429rem + 3.429vw, 3rem);
}

.box__header {
    font-size: clamp(1rem, 0.732rem + 1.143vw, 1.875rem);
    font-weight: 700;
    line-height: clamp(1.1rem, 0.805rem + 1.257vw, 2.063rem);
    margin-bottom: clamp(0.625rem, 0.434rem + 0.816vw, 1.25rem);
}

.box__description {
    font-size: clamp(0.688rem, 0.515rem + 0.735vw, 1.25rem);
    font-weight: 400;
    line-height: clamp(0.756rem, 0.314rem + 1.179vw, 1.375rem);
}

.footer__top, .footer-bottom__container {
    padding-left: 20px;
}

.dialog {
    overflow: auto;
    margin: auto;
    width: calc(100vw - 20px);
    max-width: 67vw;
    border-radius: 30px;
    outline: none;
    border: none;
    background: #081018;

    border: 0.5px solid white;
}



.dialog__close {
    position: absolute;
    top: 32.4px;
    right: 32.4px;
    cursor: pointer;
}

.dialog::-webkit-scrollbar {
    display: none;
    
}

.dialog[open]::backdrop {
    background: #081018;
}
.dialog.project-form[open]::backdrop {
    background: #081018bc;
}



.dialog__container {
    position: relative;
    overflow: hidden;
    padding: 50px 48px;
}

.dialog__padding {
    padding-inline: 48px;
}

.spot {
    position: absolute;
    z-index: -100;
}

.none {
    display: none;
}

.section-header {
    
    font-size: clamp(1.5rem, 0.429rem + 4.571vw, 5rem);
    font-weight: 400;
    line-height: clamp(1.725rem, 0.493rem + 5.256vw, 5.749rem);
    text-transform: uppercase;
}
.dialog-header {
    /* padding-top: 30px; */
    margin-bottom: 12px;
    font-size: clamp(1.5rem, 0.429rem + 4.571vw, 5rem);
    font-weight: 400;
    line-height: clamp(1.725rem, 0.493rem + 5.256vw, 5.749rem);
    text-transform: uppercase;
}

html:has(dialog[open]) {
    overflow-y: hidden;
    padding-right: 16px;
}
body:has(dialog[open]) {
    padding: 20px;
}
#top-layer {
    background-color: red;
}