/* general shit */


@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');

*{
    font-family: "Josefin Sans", sans-serif;
}

html, body{
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    width: 100%;
    height: 100%;
    scroll-behavior:smooth;
}


.container {
    display: flex;
  flex-flow: column;
  height: 100%
}

/* header section */

header{
    display: flex;
    position: fixed;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #2b435d;
    padding: 20px 0px 20px 0px;
    z-index: 10;
    width: 100%;
    height: 100px;
    transition: all 0.5s ease-in-out ;
}

header #head-cont {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100px;
    opacity: 1;
    transition: all 0.2s ease-in-out ;
    z-index: 0;
}

header #head-cont h1{
    color: #f2f1f1;
    font-size: 2.5em;
    margin: 10px 0px 10px 0;
    text-shadow: 5px 5px 2px rgba(55, 194, 245, 0.3);
}

header #head-cont-scr {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100px;
    opacity: 0;
    position: absolute;
    transition: all 0.2s ease-in-out ;
    z-index: -1;
}
header #head-cont-scr h1{
    color: #f2f1f1;
    font-size: 2.5em;
    margin-top: 10px;
    margin-bottom: 10px;
    text-shadow: 5px 5px 2px rgba(55, 194, 245, 0.3);
    position: relative;
    z-index: 8;
}

/* Nav and links */

nav ul{
    padding-left: 0px;
    display: flex;
    align-items: center;
    margin: 0;
    background-color: #2b435d;
}
nav ul li{
    display: inline-block;
    margin: 0 10px;
}

nav ul li span{
    color: #f2f1f1;
    font-weight: bold;
}

nav ul li a{
    color: #f2f1f1;
    text-decoration: none;
    font-size: 1.2em;
    padding: 10px 20px;
    border-radius: 5px;
    letter-spacing: 0px;
    font-size: 23px;
    transition: all 0.2s ease-in-out;
}

nav ul li a:hover{
    background-color: #1a2b3c;
}
nav ul .nav-elscr{
    margin: 0 4px;
    transition: all 0.3s ease-in-out;
}
nav ul .nav-elscr:nth-last-child(1){
    margin-left: 20px;
}
nav ul .nav-elscr:nth-child(7){
    margin-left: 0px;
}

nav ul .nav-elscr .logo-ctn-scr{
    display: flex;
    align-items: center;
}

nav ul .nav-elscr .logo-ctn-scr .overlay{
    width: 85px;
    height: 70px;
    background-color: #2b435d;
    z-index: 10;
    margin: 0px -4px 0px 0px;
    display: flex;
    border-radius: 50px;
    justify-content: center;
}
nav ul .nav-elscr .logo-ctn-scr .overlay .logo-scr{
    width: 70px;
    height: 70px;
    background: url('../assets/img/logo.png');
    background-position: center;
    background-size:contain ;
    background-repeat: no-repeat;
}

nav ul .nav-elscr .logo-ctn-scr h1.head-t-scr:first-child{
}
nav ul .nav-elscr .logo-ctn-scr h1.head-t-scr:nth-child(3){
    margin-left: 1px;
}
nav ul .nav-el{
    background-color: #2b435d;
    z-index: 1;
}
nav ul .submenu{
    margin-top: -48px;
    margin-left: 15px;
    position: absolute;
    display: flex;
    background-color: #2b435d;
    padding: 5px;
    align-items: center;
    z-index: -2;
    transition: all 0.2s ease-in-out;
    border-radius: 10px;
    opacity: 0;
}
.menu-toggle{
    display: none;
}
@keyframes logo-scr-ani-l {
    0% {
        margin-right: 0px;
        opacity: 1;
    }
    100% {
        margin-right: -80px;
        opacity: 0;
    }
}
@keyframes logo-scr-ani-lf {
    0% {
        margin-right: -80px; 
        opacity: 0;
    }
    100% {
        margin-right: 0px;
        opacity: 1;
    }
}

@keyframes logo-scr-ani-r {
    0% {
        margin-left: 1px;
        opacity: 1;
    }
    100% {
        margin-left: -79px;
        opacity: 0;
    }
}
@keyframes logo-scr-ani-rf {
    0% {
        margin-left: -79px;
        opacity: 0;
    }
    100% {
        margin-left: 1px;
        opacity: 1;
    }
}
@keyframes logo-scr-ani-rtf {
    0% {
        transform:rotateZ(0deg);
    }
    100% {
        transform:rotateZ(360deg);
    }
}
@keyframes logo-scr-ani-rtb {
    0% {
        transform:rotateZ(0deg);
    }
    100% {
        transform:rotateZ(-360deg);
    }
}

