/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */


article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: disc;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* END OF CSS RESET */

@font-face {
    font-family: 'Montserrat';
    src: url('./Montserrat/Montserrat-Light.ttf');
}

@font-face {
    font-family: 'Montserrat-Light';
    src: url('./Montserrat/Montserrat-Light.ttf');
}

/* @import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap'); */

/* use the below code to draw out the font */

/* font-family: 'Montserrat', sans-serif; */

/* h1 {
    font-family: 'Montserrat', sans-serif;
    text-decoration: underline;
    text-decoration-color: currentColor;
    font-size: 3em;
    line-height: 1.2;
} */

h1 {
    font-family: 'Montserrat', sans-serif;
    text-decoration-color: #336699;
    /* Match the underline color with the rest of the site */
    font-size: 3em;
    line-height: 1.2;
    margin-top: 20px;
    /* Adding some top margin */
}

.centrewords {
    position: relative;
    text-align: center;
    width: 60%;
    color: #336699;
    text-shadow: 1.5px 1.5px 3px #000000;
    font-family: 'Montserrat-Light', sans-serif;
    font-size: 36px;
    font-weight: bold;
    /* Using font-weight property for boldness */
    margin-top: 20px;
    /* Adding some top margin */
    line-height: 1.5;
}

/* improvement suggestion from chatgpt */

nav {
    width: 80vw;
    background-color: rgb(240, 241, 236);
    border-bottom: 4px solid #00A6A6;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.5);
    padding: 20px 20px 20px 20px;
    /* Adding a subtle shadow */


    text-align: center;
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
}

nav a.navbar {
    width: 13vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 14px;
    font-family: 'Montserrat-Light';
    text-decoration: none;
    color: #333;
    padding: 10px 15px;
    transition: color 0.15s ease-in-out;
}

nav a.navbar:hover {
    color: #2ea3f2;
}

img#elaskoflogo {
    width: 12vw;
    height: auto;
    margin: 10px;
    /* Adding some margin to the logo */
}

#hero {
    height: 80vh;
    width: 80vw;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.5);
    padding: 20px 20px 20px 20px;
    /* Adding a subtle shadow */
}

#hero::before {
    content: '';
    background-image: radial-gradient(circle at center, #f8f8f8 5%, rgba(255, 255, 255, 0) 55%), url('./photo_gallery/mission_beach_brzwy_pht.jpg');
    display: block;
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    background-size: cover;
    /* opacity: 0.55; */
    max-width: 80vw;
    margin: 0 auto;
}

.header {
    justify-content: center;
    position: relative;
    color: black;
    font-family: 'Montserrat-Light', sans-serif;
    font-size: 30px;
    font: Bold;
}

h2 {
    font-family: 'Montserrat-Light', sans-serif;
    text-align: center;
    font-size: 2em;
    display: flex;
    justify-items: center;
    align-items: center;
    z-index: 2;
    color: #336699;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    max-width: 1200px;
    margin: 0 auto;
}

.general_words {
    position: relative;
    color: rgb(12, 11, 11);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font: bold;
    line-height: 1.5;
    width: 80%;

}


.content {
    position: relative;
    width: 90vw;
    height: auto;
    display: flex;
}

.content_row {
    width: auto;
    height: auto;
    padding: 20px 20px 20px 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

#easyscreen_system {
    position: relative;
    width: auto;
    height: auto;
    display: inline-block;
    display: flex;
    flex-direction: column;
    border: none;
    border-style: none;
    border-width: none;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.5);
    margin: 20px 20px 20px 20px;
    padding: 20px 20px 20px 20px;
}

.content_column {
    position: relative;
    width: 80vw;
    height: auto;
    display: inline-block;
    display: flex;
    flex-direction: column;
    border: none;
    border-style: none;
    border-width: none;
    padding: 20px 20px 20px 20px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.5);
}

.box40width {
    width: 45%;
    padding: 20px 20px 20px 20px;
}

.subcontent {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: fit-content;
    height: auto;
    /* border: purple;
    border-style: solid;
    border-width: thin; */
    padding: 20px 20px 20px 20px;
}

