a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}

* {
    box-sizing: border-box;
}

#page-wrapper {
    height: 100%;
    height: 100vh;
    min-height: -webkit-fill-available;
    position: relative;
    z-index: 1;
    overflow: hidden;
    font-family: "Montserrat";
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    box-sizing: border-box;
    padding-top: 17%;
}

#logo {
    max-width: 200px;
    width: 100%;
    display: block;
    vertical-align: middle;
    margin-bottom: 50px;
    position: absolute;
    top: 50px;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease 0.1s;
}

.animate #logo {
    opacity: 1;
    left: 50px;
}

#content-wrapper {
    width: 100%;
    padding-left: 50px;
    padding-right: 50px;
    margin-bottom: auto;
    margin-top: auto;
}

#video-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    
}

#video-container:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: url(../images/banner-pattern.png) center / cover no-repeat;
    opacity: 0.3;
    mix-blend-mode: multiply;
    z-index: 1;
    pointer-events: none;
}

#video-container:after {
    content: "";
    position: absolute;
    background: url(../images/shape.svg) center / cover no-repeat;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    padding-top: 13.22916666666666%;
    pointer-events: none;
    z-index: 2;
}

.example2 #video-container:after {
    background-image: url(../images/shape2.svg);
}

#video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h1 {
    font-size: 28px;
    line-height: 120%;
    text-transform: uppercase;
    font-weight: normal;  
    margin: 0;
    background: #ffffff;
    text-align: left;
    display: inline-block;
    padding: 10px 40px;
    float: left;
    transform: translateY(50px);
    transition: all 0.3s ease 0.2s;
    opacity: 0;
}

.animate h1 {
    transform: translateY(0);
    opacity: 1;
}

h1 strong {
    font-weight: bold;
}

#country-select {
    background: rgba(154,36,21,0.7);
    overflow: hidden;
    margin: auto;
    text-align: left;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    float: left;
    clear: both;
    transform: translateY(50px);
    transition: opacity 0.3s ease 0.3s, transform 0.3s ease 0.3s;
    opacity: 0;
}

.animate #country-select {
    transform: translateY(0);
    opacity: 1;
}

#country-select p {
    text-transform: uppercase;
    font-weight: bold;
    color: #ffffff;
    background: #9a2415;
    padding: 20px 40px;
    position: relative;
    opacity: 0;
    transition: opacity 0.3s ease 0.4s;
}

.animate #country-select p {
    opacity: 1;
}

#country-select p:after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 200px 0 0 100px;
    border-color: transparent transparent transparent #9a2415;
    position: absolute;
    left: 100%;
    top: 0;
}
#country-select>div {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-align-self: stretch;
    -ms-flex-item-align: stretch;
    align-self: stretch;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
}
#country-select>div > * {
    -webkit-align-self: center;
    -ms-flex-item-align: center;
    align-self: center
}

.country-list { list-style: none;  margin: 0; padding: 10px 40px; font-size: 0; }
.country-list > li { padding: 0; margin: 0 20px 0; display: inline-block; transform: translatex(20px); opacity: 0; }
.country-list > li:last-of-type { margin-right: 0; }
.country-list > li > a { color: #fff; text-decoration: none !important; outline: none!important; position: relative; display: block; float: left;  display: block; font-size: 16px; }

.country-list > li > a picture { width: 30px; margin: 0; display: inline-block; vertical-align: middle; position: relative; }
.country-list > li > a picture:before { content: ''; width: 30px; border-radius: 100%; height: 30px; position: absolute; top: 0; left: 0%; transition: all 0.3s ease; border: solid 0 transparent; -webkit-box-sizing: border-box;  -moz-box-sizing: border-box;
    box-sizing: border-box; opacity: 1; }
.country-list > li > a picture:after { content: ''; width: 30px; border-radius: 100%; height: 30px; position: absolute; top: 0; left: 0%; transform: scale(1); transition: all 0.3s ease; border: solid 0 transparent; -webkit-box-sizing: border-box;  -moz-box-sizing: border-box;
    box-sizing: border-box; opacity: 0.6; }
    .country-list > li > a:hover picture:before { border: solid 1px #fff; transform: scale(1.4); opacity: 0; }
.country-list > li > a:hover picture:after { border: solid 6px #fff;  }
.country-list > li > a img { display: block; }
.country-list > li > a span { display: inline-block; vertical-align: middle; margin-left: 5px; }

.country-list ul { list-style: none; padding: 0; margin: 0; float: left; clear: both; font-style: italic; margin-left: 40px; }
.country-list ul li { display: inline-block; margin-right: 5px;  }
.country-list ul li a { color: #1f3f82; text-decoration: none; }
.country-list ul li a:hover { text-decoration: underline; }

.animate .country-list > li { transform: translatex(0); opacity: 1; }
.country-list > li:nth-of-type(1) { transition: opacity 0.3s ease 0.4s, transform 0.3s ease 0.4s; }
.country-list > li:nth-of-type(2) { transition: opacity 0.3s ease 0.5s, transform 0.3s ease 0.5s; }
.country-list > li:nth-of-type(3) { transition: opacity 0.3s ease 0.6s, transform 0.3s ease 0.6s; }

@media (max-width: 767px){
    #logo {
        max-width: 150px;
        top: 30px;
        left: 20px;
    }

    .animate #logo {
        left: 30px;
    }

    #page-wrapper {
        padding-bottom: 4%;
        padding-top: 0%;
    }

    #content-wrapper {
        padding-left: 30px;
        padding-right: 30px;
    }

    h1 {
        font-size: 20px;
        padding: 10px 20px;
    }

    #country-select {
        position: absolute;
        bottom: 110px;
        left: 30px;
        right: 30px;
        display: block;
    }

    #country-select p {
        padding-left: 20px;
        padding-right: 20px;
        display: block;
        width: 100%;
        text-align: center;

    }

    #country-select p:after {
        display: none;
    }

    .country-list {
        padding-left: 20px; 
        padding-right: 20px;  
        padding-bottom: 1px;      
    }
    .country-list > li { margin: 0 20px 10px 0; }
}