/*Custom Property*/
:root {
    /*colors*/
    --international-orange-engineering: hsl(1, 91%, 37%);
    --cadet-blue-creyola: hsl(222, 14%, 69%);
    --oxford-blue-1: hsl(222, 47%, 15%);
    --oxford-blue-2: hsl(222, 44%, 14%);
    --oxford-blue-3: hsl(222, 50%, 11%);
    --sonic-silver: hsl(0, 0%, 44%);
    --space-cadet: hsl(222, 44%, 18%);
    --pastel-pink: hsl(1, 53%, 75%);
    --eerie-black: hsl(0, 0%, 15%);
    --light-grey: hsl(0, 0%, 80%);
    --white: hsl(0, 0%, 100%);
    --section-height: 100vh; /* Define a custom property for section height */



    /*typography*/
    --ff-chakra-petch: 'Chakra Petch', sans-serif;
    --ff-mulish: 'Mulish', sans-serif;

    --fs-1: 3.5rem;
    --fs-2: 3rem;
    --fs-3: 2.4rem;
    --fs-4: 1.8rem;
    --fs-5: 1.4rem;
    --fs-6: 1.2rem;

    --fw-400: 400;
    --fw-600: 600;
    --fw-700: 700;

    /*spacing*/

    --section-padding: 60px;

    /*box shadow*/
    --shadow: 0px 0px 100px 0px hsl(216, 9%, 90%);

    /*border radius*/
    --radius-pill: 100px;
    --radius-circle: 50%;

    /*transition*/
    --transition: 0.25s ease;
    --cubic-out: cubic-bezier(0.05, 0.83, 0.52, 0.97);

}

/*reset*/

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

li {
    list-style: none;
}

a,
img,
button {
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* img {
    height: auto;
} */

button {
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
}

address {
    font-style: normal;
}

html {
    font-family: var(--ff-mulish);
    font-size: 10px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--white);
    color: var(--sonic-silver);
    font-size: 1.6rem;
    line-height: 1.5;
    /* height: 300vh; */
    /* background-color: var(--eerie-black); */
}

:focus-visible {
    outline-offset: 4px;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: hsl(0, 0%, 98%);
}

::-webkit-scrollbar-thumb {
    background-color: hsl(0, 0%, 80%);
}

::-webkit-scrollbar-thumb:hover {
    background-color: hsl(0, 0%, 70%);
}


/*Gallery*/

img{
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    display: inline-block;
}

.grid-wrapper > div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-wrapper > div > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.grid-wrapper {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 200px;
    grid-auto-flow: dense;
}

.grid-wrapper .wide{
    grid-column: span 2;  
}

.grid-wrapper .tall {
    grid-row: span 2;
}

.grid-wrapper .big {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-heading {
    text-align: center;
    padding: 1%;
    color: var(--oxford-blue-3);
    font-weight: 700;
}

.gallery-text{
    text-align: center;
    padding-bottom: 1%;
    color: var(--oxford-blue-3);
    font-size: larger;
}

/* Gallery Hover Effect */
.grid-wrapper > div {
    position: relative;
    overflow: hidden;
}

.grid-wrapper > div > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.grid-wrapper > div:hover > img {
    transform: scale(1.1);
}


/* Gallery Image Frame */
.grid-wrapper > div {
    position: relative;
    overflow: hidden;
    border-radius: 5px; /* Add border-radius for rounded corners */
}

.grid-wrapper > div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--oxford-blue-3); /* Border color */
    box-sizing: border-box;
    transition: opacity 0.3s ease; /* Add transition for opacity */
    opacity: 0; /* Initially hide the border */
}

.grid-wrapper > div:hover::before {
    opacity: 1; /* Show the border on hover */
}

/* Gallery Image Section Frame */
/* .grid-wrapper {
    border: 2px solid var(--oxford-blue-3); 
    border-radius: 5px; 
    overflow: hidden;
}

.grid-wrapper:hover {
    border-color: var(--oxford-blue-3); 
} */


