:root {
    --main-bg-color: #F5F4F0;
    --main-logo-color: #2A2A2A;
    --main-menu-color: #908F8E;
    --main-line-color: #C7BEB8;
    --main-text-color: #6B6B6B;
}

a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none;
    color: var(--main-text-color);
}

body {
    background-color: var(--main-bg-color);
    font-family: "Cormorant Garamond", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

h1 {
    width: 100%;
    color: var(--main-logo-color);
    font-weight: 300;
    font-size: 72px;
    line-height: 72px;
}

.nav_items_mobile {
    display: none;
}

h2 {
    width: 100%;
    color: var(--main-logo-color);
    font-weight: 300;
    font-size: 48px;
    line-height: 48px;
}

h5 {
    font-family: "Inter", sans-serif;
    width: 100%;
    color: var(--main-text-color);
    font-weight: 400;
    font-size: 20px;
    line-height: 33px;
}

.featured_text {
    padding-top: 20px;
}

.container_vance {
    max-width: 1541px;
    width: 90%;
    margin: 0px auto;
    margin-top: 2rem;

}

.top-navigation_vance {
    width: 100%;
    height: 80px;
    border-bottom: 1px solid rgba(42, 42, 42, 0.08);
}

.main-slider {
    width: 100%;
    margin-top: 5rem;
    display: block;
}

.logo {
    font-size: 28px;
    font-weight: 500;
    color: var(--main-logo-color);
    float: left;
    margin: 5px;
}

.nav-items_vance {
    font-size: 22px;
    font-weight: 300;
    color: var(--main-menu-color);
    float: right;
    margin: 5px;
}

.nav-items_vance span {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    margin-left: 33px;
    padding: 10px;
    border-bottom: 1px solid transparent;
    transition: border 0.3s ease-in-out;
}

.nav-items_vance span:hover {
    cursor: pointer;
    border-bottom: 1px solid var(--main-logo-color);

}

.main-slider {
    height: 890px;
    position: relative;

}

.main-slider img {
    float: right;
}

.inevitable-design {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: 890px;
    float: left;
    text-align: left;
    flex-direction: column;
}

.vance-image {
    margin-top: 33px;
    float: right;
    height: auto;
}

#milan {
    cursor: pointer;
}

/* .line_vance {
    display: block;
    position: absolute;
    left: 0px;
    top: calc(50% - 15px);
    width: 270px;
    height: 5px;
    background-color: var(--main-line-color);
} */
#time_milan {
    width: 120px;
    height: 40px;
    background-color: var(--main-line-color);
    color: var(--main-text-color);
    position: relative;
    bottom: 150px;
    left: 20px;
    text-align: center;
    vertical-align: middle;
    font-size: 14px;
    font-weight: 700;
    font-family: "Inter", sans-serif;
    line-height: 40px;
    border-radius: 10px;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

#time_milan:hover {
    opacity: 1;
    transition: all 0.5s ease-in-out;
}

#time_milan::after {
    content: '';
    position: absolute;
    bottom: -10px;
    /* Position the triangle below the div */
    left: 50%;
    /* Start at the horizontal center */
    transform: translateX(-50%);
    /* Center the triangle perfectly */
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--main-line-color);
}

.para {
    font-size: 14px;
    font-family: "Inter", sans-serif;
    float: left;
    width: 100%;
    text-align: left;
    line-height: 14px;
    transition: transform 0.3s ease;
    /* Set initial transform state, if necessary */
    transform: translate(0, 0);
}

.para:hover {
    transform: translateY(-10px);
    transition: all 0.5s ease-in-out;


}

.para:hover .material-symbols-outlined {
    transform: translateX(5px);
    transition: all 0.5s ease-in-out;
}

.material-symbols-outlined:hover {
    padding-left: 3px;
    transition: all 0.5s ease-in-out;
}

.para>a {
    border-bottom: 2px solid var(--main-logo-color);
    padding-bottom: 10px;
    text-align: left;
}

.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 20;
    font-size: 24px !important;
    line-height: 24px !important;
    vertical-align: middle;
}

.selected_clients {
    width: 100%;
    border-top: 1px solid rgba(42, 42, 42, 0.08);
    padding: 20px;
    margin-top: 5rem;
}

.selected_clients img {
    width: 140px;
    margin-right: 100px;
    padding: 10px;
    filter: invert(52%) sepia(14%) saturate(12%) hue-rotate(94deg) brightness(91%) contrast(85%);
    transition: filter 0.3s ease-in-out;
}

.selected_clients img:hover {
    filter: invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
    
}

