/* All */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    user-select: none;
    font-family: 'Poppins', sans-serif;
}

/* Loading Screen */
.loader {
    display: grid;
    grid-template-columns: 100vw;
    grid-template-rows: 100vh;
    place-items: center;
    background-color: #1c1e29;
}

/* Loading Screen */
.loader img {
    width: 10%;
    height: auto;
}

/* Content */
.content {
    display: none;
}

/* Body */
body {
    height: 100%;
    width: 100%;
}

/* Header */
header {
    position: sticky;
    top: 0px;
    background: rgba(28, 30, 41, 0.5);
    z-index: 10;
    height: auto;
}

/* Navbar */
nav {
    display: flex;
    align-items: center;
    height: 55px;
    margin-left: 5%;
    width: 94%;
}

nav div {
    flex-basis: 250px;
    height: 55px;
}

/* Navbar Logo */
nav img {
    margin-top: 2.5px;
    height: 50px;
    z-index: 1;
    align-self: center
}

/* Hamburger */
.hamburger {
    font-size: 24pt;
    border: none;
    background-color: transparent;
    color: #ff7d00;
    align-self: flex-end;
    display: none;
}

/* Homburger on Focus */
.hamburger:focus {
    outline: none;
}

/* Navbar Unordered List */
.nav-ul {
    list-style: none;
    display: flex;
    flex-basis: 100%;
    margin-bottom: 0;
}

/* Navbar Unordered List Elements */
.nav-ul li {
    align-self: center;
}

/* Navbar Links */
nav a {
    margin: 0px 20px;
    color: #ff7d00;
    text-decoration: none;
    font-size: 16pt;
}

/* Navbar Links on Hover */
nav a:hover {
    opacity: 0.8;
    cursor: hand;
    color: #ab621f;
}

/* Language Menu */
.lang-menu {
    margin-left: auto;
    display: flex;
}

/* Language Menu Unordered List */
.lang-menu ul {
    display: flex;
    cursor: pointer ;
    justify-content: space-around;
    text-decoration: none;
    font-size: 16pt;
}

/* Language Menu Unordered List Elements */
.lang-menu ul li {
    display: flex;
    cursor: pointer ;
    text-decoration: none;
    font-size: 16pt;
}

/* Language Menu Links Flag Boxes */
.lang-menu ul li a:before {
    content: '';
    display: flex;
    width: 40px;
    height: 27px;
}

/* English Flag Box */
#en:before {
    background-image: url(images/Flag_of_UK.png);
    border-radius: 12px;
    opacity: 0.9;
    background-size: 40px 27px;
}

/* French Flag Box */
#fr:before {
    background-image: url(images/Flag_of_France.png);
    border-radius: 12px;
    opacity: 0.9;
}

/* Spanish Flag Box */
#es:before {
    background-image: url(images/Flag_of_Spain.png);
    border-radius: 12px;
    opacity: 0.9;
}

/* Navbar Bubble */
.bubble {
    position: absolute;
    z-index: -2;
    background: #fffde5;
    transform: scale(1.3);
    border-radius: 30px;
    transition: all 0.3s ease-in;
    user-select: none;
}

/* Sections */
section {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Section Headings */
section h2 {
    margin-left: 2%;
    margin-top: 2%;
    font-size: 24pt;
    color: #1c1e29;
    user-select:text;
    font-weight: 600;
}

/* Home Page */
#home {
    min-height: 100vh;
}

/* Logo on Home Page */
.mainimg {
    display: flex;
    width: 1500px;
    height: auto;
    margin: 250px 20px ;
    opacity: 0.85;
    z-index: 1;
}

/* Logo Animation */
.slide-in-blurred-bottom {
	-webkit-animation: slide-in-blurred-bottom 1s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
	        animation: slide-in-blurred-bottom 1s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
}

/* ----------------------------------------------
 * Generated by Animista on 2021-4-25 23:21:3
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation slide-in-blurred-bottom
 * ----------------------------------------
 */
 @-webkit-keyframes slide-in-blurred-bottom {
    0% {
      -webkit-transform: translateY(1000px) scaleY(2.5) scaleX(0.2);
              transform: translateY(1000px) scaleY(2.5) scaleX(0.2);
      -webkit-transform-origin: 50% 100%;
              transform-origin: 50% 100%;
      -webkit-filter: blur(40px);
              filter: blur(40px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0) scaleY(1) scaleX(1);
              transform: translateY(0) scaleY(1) scaleX(1);
      -webkit-transform-origin: 50% 50%;
              transform-origin: 50% 50%;
      -webkit-filter: blur(0);
              filter: blur(0);
      opacity: 1;
    }
  }
  @keyframes slide-in-blurred-bottom {
    0% {
      -webkit-transform: translateY(1000px) scaleY(2.5) scaleX(0.2);
              transform: translateY(1000px) scaleY(2.5) scaleX(0.2);
      -webkit-transform-origin: 50% 100%;
              transform-origin: 50% 100%;
      -webkit-filter: blur(40px);
              filter: blur(40px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0) scaleY(1) scaleX(1);
              transform: translateY(0) scaleY(1) scaleX(1);
      -webkit-transform-origin: 50% 50%;
              transform-origin: 50% 50%;
      -webkit-filter: blur(0);
              filter: blur(0);
      opacity: 1;
    }
  }
  