.subcontent_row {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    align-items: none;
    width: 40%;
    height: 400px;
    border: black;
    border-style: none;
    border-width: thin;
    padding: 20px 0px 20px 0px;
    position: absolute;
    /* text-align: center; */
}

.subcontent_row_left {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 60%;
    height: 400px;
    border: black;
    padding: 20px 0px 20px 0px;
}

.subcontent_column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 2px 20px 20px;
}

.subcontent_column_left {
    display: flex;
    flex-direction: column;
    align-items: none;
    width: 50%;
    padding: 20px 20px 20px 20px;
}

.subcontent_column_left_reverse {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: flex-end;
    width: 50%;
    padding: 20px 20px 0px 20px;

}

img.fit_image {
    width: 80%;
    height: auto;
    object-fit: contain;
    border: grey;
}

#subcontent_row {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: none;
    width: 80vw;
    height: auto;
    border: none;
    border-style: none;
    border-width: thin;
}

#small_hero_long_life {
    position: relative;
    width: 100%;
    height: 400px;
    margin-right: 20px;
    margin-left: 20px;
}

#small_hero_long_life::before {
    content: "";
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 55%), url(./photo_gallery/black_altair_MH.jpg);
    position: absolute;
    width: 100%;
    height: auto;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    /* opacity: 0.55; */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right;
}

#small_hero_corrosion {
    position: relative;
    background-size: cover;
    width: 48%;
    height: 400px;
    margin-top: 20px;
    margin-right: 20px;
    margin-left: 20px;
}

#small_hero_corrosion::before {
    content: '';
    background: linear-gradient(45deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.99) 40%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0) 63%), url(./photo_gallery/Twilight-33lowres.jpg);
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: auto;
    background-size: cover;
}

.space_between {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

#small_hero_tight_seal {
    background-size: cover;
    position: relative;
    width: 48%;
    height: 400px;
    object-fit: cover;
    margin-top: 20px;
    margin-right: 20px;
}


#small_hero_tight_seal::before {
    content: '';
    background: linear-gradient(45deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.99) 40%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0) 63%), url(./photo_gallery/Breezeway_tightseal.jpg);
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: auto;
    background-size: cover;
}

#small_hero_customisable {
    background-size: cover;
    position: relative;
    width: 100%;
    height: 450px;
    object-fit: cover;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#small_hero_customisable::before {
    content: '';
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 1%, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0) 55%), url(./photo_gallery//Breezway-Louvres-with-Colourful-Blades.jpg);
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: auto;
    background-size: cover;
}

#small_hero_ventilation {
    background-size: cover;
    position: relative;
    width: 48%;
    height: 400px;
    object-fit: cover;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 10px;
    margin-bottom: 20px;
    padding: 20px 20px 20px 20px;
}

#small_hero_ventilation::before {
    content: '';
    background-image: url();
    background: linear-gradient(90deg, rgba(255, 255, 255, .99) 0%, rgba(255, 255, 255, 0.75) 40%, rgba(255, 255, 255, 0.65) 50%, rgba(255, 255, 255, 0) 63%), url(./photo_gallery/ventilation.jpg);

    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: auto;
    background-size: cover;
}

#small_hero_warranty {
    background-size: cover;
    position: relative;
    width: 48%;
    height: 400px;
    object-fit: cover;
    margin-top: 20px;
    margin-right: 20px;
    margin-left: 10px;
    margin-bottom: 20px;
}

#small_hero_warranty::before {
    content: '';
    background-image: url();
    background: linear-gradient(90deg, rgba(255, 255, 255, .99) 0%, rgba(255, 255, 255, 0.75) 40%, rgba(255, 255, 255, 0.65) 50%, rgba(255, 255, 255, 0) 63%), url(./photo_gallery/custom_louvres.jpg);

    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: auto;
    background-size: cover;
}


.picture_text {
    width: 80vw;
    text-align: center;
    display: block;
    background-color: transparent;
    border: 1px solid transparent;
    float: left;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.5);
    padding: 20px 20px 20px 20px;
}

.picture_text_2 {
    width: auto;
    text-align: center;
    display: block;
    background-color: transparent;
    border: 1px solid transparent;
    float: left;
}

footer {
    border-top: 4px solid #00A6A6;
    display: flex;
    flex-direction: column;
    background-color: #BBDEF0;
    opacity: 10;
    font-family: 'Montserrat', sans-serif;
}

