
:root{
    --ff-sans: font-family: "Raleway", sans-serif;

    --fs-400: 0.9275rem;
}

/* page style */
a, a:focus, a:active, a:hover, object, embed { outline: none; text-decoration: none; }
:-moz-any-link:focus { outline: none; }

:focus { outline: 0; }

.brand { padding: 10px 40px !important; }
.navbar { border-bottom: 4px solid #3f4b14; }

.icon-bar { margin-top: 1rem; padding: 1rem; }

/* MEGA MENU STYLE
********************************/ 
.mega-menu {
	padding: 10px 0px ! important;
	width: 540px;
  border-radius: 0;
  margin-top: 0px;
	}

	.mega-menu li {
		display: inline-block;
		float: left;
		font-size: 0.94rem;
		padding: 3px 0px;
		}

		.mega-menu li.mega-menu-column {
			margin-right: 20px;
			width: 150px;
			}

			.mega-menu .nav-header {
			padding: 0 !important;
			margin-bottom: 10px;
			display: inline-block;
			width: 100%;
			border-bottom: 1px solid #ddd;
			}
      .mega-menu img { padding-bottom: 10px;}


/* Disable Toggle style
********************************/  

/* Dropdown Toggle on style */
.navbar .nav li.dropdown.open > .dropdown-toggle, 
.navbar .nav li.dropdown.active > .dropdown-toggle, 
.navbar .nav li.dropdown.open.active > .dropdown-toggle {
    background: inherit; /* Set to inherit when using mouse hover to open dropdown */
    color: inherit;
    }   
    /* Toggle off style */
    .navbar .nav li.dropdown.open.active > .dropdown-toggle,
    .navbar .nav > li.dropdown > a:focus { 
    background: inherit;
    color: inherit;
    }
    /* Toggle hover */
    .navbar .nav li.dropdown > .dropdown-toggle:hover,
    .navbar .nav li.dropdown.open > .dropdown-toggle:hover {
    background-color: #DDDDDD;
    }
            
            
    /* Toggle caret*/
    .navbar .nav li.dropdown > .dropdown-toggle .caret {
        border-bottom-color:;
        border-top-color:;
        }
        /* Toggle caret hover */
        .navbar .nav li.dropdown > a:hover .caret, 
        .navbar .nav li.dropdown > a:focus .caret {
        border-bottom-color: #333;
        border-top-color: #333;
        }
        /* Toggle caret active */
        .navbar .nav li.dropdown.open > .dropdown-toggle .caret, 
        .navbar .nav li.dropdown.active > .dropdown-toggle .caret, 
        .navbar .nav li.dropdown.open.active > .dropdown-toggle .caret {
        border-bottom-color:#333;
        border-top-color: #333;
        }



/* Hover style
********************************/ 
.navbar .nav > li > a, .mega-menu a
 { 
  -webkit-transition: all 200ms ease;
	 -moz-transition: all 200ms ease;
	  -ms-transition: all 200ms ease;
	   -o-transition: all 200ms ease;
	      transition: all 200ms ease; 
	
		 /* -webkit-transform: translate3d(0, 0, 0); Webkit Hardware Acceleration*/ 
	     -webkit-backface-visibility: hidden; /* Safari Flicker Fix #2 */
	     -webkit-transform: translateZ(0);
}	

*,
*::before,
*::after{
    box-sizing: border-box;

}


html {
    font-family: var(--ff-sans);
    line-height: 1.7;
    color: hsl(234, 12%, 34%);
}
body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--ff-sans);
}

.raleway-100 {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
}

.raleway-300 {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
  }

  .raleway-500 {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
  }
.raleway-700 {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
  }  

.raleway-900 {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
  }


a:link {
    text-decoration: none;
    font-family: "Raleway", sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.4rem;
    color: hsl(240, 2%, 10%);
    }
a:hover {
    font-family: "Raleway", sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.4rem;
    text-decoration: none;
    color: hsl(130, 61%, 8%);
}
a:visited {
    font-family: "Raleway", sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.4rem;
    text-decoration: none;
    color: hsl(0, 60%, 11%);
}