/* Home Page */
.home {
    background: linear-gradient(rgba(28,30,41,.5), rgba(28,30,41,.5)), url("./images/Ethiopia_Rebars.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: -55px;
}

/* About Us Section */
.about_us {
    width: 100%;
    background: #1c1e29;
}

/* Main Box */
.mainbox {
    margin-top: 60px;
    margin-bottom: 4%;
    width: 84%;
    height: auto;
    background: #fffde5;
}

/* Gallery Section */
.gallery {
    width: 100%;
    background: #1c1e29;
}

/* Catalog Section */
.catalog {
    width: 100%;
    background: #1c1e29;
}

/* Contact Section */
.contact {
    width: 100%;
    background: #1c1e29;
}

/* Go to Top Button*/
.to-top-button {
    display: inline-block;
    background-color: transparent;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    content: url(images/Up_Arrows_Animated.gif);
    transition: background-color .3s, 
      opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 10;
}

/* Go to Top Button on Hover*/
.to-top-button:hover {
    cursor: pointer;
    background-color: #fffde5;
}

/* Go to Top Button on Active*/
.to-top-button:active {
    background-color: #1c1e29;
}

/* Go to Top Button on Show*/
.to-top-button.show {
    opacity: 1;
    visibility: visible;
}

/* Flexbox on About Us */
.about_us-flexer {
    display: flex;
    width: 100%;
    margin-bottom: 5%;
}

/* About Us Image */
.about_us-flexer img {
    height: auto;
    margin-left: 2%;
    width: 98%;
}

/* Paragraph Flexbox*/
.text-flex {
    width: 45%;
    flex: wrap;
}

/* Paragraph text on About Us */ 
.text-flex p {
    font-size: 14pt;
    text-indent: 3%;
    height: auto;
    margin: 1% 10px 20px 1% ;
    text-align: justify;
    user-select: text;
}

/* Main Box on Catalog Section */
.catalog .mainbox {
    background: #57575a;
}

/* Catalog Title */
.catalog h2 {
    color: white;
}

/* Catalog Gallery */
.cat-gallery { 
    margin: .5vw;
    display:  flex;
    flex-wrap: wrap;
    flex-direction: column;
    flex-flow: row wrap;
}

/* Catalog Gallery Image Containers */
.cat-gallery div {
    flex: auto;
    width: 33%;
    padding: 1%;
}

/* Catalog Gallery Images */
.cat-gallery div img {
    width: 100%;
    height: auto;
}

/* Catalog Gallery Images */
.cat-gallery div a h4 {
    position: relative;
    text-align: center;
}

/* Catalog Gallery Image Links */
.cat-gallery div a {
    text-decoration: none;
    color: white;
}

/* Download Icon Heading */
.cat-gallery div:nth-child(6) h4 {
    text-align: center;
}

/* Download Icon */
.cat-gallery div:nth-child(6) img {
    height: 200px;
    margin-top: calc(50% - 175px);
}

/* Carousel Flexbox */
.flex-carousel{
    display: flex;
    width: 100%;
    justify-content: center;
}

/* Carousel */
.carousel {
    margin: 10px 100px 40px 100px;
    overflow: hidden
}

/* Carousel Images */
.carousel div img {
    position: relative;
    left: 0px;
    top: 0px;
    object-fit: cover;
    min-height: 300px;
}

/* Contact Section */
#contact {
    flex-direction: column;
    align-items: center;
    min-height: 0;
}

/* Main Box on Contact Section */
#contact .mainbox {
    margin-bottom: 1%;
    background-color: #57575a;
}

/* Contact Section Title */
#contact h2 {
    color: white;
}

/* Contact Section Grid */
.contact-grid {
    display: grid;
    width: 100%;
    grid-template-columns: 50% 50%;
    grid-template-rows: 250px auto;
}

/* Contact Info Division */
.contact-info {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    width: 98%;
}

/* Contact Info Paragraph */
.contact-info p {
    color: #fffde5;
    user-select: text;
    font-size: 12pt;
    margin-left: 2%;
}

/* Map */
.contact-grid iframe {
    grid-column: 1 / 2;
    grid-row:  2 / 3;
    place-self: center;
    margin-bottom: 10px;
    height: calc(100% - 10px);
    width: 98%;
}

/* Contact Form */
#form-itself {
    background-color: #9da091;
    user-select: none;
    border: 5px solid #596bb0;
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    place-self: start center;
    top: 0;
    width: 98%;
    margin-bottom: 10px;
}

/* Cotact Form Input Space */
.form-control {
    background-color: #fffde5;
    margin-bottom: 10px;
}

/* Cotact Form Group*/
.form-group {
    display: flex;
    justify-content: center;
    user-select: text;
}

/* Cotact Form Input */
.form-group input {
    user-select: text
}

/* Form on Click */
.form-click {
    flex-direction: column;
    align-items: center;
}