.footer {
    display: flex;
    justify-content: center;
    font: xx-small;
}

.footer_email {
    font-size: x-small;
    display: flex;
    justify-content: center;
}

.picture_hero {
    position: relative;
    display: flex;
    justify-content: center;
    width: 50%;
    height: auto;
    
}

.figure_caption {
    font-family: 'Montserrat', sans-serif;
    font-size: x-small;
    color: #333;
    padding-top: 5px;
}

.empty_space {
    content: '';
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    height: 5vh;
}

.stronghold_hero {
    content: '';
    position: relative;
    background-image: radial-gradient(circle at center left, #f8f8f8 25%, rgba(255, 255, 255, 0) 55%), url(./photo_gallery/stronghold_apartment_1.jpg);
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    /* background-size: auto; */
    width: 100%;
    height: 700px;
    opacity: 0.9;
    display: flex;
    flex-direction: column;
    width: 80vw;
    /* justify-content: center; */
}

#stronghold_mech {
    width: 20vw;
    height: auto;
}

.stronghold_header {
    position: relative;
    width: 30%;
    margin-left: 5%;
}

.width_auto {
    width: auto;
}

.justify_content_center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.align_items_end {
    display: flex;
    justify-content: space-between;
}

.shadow_for_box {
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.5);

}

.slimline {
    content: '';
    position: relative;
    background-image: radial-gradient(circle at center left, #f8f8f8 25%, rgba(255, 255, 255, 0) 55%), url(./photo_gallery/slimline.jpg);
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    background-size: cover;
    width: 100%;
    height: 850px;
    opacity: 0.9;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
}

#high_columns {
    height: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

#select_louvres {
    background-image: radial-gradient(circle at top left, #f8f8f8 25%, rgba(255, 255, 255, 0) 50%), url(./photo_gallery/dreamy_louvres.jpg);

    /* background-image: url(./photo_gallery/dreamy_louvres.jpg); */
    background-position: right center;
    background-repeat: no-repeat;
    max-width: 100%;
    height: 690px;
    object-fit: cover;
    /* max-width: 1200px; */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin: 20px 20px 20px 20px;

}

.contacts {
    position: relative;
    width: 80vw;
    height: auto;
    display: inline-block;
    display: flex;
    flex-direction: row;
    border: none;
    border-style: none;
    border-width: none;
    padding: 20px 20px 20px 20px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.5);
    justify-content: space-around;
}

.grid {
    display: grid;
    /* grid-template-columns: repeat(3, 400px); */
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    /* Responsive columns */
    /* justify-content: center;
    align-content: center; */
    gap: 10px;
    /* height: auto; */
}

.grid_photo {
    object-fit: cover;
    width: 100%;
    height: 400px;
    cursor: pointer;
    overflow: hidden;
}

#lightbox {
    position: fixed;
    z-index: 1000;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .8);
    display: none;
}

#lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

#lightbox img {
    max-width: 90vw;
    max-height: 80vh;
    padding: 4px;
    background-color: black;
    border: 2px solid white;
}

.row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
    /* border: solid;
    border-color: black;
    border-width: 1.5px; */
}

/* Create two equal columns that sits next to each other */

.column {
    flex: 50%;
    padding: 0 4px;
    display: flex;
    justify-content: center;
    /* border: chartreuse solid 1.5px; */
}

.column img {
    margin-top: 8px;
    margin-right: 8px;
    vertical-align: middle;
    border: solid black 1px;
    width: 30%;
    height: 500px;
    object-fit: cover;
}

.whatsapp_button {
    display: inline-block;
    outline: none;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    border-radius: 500px;
    transition-property: background-color, border-color, color, box-shadow, filter;
    transition-duration: .3s;
    border: 1px solid transparent;
    letter-spacing: 2px;
    width: 30%;
    min-width: 160px;
    text-transform: uppercase;
    white-space: normal;
    font-weight: 700;
    text-align: center;
    /* padding: 17px 48px 17px 48px; */
    color: #fff;
    background-color: #1ED760;
    height: 48px;
}

.whatsapp_button:hover {
    transform: scale(1.04);
    background-color: #21e065;
}