*{
    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:auto;
    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;
  position: fixed;
  z-index: 9999999999;
}

.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;
}
}


/* main starts */


.main{
    display: flex;
    height: calc(100vh - 75px);
    width: 100%;
    background: linear-gradient(rgba(4, 0, 255, 0.712),rgb(12, 12, 12));
    z-index: 1;
    justify-content: center;
}

.main_container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap:30px;
    height:100%;
    width: 65%;
    justify-content: space-evenly;
    align-self: center;
    align-items: center;
    align-content: center;
}

#name{
    display: flex;
    flex-direction: row;
}

.main_box{
    padding: 2%;
    color:white;
    background: linear-gradient(rgba(44, 44, 44, 0.76),rgb(20, 20, 20));
    border:solid rgb(22, 22, 22);
    border-radius: 20px;
    font-size: 130%;
    box-shadow: 0 0 20px rgb(68, 68, 68);
    font-family:Arial, Helvetica, sans-serif;
    animation: fade-up 1s;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 100px rgb(44, 44, 44) inset !important;
    -webkit-text-fill-color: rgb(255, 255, 255) !important;
}

input{
    height:10%;
    width: 45%;
}

textarea{
    height: 20%;
    min-height: 10%;
    width: 95%;
    resize: none;
}

#submit{
    padding:0 ;
    align-items: center;
    font-weight: bold;
    font-size:200%;
    height: 10%;
    width: 30%;
    transition: all 0.7s;
}

#submit:hover{
    transform: scale(110%);
    background-color: black;
    box-shadow: 0 0 20px rgb(129, 129, 129);
}

@keyframes misca {
	0% {
		transform: translate(-80px, -80px);
	}

	50% {
		transform: translate(0, 0);
	}

	100% {
		transform: translate(-80px, -80px);
	}
}

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

.main_g{
    position: absolute;
    height: calc(100vh + 5px);
    background-image: url(Images/patternpoate.jpg);
    animation: misca 30s linear infinite;
    width: calc(100% + 80px);
    z-index: -1;
}

@media (max-width: 600px) {

.main_box{
    flex-direction: column;
    width:95%;
}

#submit{
    font-size:100%;
    width: 50%;
}

}
@media (max-width: 768px) 
{
    
   #submit{
    font-size:120%;
}
    
}




/* 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;
}

}