/*#region General*/

html{
    margin: 0;
}

header{
    color: black;
    background-color: #ECECEC;
    background-image: url("../img/concrete_title2.jpg");
    background-position: center;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40vh;
}
body{
    font-family: "Oswald", sans-serif;
    margin: 0;
}
a{
    text-decoration: none;
    color: inherit;
}
h1{
    font-size: 7vh;
    font-weight: 500;
}
header h2{
    font-size: 3vh;
    font-weight: 400;
}
h2{
    text-align: center;
    font-weight: 200;
}
h3{
    font-weight: 200;
}
nav{
    color: black;
    background-color: #ECECEC ;
    display: flex;
    text-decoration: none;
    justify-content: center;
    position: relative;
    align-items: center;

}
nav li {
    display: inline-block;
    margin-right: 20px;
    font-size: large;
}
ol{
    list-style: none;
}
ul{
    list-style: none;
}
hr{
    margin: 10% 5%;
}

.middle {
    font-size: 4vh;
    font-weight: 100;
    color: black;
    justify-self: center;
    align-self: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    margin: 5% 0;
    padding: 1px;
}
.about{
    font-size: 3vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
}

.contact {
    display: block;
    text-align: center;
    margin-bottom: 25%;
}

.contact ul {
    list-style: none;
    margin: 20px;
    padding: 0;
    text-align: center;
}

.contact ul li {
    line-height: 1.5;
    padding-left: 20px;
}

footer{
    color: black;
    background-color: #ECECEC;
    text-align: center;
    padding-top: 5%;
    padding-bottom: 5%;
    bottom: 0;
    width: 100%;
    height: 1rem;
}
/*#endregion*/

/*#region Techniques*/

/* General Technique Styling */
.technique {
    display: flex;
    flex-wrap: wrap; /* Wraps content for responsiveness */
    align-items: center;
    padding: 50px;
    height: auto;
}

.section a:hover{
   background-color: gray;

}

.technique:nth-child(even) {
    background-color: #f9f9f9; /* Alternate background for techniques */
}

.technique:nth-child(odd) {
    background-color: #fff;
}

/* Text Content Styling */
.content {
    flex: 1;
    padding: 20px;
    min-width: 300px;
}

.content p {
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Image Section Styling */
.images {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    min-width: 300px;
}

.images img {
    width: calc(50% - 10px); /* Half width with gap */
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#igref{
    margin-top: 10vh;
    font-size: 2rem;
    text-align: center;

}

.gallery{
    display: grid;
    margin: 0 auto;
    width: min-content;
    padding-top: 5%;
    padding-bottom: 5%;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 5px;
}
.gallery img{
    width: 200px;
    cursor: pointer;
}
.gallery img:hover{
    box-shadow: 0 32px 75px rgba(68, 77, 136, 0.3);
}

@media (max-width: 768px) {
    header{
        padding: 10% 0% 0% 0%;
    }
    .intro {
        margin: 20% 10%;
        font-size: 3vh;
    }
    /* Stack content for smaller screens */
    .technique {
        flex-direction: column;
        text-align: center;
    }

    .images img {
        width: calc(100% - 10px);
    }
}

@media (max-width: 500px) {
    header h2{
        display: none;
    }
}
/*#endregion*/

/*#region Fullscrean*/
.full-img{
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.full-img img{
    width: 90%;
    max-width: 500px;
}

.full-img span{
    position: absolute;
    top: 5%;
    right: 5%;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}

/*#endregion*/
