*{
    box-sizing:border-box;
    margin:0;
    padding:0;
}

*::selection {
  background: #00000069;
  color: rgb(115, 0, 202);
  text-shadow: none;
}

body {
    overflow-x: hidden;
}

    /*navbar start*/

.navbar{
    position:sticky;
    top:0;
    height:75px;
    width:100%;
    background: linear-gradient(black,rgb(44, 21, 128)) top center;
    display:flex;
    box-shadow: 1px 1px 20px 10px;
    z-index: 9999;
}

.navbar p, a{
    color:white;
    font-weight: bold;
    font-family: sans-serif;
    text-decoration: none;
    font-size:20px
}

.navbar_menu{
    right:0;
    position:absolute;
    width:auto;
    height:75px;
    flex-direction:row;
    display: flex;
    justify-content: flex-end;
}

.navbar_item{
    display: flex;
    height: 100%;
    align-items: center;
    padding:15px;
    position: relative;
}

#on {
    background-color: rgb(44, 21, 128);
}

#onn{
    background-color: #274fff;
}

.navbar_item:not(#on):hover{
    background: linear-gradient(#5739ff,rgb(41, 3, 255)) top center;
}

.navbar_item img{
    width:20px;
}

.dropdown{
    display: none;
    top:75px;
    width: 100%;
    position:absolute;
    left: 0;
    background-color: rgb(41, 3, 255);
    flex-direction: column;
    height: auto;
}

#Dropdown:hover .dropdown{
    display: flex;
    animation: drop 0.5s;
}

.dropdown_item{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.dropdown_item:hover{
    background-color: rgb(128, 119, 255);
}

.navbar_logo{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
}

.navbar_logo p{
    transition: color 0.3s, transform 0.3s;
    color:white;
}

.navbar_logo p:hover{
    transform: scale(110%);
    color:rgb(209, 208, 208);
}

.resize{
    width:80px;
    height: auto;
}

.resize:hover{
    animation-name:spin;
    animation-duration: 3s;
    animation-direction: alternate;
}

@keyframes drop {
    0%{
        transform: translatey(-30px);
        opacity: 0;
    }
    100%{
        opacity: 1;
        transform: translate(0);
    }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 600px) {
.navbar_menu{
    display: none;
}

.phone_nav{
    display: flex;
    align-self: center;
    justify-content: center;
    flex-direction: column;
    align-items:center;
    gap:5px;
    right:10px;
    width: 50px;
    height: 50px;
    position: absolute;
}

.line1{
    width: 90%;
    height: 12%;
    background-color: white;
    border-radius:10px;
        
}

.topnav {
  overflow: auto;
  width: 100%;
  background: linear-gradient(rgb(44, 21, 128),rgba(11, 31, 212, 0.815)) top center;
  z-index: 9999999999;
  position: fixed;
}

.topnav #myLinks {
  display: none;
  
}

.topnav a {
  color: rgb(255, 255, 255);
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  display: block;
}

.topnav a.icon {
  display: block;
  right: 3px;
}

.arrow{
    height: 10px;
}

}

@media (min-width: 601px) {
.phone_nav{
    display: none;
}

.line1{
    display: none;
        
}

.topnav {
 display: none;
}

.topnav #myLinks {
  display: none;
}

.topnav a {
 display: none;
}

.topnav a.icon {
  display: none;
}

.arrow{
    display: none;
}
}



/* intro start */


.intro{
    display: flex;
    width:100%;
    height:calc(100vh - 75px);
    background-color: black;
}

.intro video{
    position:relative;
    z-index: 0;
}

.intro_container{
    display: flex;
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0),black, black);
    justify-content: center;
    top:440px;
    z-index: 1;
    animation: fade-up 2s;
}

.intro_container h1{
    color:rgba(255, 255, 255, 0);
    font-family: Arial, Helvetica, sans-serif;
    font-size:80px;
    -webkit-text-stroke: 2px rgb(255, 255, 255);
}

@media (max-width: 600px) {
    .intro{
        position: relative;
        overflow: hidden;
    }
    .intro video{
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .intro_container {
        top: 0; 
        position: absolute;
        align-items: center;
        flex-direction: column; 
        background: linear-gradient( rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.7) 100%);
    }
    .intro_container h1 {
        font-size: 40px; 
        text-align: center; 
        -webkit-text-stroke: 1.5px rgb(255, 255, 255); 
    }
}

@media (min-width: 768px) {
    .intro_container {
        top: 0; 
        align-items: center; 
        flex-direction: column;
        background: linear-gradient( rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.7) 100%);
    }
    .intro_container h1 {
        font-size: 60px; 
        text-align: center; 
        -webkit-text-stroke: 1.5px rgb(255, 255, 255); 
    }
}

@media (min-width: 900px) {
    .intro_container {
        top: 0; 
        align-items: center; 
        flex-direction: column;
        background: linear-gradient( rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.7) 100%);
    }
    .intro_container h1 {
        font-size: 70px; 
        text-align: center; 
        -webkit-text-stroke: 1.5px rgb(255, 255, 255); 
    }
}
/* main start */


.main{
    position: relative;
    height: calc(100vh - 75px);
    z-index: 30;
    width: 100%;
    background: black url(Images/pattern3.png) ;
    color: white;
}

.main_g{
    display: flex;
    flex-direction: column;
    position: absolute;
    background: linear-gradient(rgb(0, 0, 0), rgba(255, 255, 255, 0),black);
    width: 100%;
    height: 100%;
}