.selected_clients h4 {
    font-weight: 300;
    font-size: 16px;
    padding-top: 3rem;
    padding-bottom: 1rem;
    word-spacing: 1.2px;
    color: var(--main-text-color);
    font-family: "Inter", sans-serif;
}

.spacing {
    margin-bottom: 5rem;
}

.featured_clients {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    text-align: justify;
    -ms-text-justify: distribute-all-lines;
    text-justify: distribute-all-lines;
}

.portfolio_clients {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    display: grid;
    grid-auto-rows: minmax(min-content, auto);
}

.portfolio_container img {
    max-width: 100%;
}

.portfolio_container {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
    cursor: pointer;
}


.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.fade-image {
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.image-container {
    display: grid;
    grid-template-areas: "stack";
}

.image-container img {
    grid-area: stack;
    /* All images go in the same spot */
    width: 100%;
    height: auto;
}

.text_below {
    float: left;
    width: 100%;
}

.active {
    opacity: 1;
}

.header_type {
    font-size: 12px;
    font-family: "Inter", sans-serif;
    width: 100%;
    text-align: left;
    line-height: 14px;
    font-weight: 300;
    text-transform: uppercase;
    color: var(--main-text-color);
}

.stretch {
    width: 100%;
    display: inline-block;
    font-size: 0;
    line-height: 0
}

.featured_clients>img {
    margin: 10px;
}

.featured_work p {
    font-size: 14px;
    font-family: "Inter", sans-serif;
    width: 100%;
    text-align: left;
    line-height: 14px;
    padding-bottom: 3rem;
}

.featured_work h2 {
    padding-top: 3rem;
    padding-bottom: 1rem;
}

.footer {
    border-top: 1px solid rgba(42, 42, 42, 0.08);
    height: 120px;
    width: 100%;
    padding-top: 2rem;
    padding-bottom: 2rem;

}

.copyright {
    text-align: left;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 14px;
    padding: 10px;
    color: var(--main-text-color);
    float: left;
    width: 300px;
}

.lets_connect {
    text-align: right;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 14px;
    padding: 10px;
    color: var(--main-text-color);
    float: right;
    width: 500px;
}

.lets_connect span {
    padding-left: 20px;
}

.lets_connect a {
    border: none;
}

.inevitable-design_mobile {
    display: none;
}

.featured_container {
    vertical-align: top;
    display: inline-block;
    zoom: 1;
}
.hide{
    display: block;
}
.header_text {
    color: var(--main-logo-color);
    font-family: "Cormorant Garamond", serif !important;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: bold;
    font-size: 30px !important;
    padding-top: 1rem;
    padding-bottom: 0.1rem !important;
    transition: all 0.4s ease-in-out;
}
.header_text:hover .material-symbols-outlined {
    transition: all 0.4s ease-in-out;
  transform: translateX(10px); /* Pomera ulevo za 10px */
    
}
.view_selected_work {
    display: none;
}

.header_subtext {
    color: var(--main-text-color);
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    padding-bottom: 5rem !important;
}

#italics {
    color: #0D0D0D;
    font-family: "Cormorant Garamond", serif !important;
    font-optical-sizing: auto;
    font-weight: 700;
    font-size: 24px;
    font-style: italic;
}

.center_text {
    position: relative;
    width: 75%;
    margin: 0px auto;
    text-align: center;
}

.first_animation {
    top: -20px;
    position: relative;
    animation: fadeInAnimation 2.9s;
}

.second_animation {
    top: -20px;
    position: relative;
    animation: fadeInAnimation 0.6s backwards;
    animation-delay: 0.5s;
}

.third_animation {
    top: -20px;
    position: relative;
    animation: fadeInAnimation 0.8s backwards;
    animation-delay: 1.2s;
}

.fourth_animation {
    top: -20px;
    position: relative;
    animation: fadeInAnimation 0.6s backwards;
    animation-delay: 2s;
}

.row {
    width: 100%;
    float: left;
    margin-bottom: 30px;
}

.col-2 {
    width: 48%;
    float: left;

}

.col-2:first-child {
    margin-right: 4%;
}

.col {
    width: 100%;
    float: left;
}

form {
    padding: 30px;
    width: 100%;
    margin: 0px auto;
    position: relative;
    top: -20px;
    display: block;
    height: 500px;
}

label {
    font-family: "Inter", sans-serif;
    color: var(--main-text-color);
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
}

input,
label {
    display: block;
}

.col-2>input {
    width: 100%;
}

.col>input {
    width: 100%;
}

input {
    border-radius: 10px;
    border: none;
    height: 36px;
    background-color: white;
    padding-left: 20px;
}

.wider_input {
    height: 64px;
}

