:root {
    --gray-color:#383838;
    --Open-Sans-font:'Open Sans', sans-serif;
    --QuickSand-font:'Quicksand', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;

}

body {
    font-family:var(--Open-Sans-font);

}

#title {
    text-align: center;
    margin-top: 35px;
    text-transform: uppercase;
    margin-bottom: 100px;
    font-family: var(--Open-Sans-font);
    font-weight: 600;
    font-size: 50px;

}

@media screen and (max-width:1150px) {
    #title {
    font-size: 35px;
    margin-bottom: 20px;
    }
}

section.person-trailer  {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 550px;
    width: 90%;
    margin: auto;
    margin-bottom: 100px;
}

section.person-trailer div.float-down {
    align-self: end;
}

@media screen and (max-width:1150px) {
    section.person-trailer {
        /* flex-wrap: wrap; */
        flex-direction: column;
        justify-content: center;
        width: 90%;
        height: auto;
    }

    section.person-trailer .person-item:first-of-type{
        margin-top: 35px;
    }
    section.person-trailer .person-item{
        margin-bottom: 30px;
    }
    
    section.person-trailer div.float-down {
        align-self: normal;
    }

}

section.person-trailer div.person-item:hover {
    transform: scale(1.2);
    transition: 0.3s;
    cursor: pointer;
}

section.person-trailer div.person-item:hover img {
    box-shadow: 0px 0px 25px -3px rgb(62, 63, 83);
}



section.person-trailer div.person-item {
    display: flex;
    flex-direction: column;
    text-align: center;
    font-family: var(--Open-Sans-font);
    text-decoration: none;
    color: #383838;
    transition: 0.3s;
}

@media screen and (max-width:1150px) {
    section.person-trailer div.person-item {
        text-align: start;
        flex: 40%;    
    }
}

section.person-trailer img {
    max-width: 193px;
    height: 50%;
}

@media screen and (max-width:1150px) {
    section.person-trailer img {
        margin: auto;
        margin-bottom: 0px;
        max-height: 500px;
        max-width: 175px;
    }
}

section.person-trailer .person-item p  {
    font-size: 20px;
    margin-top: 25px;    
    text-transform: uppercase;
}

@media screen and (max-width:1150px) {
    section.person-trailer p {
        text-align: center;
        margin: auto;
        margin-top: 0px;
    }
}

dialog {
    display: none;
    max-width: 60%;
    border: none;
    margin: auto;
    position: fixed;
    top: 70%;
    left: 50%;
    box-shadow: 0px 0px 25px -3px rgba(66, 68, 90, 1);
    transition: transform 0.3s ease-in-out;
    transform: translate(-50%, -70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Adjust the width as per your needs */
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    animation: dialogSlideIn 0.3s forwards;
}

@media screen and (min-width:1150px) {
    dialog  {
        max-height: 550px;
        min-height: 350px;
    }
}

@media screen and (max-width:1150px) {
    dialog  {
        width: 80%;
        min-height: 50%;
        max-height: 90%;
        overflow-x: hidden;
        overflow-y: scroll;

    }
}

dialog .content-container {
    display: flex;
    height: 100%;
    margin-top: 25px;
    animation: dialogFadeIn 0.5s forwards;
}

@media screen and (max-width:1150px) {
    dialog .content-container {
        display: flex;
        flex-direction: column;
    }

}

dialog .content-container img {
    max-width: 193px;
    height: 100%;
    margin: auto;
    box-shadow: 0px 0px 5px 0px rgba(66, 68, 90, 1);

}

@media screen and (max-width:1150px) {
    dialog .content-container img {
        max-width: 170px;
        height: auto;
        margin-bottom: 18px;
        margin-top: 10px;
    }
}

dialog .content-container p{
    max-width: 50%;
    margin: auto;
}

@media screen and (max-width:1150px) {
    dialog .content-container p {
        max-width: 90%;
        width: 100%;
        margin-bottom: 18px;
        margin-top: 0;
        text-align: left;
    }
}

dialog .content-container i {
    margin-right: 25px;
    cursor:pointer;
}
/* CHAT GPT FOR DIALOG WINDOW */
@keyframes dialogFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* start menu styling */
.logo-container{
    width: 100%;
}

.logo-container img {
    width: 100%;
    margin: auto;
    max-width: 900px;
    display: block;
}

.menu-btn-container {
    width: 20px;
}

.menu-btn-container:hover {
    cursor: pointer;
}

.menu-section {
    background-color: var(--gray-color);
    display: flex;    
    justify-content: center;
    align-items: center;
    width: 100%;
}

@media screen and (max-width:1150px) {
    .menu-section {
        width: 100%;
        justify-content: center;
    }

    .menu-section i {
        align-self: flex-start;
        margin-top: 25px;
        margin-left: 15px;
    }
}


.menu-section ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 20px;
    max-width: 100%;
}

.menu-section ul li a {
    color: #F5EFEF;
    text-decoration: none;
    font-family: var(--Open-Sans-font);
    margin-right: 20px;
    font-size: 18px;
}



.menu-section ul li:hover a {
    font-weight: 700;
    transition: .2s;
}

.hide-icon, .menu-section .hide-li, .menu-section .hide-ul {
    display: none;
}

@media screen and (max-width:1150px) {
    .hide-icon {
        display: block;
        margin: 10px 0 10px 10px;
    }

 

    .menu-section ul {
        display: none;
        flex-direction: column;
        transition: 0.5s;
       
    }


    .menu-section > ul > li {
        margin-bottom: 10px;
        text-align: center;
    }

    .menu-section .hide-li {
        display: block;
    }

    .menu-section  #O-Nas {
        display: none;
    }

}
/* end menu styling */


/* footer start styling */

footer {
    background-color: var(--gray-color);
    height: 10vh;
}

.nav-contact {
    background-color: var(--gray-color);
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}

footer a {
    text-decoration: none;
    color: white;
}

.contact-item {
    padding: 5px;
    margin-bottom: 10px;
}

.contact-item address {
    display: inline;
}

.icon {
    margin-right:5px;
}

/* footer end styling */