/* main page */
.main-cont{
    display: flex;
    background-image: url('../assets/img/main-bg.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    background-blend-mode: overlay;
    background-attachment: scroll;
    z-index: 0;
    width: 100%;
    height: 100%;
    margin-top: 90px;
    transition: all 0.5s ease-in-out;
}
.main-cont .overlay{
    width: 100%;
    height: 100%;
    background-color: #324a649b;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.main-cont .overlay .cont-text{
    padding-top: 90px;
    width: 70%;
}
.main-cont .overlay .cont-text .ttl:first-child{
    width: fit-content;
    color: #f2f1f1;
    margin-top: 0px;
    font-size: 4em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffec5f, #feb47b, #ff7e5f, #9eb9ee, #c579ff,#ee9ed2, #ff7e5f, #feb47b,#ffec5f );
    background-size: 200% 200%;
    animation: gradientAnimation 12s ease-in-out infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.main-cont .overlay .cont-text .ttl:nth-child(2){
    display: none;
    width: fit-content;
    color: #f2f1f1;
    margin-top: 0px;
    font-size: 4em;
    margin-bottom: 20px;
    background: linear-gradient(155deg, #ffec5f, #feb47b, #ff7e5f, #9eb9ee, #c579ff,#ee9ed2, #ff7e5f, #feb47b,#ffec5f );
    background-size: 300% 300%;
    animation: gradientAnimation 12s ease-in-out infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes gradientAnimation {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }

.main-cont .overlay p{
    color: #f2f1f1;
    font-size: 1.6em;
    width: 70%;
}   


/* intro section */
.intro{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px;
background:
    linear-gradient(217deg, rgb(59, 45, 101), rgba(255, 0, 0, 0.3) 70.71%),
    linear-gradient(127deg, rgb(52, 52, 52), rgba(0, 255, 0, 0.497) 70.71%),
    linear-gradient(127deg, rgb(255, 0, 0), rgba(22, 132, 29, 0.532) 70.71%);
}
.hr{
    border: 0;
    display:block;
    width: 80%;               
    height: 3px;
    border-radius: 5px;
    background: linear-gradient(90deg, #e2e2e2, #d4d4d4,#88a687);
}

.intro h1{
    color: #f2f1f1;
    font-size: 3em;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(189, 189, 189, 0.6);
    text-align: left;
}

.intro-cont{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70%;
    padding: 20px;
}
.intro .intro-cont p{
    color: #f2f1f1;
    font-size: 21px;
    text-align: justify;
}
.intro .intro-cont img{
    width: 240px;
    height: auto;
    margin-right: 10px;
}

.intro h2{
    color: #f2f1f1;
    font-size: 2em;
    margin-top: 20px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.2);
}

/* services */

.intro .serv-cont p{
    color: #f2f1f1;
    font-size: 21px;
    text-align: center;
}
.intro .serv-cont .cells{
    display: grid;
    justify-items: center;
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
}
.intro .serv-cont .cell{
    border: 5px solid #f2f1f1;
    border-radius: 40px;
    width: 270px;
    height: 300px;
    box-shadow: inset 0px 0px 90px rgba(255, 231, 144, 0.391);
    background-position: center;
    background-repeat: no-repeat;
    background-size:cover;
    transition: all 0.25s ease-in-out !important;
    cursor: pointer;
}
.intro .serv-cont .cell:hover {
    box-shadow: inset 0px 0px 90px rgba(144, 255, 181, 0.634);
    transform: scale(1.03,1.03);  
}

.intro .serv-cont .cell,
.intro .serv-cont .cell:hover {
    will-change: transform, box-shadow;
}
.intro .serv-cont .cell h2{
    margin: 0;
}
.intro .serv-cont .cell p{
    padding:10px;
    margin: 0;
}

.intro .serv-cont .cell .overlay{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    height: 100%;
    background-color: #2b435d81;
    border-radius: 40px;
}

.intro .serv-cont .cell:first-child{
    background-image: url('../assets/img/serv1.jpg');
}
.intro .serv-cont .cell:nth-child(2){
    background-image: url('../assets/img/serv2.jpg');
}
.intro .serv-cont .cell:nth-child(3){
    background-image: url('../assets/img/serv3.jpg');
}
.intro .serv-cont .cell:nth-child(4){
    background-image: url('../assets/img/serv4.jpg');
}



/* footers */
footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #2b435d;
    padding: 20px;
    color: #f2f1f1;
}

footer .footer-cont{
    display: flex;
    justify-content: center;
    width: 100%;
}
footer a{
    color: #f2f1f1;
    text-decoration: none;
    font-size: 1.2em;
    border-radius: 5px;
    letter-spacing: 0px;
    font-size: 23px;
    transition: all 0.1s ease-in-out;
}
footer a:hover{
    color: #88a687;
}
.q-links h2{
    text-align: center;
}
.q-links ul{    
    list-style:upper-roman;
    padding-left: 80px;
}
.q-links li{    
    margin: 5px 0;
}
.socials{
    text-align: center;
}
.socials a{
    padding: 20px;
}

.socials a .fa-youtube{
    color:red;
}

.separator-v{
    width: 1px;
    background-color: #f2f1f1;
    margin: 0 20px;
}

footer p{
    font-size: large;
    margin: 5px;
}
footer p a{
    font-size: 19px;
    font-weight: bold;
}


/* dummies */

.scrolldummy{
    height: 100px;
}
.dummyoffset-o{
    height: 140px;
    transition: all 0.3s ease-in-out;
    background-color: #2b435d;
}