.send_button {
    width: 195px;
    height: 48px;
    background-color: var(--main-logo-color);
    color: #FAFAF8;
    margin: 0px auto;
    border-radius: 10px;
    display: block;
}

hr {
    height: 1px;
    background-color: #FAFAF8;
}

.padding30 {
    margin-top: 20px;
    margin-bottom: 20px;

}

.mail {
    font-size: 18px;
    font-weight: 400;
    color: var(--main-logo-color);
}

.links {
    text-align: center;
}

.links>span {
    display: table;
    font-family: "Inter", sans-serif;
    color: var(--main-text-color);
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    margin: 0 auto;
}

.links a:first-child {
    margin-right: 30px;
}

.underline_animation {
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.underline_animation::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 5px;
    background-color: var(--main-line-color);
    animation: drawUnderline 1.6s forwards ease-out;
}

.underline_animation:hover::after {
    animation: drawUnderlineBackwards 0.6s forwards ease-out;
}

.thanks {

    position: fixed;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    background-color: #908F8E;
    overflow:hidden;
    margin: 0 !important;
    padding: 0;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
    display: none;
    transition: all 1s ease-in-out;

}

.thanks_message {
    width: 700px;
    height: 500px;
    display: inline-grid;
    justify-content: center;
    align-items: center;
    padding: 10px 4em;
    text-align: center;
    background-color: white;
    border-radius: 20px;
   

}
.thanks_message img{
    display: block;
    margin: 0 auto;
}
.close_message{
    position: relative;
    left: 100%;
    top: 0px;
    width: 30px;
}

.modal-dialog {

    max-width: 90vw;
    /* Sets the maximum width to 80% of the viewport width */
    width: 90vw;
    /* Sets the width to 80% of the viewport width */
    margin: 260px auto !important;
    /* Centers the modal horizontally */
}

.modal-content {
    height: auto;

    max-width: 1541px;
    margin: 0px auto;
    /* Sets the height of the modal content */
}

.modal-body {
    height: 100%;
}

.modal-header img {
    padding: 0;
    margin: 0;
    width: 100%;

}

.modal {
    --bs-modal-border-radius: 33px !important;
    --bs-modal-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.7);
}

.modal-header {
    padding: 0;
    margin: 0;
}

.btn-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    background-color: #FAFAF8;
}

.padding100 {
    margin-top: 100px;
    margin-bottom: 100px;
}

.contact_width {
    max-width: 800px;
    width: 100%;
    margin: 0px auto;
}

.line_below {
    width: 60px;
    height: 6px;
    margin: 20px auto;
    background-color: var(--main-line-color);
}
.conclusion h1{
    font-size: 60px;
}

.projects_container {
    width: 100%;
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: 50% 50%;
    margin-top: 80px;
    margin-bottom: 80px;

}

.right_text {
    text-align: right;
    width: 70%;
    float: right;
    margin-right: 50px;
    font-family: "Inter", sans-serif;
    color: var(--main-text-color);
    font-weight: 300;
    font-size: 18px;
    line-height: 26px;
}

.left_text {
    text-align: left;
    width: 70%;
    float: left;
    margin-left: 50px;
    font-family: "Inter", sans-serif;
    color: var(--main-text-color);
    font-weight: 300;
    font-size: 18px;
    line-height: 26px;
}

.projects_image_left img {
    float: right !important;
    display: block;
    border-radius: 20px;
}

.projects_image_right img {
    float: left !important;
    display: block;
    border-radius: 20px;
}

.medium_text {
    font-family: "Inter", sans-serif;
    width: 100%;
    color: var(--main-text-color);
    font-weight: 300;
    text-align: center;
    font-size: 18px;
    line-height: 22px;
}

.contactme {
    width: 100%;
    background-color: #C7BEB8;
    height: 50px;
}

.footer_image img {
    width: 100%;
    margin: 0;
    padding: 0;

}

.projects_text h2 {
    font-family: "Cormorant Garamond", serif;
    width: 100%;
    color: var(--main-logo-color);
    font-weight: 300;
    font-size: 30px;
    line-height: 32px;
}

.footer_mobile {
    display: none;
}


/* //funkcije */
@keyframes drawUnderlineBackwards {
    100% {
        width: 0;
        /* Start with no width */
    }

    0% {
        width: 100%;
        /* End with full width */
    }
}

@keyframes drawUnderline {
    0% {
        width: 0;
        /* Start with no width */
    }

    100% {
        width: 100%;
        /* End with full width */
    }
}

@keyframes fadeInAnimation {
    from {
        top: 0px;
        opacity: 0;
    }

    to {
        top: -20px;
        opacity: 1;
    }
}