.main_title{
    position: absolute;
    top:30px;
    left:0;
    right:0;
    border-bottom: solid white;
    animation-name: x_line;
    animation-duration: 5s;
    justify-self: center;
    align-content: center;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 160%;
    animation: fade-up 2s;
    animation-timeline: view();
    animation-range: entry 10% cover 60%;
}

.main_text{
    position: absolute;
    top:0;
    bottom: 0;
    left:0;
    right:0;
    padding-left: 30px;
    width: 70%;
    height: 50%;
    justify-self: center;
    align-self: center;
    align-content: center;
    border-left: rgb(44, 21, 128) solid;
    font-size: 160%;
    font-family: Arial, Helvetica, sans-serif;
    animation: fade-up 2s;
    animation-timeline: view();
    animation-range: entry 10% cover 40%;
}

@media (max-width: 600px) {
    .main_text{
        width: 90%;
        padding-left: 10px;
        font-size: 120%;
    }        
    .main{
       overflow-y: auto;
    }

}

/* ftc romania start */


.ftcro{
    display: flex;
    height: calc(100vh - 75px);
    width: 100%;
    background-image: url(Images/ftcro.png);
    background-repeat: no-repeat;
}

.ftcro_g{
    display: flex;
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(black,rgba(0, 0, 0, 0.1),rgba(0, 0, 0, 0.1),rgba(0, 0, 0, 0.0),rgb(17, 17, 17) ,rgb(17, 17, 17));

}

.ftcro_title{
    position: absolute;
    top:30px;
    left:0;
    right:0;
    color:white;
    border-bottom: solid white;
    animation-name: x_line;
    animation-duration: 5s;
    justify-self: center;
    align-content: center;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 150%;
    padding-left: 20px;
    padding-right: 20px;
    animation: fade-up 2s;
    animation-timeline: view();
    animation-range: entry 10% cover 60%;
}

.ftcro_text{
    top:0;
    position: absolute;
    bottom: 0;
    left:0;
    right:0;
    width: 70%;
    height: auto;
    padding-left: 20px;
    padding-right: 20px;
    justify-content: center;
    justify-self: center;
    align-self: center;
    align-content: center;
    font-size: 100%;
    font-family: Arial, Helvetica, sans-serif;
    animation: fade-up 2s;
    animation-timeline: view();
    animation-range: entry 10% cover 40%;
    color:white;
}
.text_continer{
    position: absolute;
    top: 20%;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

@media (max-width: 600px) {
    .ftcro{
        height: calc(100vh - 60px);
    }
    .ftcro_text{
        width: 90%;
        padding-left: 10px;
        padding-right: 10px;
        font-size: 120%;
        overflow-y: auto;
    }
  
}



/* ftc teams */

.teams{
    position: relative;
    display: flex;
    height: calc(100vh - 75px);
    width: 100%;
    justify-content: center;
    background: linear-gradient(rgb(17, 17, 17),rgba(0, 0, 0, 0),rgb(12, 12, 12)), url(Images/pattern5.png);
}

.teams_container{
    position: absolute;
    display: flex;
    width: 80%;
    height: 80%;
    align-self: center;
    justify-content: center;
}

.teams_box{
    top:10%;
    display: flex;
    position: absolute;
    flex-direction: column;
    height: 40%;
    width: 20%;
    background: linear-gradient(rgb(91, 5, 204),rgb(76, 0, 255));
    border:red solid;
    border-radius: 40px;
}

.box_over{
    top:5%;
    position: absolute;
    width: 100%;
    height: 30%;
    border: red solid;
}

.box_number{
    position: absolute;
    width: 100%;
    height: 30%;
    top:0;
    bottom: 0;
    border: red solid;
}

.box_info{
    bottom:5%;
    position: absolute;
    width: 100%;
    height: 30%;
    border: red solid;
}


/* footer start */



.footer{
    display: flex;
    position: relative;
    height: 30vh;
    background-color: rgb(12, 12, 12);
}

.ftc{
    top:0;
    height: 100%;
    width: 45%;
    position: relative;
    left:5%;
    align-content: center;
}

.ftc img{
    position: relative;
    width: 90%;
}

.contact{
    position: absolute;
    top:0;
    height: 100%;
    width: 50%;
    right:0;
    
}


.links{
    display: flex;
    position: absolute;
    top:calc(15vh - 50px);
    height: 50px;
    gap:30px;
    width: 40%;
    justify-self: center;
    justify-content: center;
}

.links_box{
    height: 50px;
}

.links_box img{
    position: relative;
    left:0;
    height: 100%;
    transition: all 0.6s;
}

.links_box img:hover{
    transform: scale(130%);
}

.email{
    position:absolute;
    width:40%;
    bottom:calc(15vh - 60px);
    display: flex;
    height: 50px;
    justify-self: center;
    justify-content: center;
    align-items: center;
}

.email p{
    color:white;
    font-size: 160%;
    font-family:monospace ;
}

.copyright{
    display: flex;
    color: white;
    position: absolute;
    height: 50px;
    bottom: 0;
    left:0;
    right: 0;
    justify-self: center;
    align-items: center;
    font-family: monospace;
}

@media (max-width:600px){
    
.ftc{
    display: flex;
    width: 100%;
    left: 0;
    right:0;
    justify-items: center;
    height: 30%;
}

.ftc img{
    top:20px;
    position: absolute;
    right: 0;
    left: 0;
    justify-self: center;
}

.contact{
    top:30px;
    position: absolute;
    width:100%;
    height:fit-content;
}
    
.email{
    top:107px;
}

}



@keyframes fade-up{
    0%{
        transform:translateY(-50px);
        opacity: 0;
    }
    100%{
        transform:translateY(0);
        opacity: 1;
    }
}