p {
    font-family: "Raleway", sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5rem;
    color: hsl(231, 42%, 15%);
    text-align: left;
}

P .minmax {
    font-family: "Raleway", sans-serif;
    font-weight: 200;
    font-size: 0.5 rem;
    color: hsl(231, 42%, 15%);
    text-align: center;
}

#logo {
    width: 70%;
    height: 70%;
    margin-top: 2rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}    
.attribution {
    font-weight: 400;
    font-size: 1.4rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.navbar {
    width: 100%;
    background-color: #a6a7a6;

}

h1 {
    font-family: var(--ff-sans);
    font-weight: 300;
    font-stretch: 151%;
    font-size: 3rem;
    line-height: 3.3rem;
    color: hsl(231, 42%, 15%);
    text-align: center;

}

h2 {
    font-stretch: 151%;
    font-size: 1.9rem;
    line-height: 1.1rem;
    color: hsl(231, 42%, 15%);
    text-align: center;

}

h3 {
    font-size: 1.5rem;
    line-height: 1.9rem;
    color: hsl(231, 42%, 15%);
    text-align: center;

}

input {
    font-family: "Raleway", sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5rem;
    color: hsl(231, 42%, 15%);
    text-align: left;
    width: 75%;
    float: left;
    height: 25px;
    margin-top: 5px;
    text-align: left;
    text-indent: 5px;
    font-size: 12.6pt;
    border-radius: 5px;
    border: solid 1.5px #D3D3D3;
    -webkit-transition: 1s; /* Safari */
    transition: 1s;
    }
    input[type=text]:hover{
    box-shadow: 0 0 5pt 0.5pt #D3D3D3;
    }
    input[type=text]:focus {
    box-shadow: 0 0 5pt 2pt #D3D3D3;
    outline-width: 0px;
    }

    textarea {
        font-family: "Raleway", sans-serif;
        font-weight: 400;
        font-size: 1rem;
        color: hsl(231, 42%, 15%);
        text-align: left;
        width: 95%;
        float: left;
        height: 115px;
        margin-top: 5px;
        text-align: left;
        text-indent: 5px;
        font-size: 12.6pt;
        border-radius: 5px;
        border: solid 1.5px #D3D3D3;
        -webkit-transition: 1s; /* Safari */
        transition: 1s;
        }

    

#pic {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 0.75rem;
    line-height: 1.0rem;
    color: hsl(231, 42%, 15%);
    text-decoration: none;
    text-align: center;
    a:link {
    text-decoration: none;
    color: hsl(240, 2%, 10%);
    }
    a:hover {
        text-decoration: none;
        color: hsl(130, 61%, 8%);
    }
    a:visited {
        text-decoration: none;
        color: hsl(0, 60%, 11%);
    }
}

.centered {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
  }


.center-sm-w {
    position: relative;
    top: 15%;
    left: 6%;
    font-family: Raleway, sans-serif;
  }

.center-sm-low {
    position: relative;
    top: 80%;
    left: 6%;
    font-family: Raleway, sans-serif;
  }


.center-sm-b {
    position: relative;
    top: 10%;
    left: 6%;
    font-family: Raleway, sans-serif;
  }  

.txt-w-rub {
    font-size: 1.5rem;
    color: white
}  

.txt-b-rub {
    font-size: 1.5rem;
    color: black
}  

#hidd {
    font-family: Raleway, sans-serif;
    font-size: 0.6rem;
    color: white
}  

#pageviews-count {
    display: block;
    padding-top: 1rem;
    font-family: Raleway, sans-serif;
    font-size: 0.6rem;
    color: white;
    text-align: center;
}

#visits-count {
    display: block;
    padding-top: 1rem;
    font-family: Raleway, sans-serif;
    font-size: 0.6rem;
    color: white;
    text-align: center;
}

.container {
    padding-inline: 1rem;
    max-width: 1300px;
    margin-inline: auto;
}

.box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero {
    width: 100%;
    height: 1100px;
    display: block;
    justify-content: center;
    align-items: center;
    background-image: url("../images/01-approach.ESGP-2705x1500.png");
}