/* Form Row */
.form-row {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

/* Left Forms */
#left-forms {
    width: 98%;
}

/* Left Form Placeholders */
#left-forms input::placeholder {
    color: #596bb0;
    font-size: 1em;
}

/* Right Forms */
#right-forms {
    width: 98%;
}

/* Right Form Placeholders */
#right-forms textarea::placeholder {
    color: #596bb0;
    font-size: 1em;
}

/* Form on Autofill */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    box-shadow: 0 0 0 3px #ff7d00;
    -webkit-text-fill-color: #1c1e29;
    transition: background-color 5000s;
}

/* Form on Focus */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="phone"]:focus,
textarea[name="message"]:focus { 
    background-color: #fffde5;
    box-shadow: 0 0 0 3px solid #596bb0;
}

/* Recaptcha Button */
.g-recaptcha div {
    height: 78px;
}

.g-recaptcha div div {
    height: 78px;
}

.g-recaptcha div div iframe {
    height: 78px;
}

/* Form Send Button */
.send-button {
    font-weight: bold;
    color: #596bb0;
    background-color: #fffde5;
    border-color: #ff7d00;
    border-radius: 20px;
    margin-top: 10px;
}

/* Footer */
.footer {
    width: 100%;
    height: 50px;
    background-color: #596bb0;
    bottom: 0px;
    display: flex;
    align-items: center;
}

/* Footer Unordered List */
.fot-ul {
    list-style: none;
    display: flex;
    margin-bottom: 0;
    width: 94%;
    color: black;
}

/* Footerr Links */
.footer a {
    margin: 0px 20px;
    color: black;
    text-decoration: none;
}

/* Footer Links on Hover */
.footer a:hover {
    opacity: 1;
    cursor: hand;
    color: #ab621f;
}

.fot-ul li:nth-child(1) {
    margin-left: 4%;
}

.fot-ul li:nth-child(2) {
    margin-left: auto;
}

@media only screen and (max-width: 1500px) {
    
    /* Catalog Gallery Image Containers */
    .cat-gallery div {
        width: 50%;
        height: auto;
    }

    /* Flexbox on About Us */
    .about_us-flexer {
        width: 96%;
        flex-direction: column;
    }

    /* Flexbox on About Us */
    .about_us-flexer div {
        width: 100%;
        flex-wrap: wrap;
    }

    /* About Us Image */
    .about_us-flexer img {
        height: auto;
        margin-left: 2%;
        width: 100%;
    }

    /* Paragraph Flexbox*/
    .text-flex {
        margin-left: 2%;
    }

    /* Carousel */
    .carousel {
        margin: 10px 10px 10px 10px;
    }

    /* Contact Section Grid */
    .contact-grid {
    grid-template-rows: 300px auto;
}

}

@media only screen and (max-width: 1440px) {
    
    /* Catalog Gallery Image Containers */
    .cat-gallery div {
        width: 50%;
        height: auto;
    }
}

/* Navbar and Gallery Change */
@media only screen and (max-width: 1210px) {
    
    /* Navbar */
    nav {
        flex-wrap: wrap;
    }

    /* Navbar Unordered List */
    .nav-ul {
        display: none;
    }
    
    /* Navbar Unordered List Elements */
    .nav-ul li {
        margin-left: auto;
        margin-top: 0.5%;
        background-color: rgba(0, 0, 0, 0.6);
        border-radius: 15px 50px;
    }

    /* Language Menu */
    .lang-menu {
        flex-basis: 150px;
        margin-top: 3%;
    }

    /* Navbar Unordered List */
    .lang-menu ul {
        flex-wrap: wrap;
        flex-direction: column;
    }

    /* Navbar Unordered List Elements */
    .lang-menu ul li {
        background-color: transparent;
    }

    /* Hamburger */
    .hamburger {
        display: inline-block;
        margin-left: auto;
        align-self: center;
    }
    
    /* Navbar After Clicked on Hamburger */
    .nav-ul.show {
        display: flex;
        flex-direction: column;
        align-self: flex-end;
    }

    /* Navbar Bubble */
    .bubble {
        display: none;
    }

    /* Download Icon */
    .cat-gallery div:nth-child(6) img {
        height: 150px;
        margin-top: 25px;
    }

    /* Catalog Gallery Image Containers */
    .cat-gallery div {
        width: 100%;
        height: 100%;
    }

}

@media only screen and (max-width: 940px) {
   
    /* Catalog Gallery Image Containers */
    .cat-gallery div {
        width: 100%;
        height: 100%;
    }

    /* Contact Section Grid */
    .contact-grid {
        grid-template-columns: 100%;
        grid-template-rows: auto auto auto;
    }

    /* Map */
    .contact-grid iframe {
    height: 250px
    }

    /* Contact Form */
    #form-itself {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
        margin-top: 2%;
    }

    /* Footer */
    .footer {
    height: 100px;
    }
}

@media only screen and (max-width: 768px) {
    #left-forms {
        width: 98%;
    }
    
    #right-forms {
        width: 98%;
    }

    .form-row {
        flex-direction: column;
    }
 }