@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&display=swap');
body{
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("-antecedentes.jpg");
}

/* Reset the font-family for the whole page */

h1, h2, h3, h4, h5, h6, p {
    font-family: 'Garamond', cursive ;
}

.color{
    color: #161719;
}

::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.container {
    width: 100%;
    min-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

}
.container1 {
    border-radius: 10px;

}
.container2 {
    background-color: #ffffff;
    height: auto;
    width: 100%;
    align-items: center; /* This centers horizontally */
    justify-content: center;
}
h3{
    color: #ffffff;
    margin: 25px 0;
}

.info1{
    margin: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: rgb(87, 21, 21);
    height: auto;
    width: 80%;
    border-radius: 10px;
    box-shadow: rgb(230, 178, 7) 0 15px 20px -5px;
}
.info3{
    margin: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: rgb(87, 21, 21);
    height: auto;
    width: auto;
    border-radius: 10px;
    box-shadow: rgb(230, 178, 7) 0 15px 20px -5px;
}

.logo{
    height: 25rem;
    width: 40rem;
    box-shadow: rgb(230, 178, 7) 0 15px 20px -5px;
    border-radius: 10px;

}
.main-cont{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    height: 80px;
    width: 100%;
    border-radius: 10px;
    background-color: rgb(87, 21, 21);
    box-shadow: rgb(230, 178, 7) 0px 15px 20px -5px;
}


.nav--list {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.item {
    position: relative;
    height: 40px;
    flex-grow: 1;  /* Allows items to expand and fill the space */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    user-select: none;
    cursor: pointer;
    margin: 0 15px; /* You can reduce margin for tighter spacing */
    border: 2px solid #f2c75c;
    overflow: hidden;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .nav--list {
        flex-direction: row;

    }

    .item {
        width: 100%;  /* Make each button as wide as the container */
        border: none;
        margin: 5px 0;

    }
    .logo {
        height: 20rem;
        width: 20rem;
    }


}

.item a {
    font-size: 10px;
    text-transform: uppercase;color: #f2c75c;
    z-index: 10;
    text-decoration: none;
    transition: color 200ms ease;
}

.item:hover a {
    color: #003b49;
}

.item:before {
    content: "";
    position: absolute;
    width: 0%;
    height: 100%;
    transform: skew(30deg);
    background: #f2c75c;
    transition: width 400ms ease;
}

.item:hover:before {
    width: 120%;
}

.item:nth-child(2):before {
    transform: skew(-20deg);
}

.item:nth-child(3):before {
    transform: skew(0deg);
}

.item:nth-child(4):before {
    width: 100%;
    height: 0%;
    bottom: 0px;
    transition: height 400ms ease;
}

.item:nth-child(4):hover:before {
    height: 100%;
}
.h3 {
    color: #ffffff;
}
p {
    margin: 10px;
    color: #0e0a0a;
}

.info2{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 20px;
    font-family: "Noto Sans Myanmar", cursive;
    font-size: 1.5rem;
}
.info7{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 20px;
}
.services{
    height: auto;
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center; /* Centers child elements horizontally */

}
.services1 {
    height: auto;
    width: 50%;
    margin: 25px;
}

.info4{
    background: black;
    height: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.projects-img{
    height: 13em;
    width: 13em;
}

.container2 {
    padding: 20px;
    text-align: center;
}

.info7 {
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 20px;
}

p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 40px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns by default */
    gap: 20px;
    justify-items: center;
    padding: 20px;
}

/* For tablets and small screens */
@media (max-width: 1024px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    }
}

/* For mobile phones */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr; /* 1 column for small screens */
    }
}


.grid-item {
    background: #f8f8f8;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.grid-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.projects-img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
}

.grid-item:hover .projects-img {
    transform: scale(1.1);
}

.grid-item h2 {
    font-size: 1.5em;
    color: #333;
    margin-top: 15px;
}

.grid-item p {
    font-size: 1em;
    color: #777;
    margin-top: 10px;
}
footer {
    background-color: #700c0c;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    border-top: 1px solid #444;
}

footer p {
    margin: 0;
    font-weight: 400;
}

footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #66ccff;
}

footer .social-icons {
    margin-top: 10px;
}

footer .social-icons i {
    font-size: 20px;
    color: #fff;
    transition: color 0.3s ease;
}

footer .social-icons a:hover i {
    color: #66ccff;
}