.wrapper {
    padding-inline: 1rem;
    max-width: 100%;
    margin-inline: auto;

}
.wrapper--narrow {
    display: flex;
    align-items: center;
    img {
        max-width: 300px;
       
    }
}

header {
    font-family: "Poppins", sans-serif;
    background: #cbcbcb;
}

header::after {
    content: '';
    display: table;
    clear: both;
}

.logo {
    float: left;
    padding: 10 0;
    width: 443px;
    height: 60px;
}

nav {
    float: right;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

nav li {
    font-family: "Poppins", sans-serif;
    display: inline-block;
    margin: 0 35px;
    padding-top: 20px;
    position: relative;
}

nav a {
    font-family: "Poppins", sans-serif;
    color: #444;
    text-decoration: none;
    text-transform: uppercase;
}

nav a:hover {
    font-family: "Poppins", sans-serif;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
}

nav a::before {
    content: '';
    display: block;
    height: 0px;
    width: 100%;
    background-color: crimson;
    position: absolute;
    top: 0;
    transition: all ease-in-out 250ms;
}

nav a:hover::before{
    height: 6px;
}

footer {
    text-align: center;
}

.layout-grid {
    display: grid;
    gap: 1rem;
}

.layout-grid > * {
    flex: 1;
}

.col {
    /* border: 3px solid dodgerblue; */
    display: flex;
    gap: 1rem;
    flex-direction: row; 
}

.card {
    width: 25rem;
    height: 30rem;
    padding: 1rem;
    /*place-items: left;*/
    text-align: left;
    border-top: 7px solid rgb(15, 51, 232);
    box-shadow: 0.5rem 0.5rem 0.5rem -0.2rem #a6a7a6;
    border-radius: 1rem;
    background-color: rgb(248, 201, 99);
    float:left;
}

.cardimg {
    width: 25rem;
    height: 30rem;
    padding: 1rem;
    place-items: center;
    background-image: url("../images/lvb-kmg-waiting-19.png");
    overflow: hidden;
    border-top: 7px solid rgb(15, 51, 232);
    box-shadow: 0.5rem 0.5rem 0.5rem -0.2rem #a6a7a6;
    border-radius: 1rem;
    background-color: rgb(240, 229, 183);
    float:left;
}

.cardimgsave {
    width: 25rem;
    height: 30rem;
    padding: 1rem;
    place-items: center;
    background-image: url("../images/save-air.png");
    overflow: hidden;
    border-top: 7px solid rgb(15, 51, 232);
    box-shadow: 0.5rem 0.5rem 0.5rem -0.2rem #a6a7a6;
    border-radius: 1rem;
    background-color: rgb(240, 229, 183);
    float:left;
}

.cardimgtorn {
    width: 25rem;
    height: 30rem;
    padding: 1rem;
    place-items: center;
    background-image: url("../images/save-tower-480.png");
    overflow: hidden;
    border-top: 7px solid rgb(15, 51, 232);
    box-shadow: 0.5rem 0.5rem 0.5rem -0.2rem #a6a7a6;
    border-radius: 1rem;
    background-color: rgb(240, 229, 183);
    float:left;
}

.cardimgtop {
    width: 25rem;
    height: 30rem;
    padding: 1rem;
    place-items: center;
    background-image: url("../images/ontop.png");
    overflow: hidden;
    border-top: 7px solid rgb(15, 51, 232);
    box-shadow: 0.5rem 0.5rem 0.5rem -0.2rem #a6a7a6;
    border-radius: 1rem;
    background-color: rgb(240, 229, 183);
    float:left;
}

.cardimgshow {
    width: 25rem;
    height: 30rem;
    padding: 1rem;
    place-items: center;
    background-image: url("../images/airshow.png");
    overflow: hidden;
    border-top: 7px solid rgb(15, 51, 232);
    box-shadow: 0.5rem 0.5rem 0.5rem -0.2rem #a6a7a6;
    border-radius: 1rem;
    background-color: rgb(240, 229, 183);
    float:left;
}

.cardimgmustang {
    width: 25rem;
    height: 30rem;
    padding: 1rem;
    place-items: center;
    background-image: url("../images/mustang.png");
    overflow: hidden;
    border-top: 7px solid rgb(15, 51, 232);
    box-shadow: 0.5rem 0.5rem 0.5rem -0.2rem #a6a7a6;
    border-radius: 1rem;
    background-color: rgb(240, 229, 183);
    float:left;
}

.cardimglansen {
    width: 25rem;
    height: 30rem;
    padding: 1rem;
    place-items: center;
    background-image: url("../images/Lansen_start.png");
    overflow: hidden;
    border-top: 7px solid rgb(15, 51, 232);
    box-shadow: 0.5rem 0.5rem 0.5rem -0.2rem #a6a7a6;
    border-radius: 1rem;
    background-color: rgb(240, 229, 183);
    float:left;
}

.cardimgspitfire {
    width: 25rem;
    height: 30rem;
    padding: 1rem;
    place-items: center;
    background-image: url("../images/spitfire.png");
    overflow: hidden;
    border-top: 7px solid rgb(15, 51, 232);
    box-shadow: 0.5rem 0.5rem 0.5rem -0.2rem #a6a7a6;
    border-radius: 1rem;
    background-color: rgb(240, 229, 183);
    float:left;
}

.cardimgdisplay {
    width: 25rem;
    height: 30rem;
    padding: 1rem;
    place-items: center;
    background-image: url("../images/display.png");
    overflow: hidden;
    border-top: 7px solid rgb(15, 51, 232);
    box-shadow: 0.5rem 0.5rem 0.5rem -0.2rem #a6a7a6;
    border-radius: 1rem;
    background-color: rgb(240, 229, 183);
    float:left;
}

.cardimgscary {
    width: 25rem;
    height: 30rem;
    padding: 1rem;
    place-items: center;
    background-image: url("../images/scarysky.png");
    overflow: hidden;
    border-top: 7px solid rgb(15, 51, 232);
    box-shadow: 0.5rem 0.5rem 0.5rem -0.2rem #a6a7a6;
    border-radius: 1rem;
    background-color: rgb(240, 229, 183);
    float:left;
}

.cardimgsilver {
    width: 25rem;
    height: 30rem;
    padding: 1rem;
    place-items: center;
    background-image: url("../images/silversea.png");
    overflow: hidden;
    border-top: 7px solid rgb(15, 51, 232);
    box-shadow: 0.5rem 0.5rem 0.5rem -0.2rem #a6a7a6;
    border-radius: 1rem;
    background-color: rgb(240, 229, 183);
    float:left;
}

.cardimgffkhv {
    width: 25rem;
    height: 30rem;
    padding: 1rem;
    place-items: center;
    background-image: url("../images/ffk-hv.png");
    overflow: hidden;
    border-top: 7px solid rgb(15, 51, 232);
    box-shadow: 0.5rem 0.5rem 0.5rem -0.2rem #a6a7a6;
    border-radius: 1rem;
    background-color: rgb(240, 229, 183);
    float:left;
}

.doublecard {
    max-width: 55rem;
    padding: 1rem;
    /*place-items: left;*/
    text-align: left;
    border-top: 7px solid rgb(15, 51, 232);
    box-shadow: 0.5rem 0.5rem 0.5rem -0.2rem #a6a7a6;
    border-radius: 1rem;
    background-color: rgb(248, 201, 99);
    float:left;
}
    
  
@media (max-width: 800px) {
    img {
        width: 15%;
        height: 15%;
    }
    .layout-grid {
        grid-template-columns: 1fr;
    }
    .card {
        max-width: 500px;
    }
    .centered {
        position: absolute;
        top: 55%;
        left: 50%;
        transform: translate(-50%, -50%);
      }
}


@media (max-width: 1000px) {
    img {
        width: 90%;
        height: 90%;
    }
    .layout-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }
    .card {
        max-width: 580px;
    }
}


@media (max-width: 1500px) {
    img {
        width: 100%;
        height: 100%;
    }
    .layout-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    }
    .card {
        max-width: 580px;
    }
}