/* General Parameters */
.bodyGen {
    font-family: "Lucida Console", "Courier New", monospace;
    margin: 0;
    padding: 0;
    background: rgba(145,186,179);
}


.bg-primary{
    background-image: linear-gradient(to right, rgba(153,193,178), rgb(170,204,184));
    box-shadow: 1px 1px 10px 3px;
}


.card{
    box-shadow: 1px 1px 10px 3px;
}

/* foooter */
footer {
    
    background-color: rgb(190,214,197);
    color: white;
    
}

/* ------- */
header {
    padding: 20px 0;
}

.paratext{
    text-shadow: 1px 1px 3px white;
}


/* Flexbox navigation */
.navbar {
   
   
    box-shadow: 1px 1px 10px 3px;
}

.navbar a {
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
}

.navbar a:hover {
    background-color: rgba(183, 229, 193, 0.3);
    animation: mymove 5s infinite;  
}

@keyframes mymove { 
    0%{
    
    }
    25%{ transform: rotate(-90deg);

    }
    50% { transform: rotate(90deg);
    }

} 




/*Nav Logo */

.logo{
    display: flex;
    
    justify-content: left;
    
    height: 60px;

}
.searchbar{
    display: flex;

    justify-content: right;
    padding: 10px;
}


/*About Area -----------------------------------*/


/*Picture for About me Page */
.image-fluid {
    box-shadow: 1px 1px 10px 3px;
    width: 300px;
    height: 300px;
    

}
.image-fluid1 {
    box-shadow: 1px 1px 10px 3px;
    width: 600px;
    height: 300px;
    

}




/*Contact Form -------------------------------------------------*/

/* Dropdown button */

.dropbtn{
    background-color: blueviolet;
    color: white;
    padding: 16p;
    font-size: 16px;
    border: none;
  
}

.dropdown{
    position: relative;
    display: inline-block;
}
  
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
    
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
    
.dropdown-content a:hover {
    background-color: #ddd;
}
    
.dropdown:hover .dropdown-content {
    display: block;
}
    
.dropdown:hover .dropbtn {background-color: #3e8e41;}
  
/*Form
  
/* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
    width: 100%; /* Full width */
    padding: 12px; /* Some padding */ 
    border: 1px solid #ccc; /* Gray border */
    border-radius: 4px; /* Rounded borders */
    box-sizing: border-box; /* Make sure that padding and width stays in place */
    margin-top: 6px; /* Add a top margin */
    margin-bottom: 16px; /* Bottom margin */
    resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
}
    
/* Pseudo-elements for Email and Phone Labels */
/* Added ✉️ and 📞 icons before the labels */

/* ::before pseudo-element for <h1> */
.email-label::after {
    content: "✉️";
    font-size: 1rem;
    margin-right: 5px;
}

.phone-label::after {
    content: "📞";
    font-size: 1rem;
    margin-right: 5px;
    
}

/* Styled the submit button with a specific background color etc */
input[type=submit] {
    background-color: #04AA6D;
    color: white;
    height: 50px;
    width: 100px;
    padding: 12px 20px;
    border: 2px solid black;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 5px 5px 5px #aaaaaa;
}
    
/* When moving the mouse over the submit button, added a darker green color &  animation button move*/
input[type=submit]:hover {
    background-color: #45a049;
    height: 50px;
    width: 100px;
    margin: 20;
    animation: pulse 3s ease infinite alternate, nudge 5s linear infinite alternate;          
}
               
@keyframes nudge { 0%, 100% 
    {
        transform: translate(0, 0);
    }
    50%
    
    { 
        transform: translate(150px, 0);
    }
    80%
    {
        transform: translate(-150px, 0);
    }
}  

/* Media queries for responsiveness */
@media (max-width: 768px) {

    /* TODO: describe what these do */
    main {
        flex-direction: column;
    }

    .content-item {
        width: 100%;
        margin-bottom: 20px;
    }
}

/*animations  for home buttons working progress? */

.card-body:hover{
    animation-name: stretch;
    animation-duration: 3.5s; 
    animation-timing-function: ease-out; 
    animation-delay: 0.2s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-fill-mode: none;
    animation-play-state: running; 
}

.card:hover{
    animation-name: stretch;
    animation-duration: 3.5s; 
    animation-timing-function: ease-out; 
    animation-delay: 0.2s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-fill-mode: none;
    animation-play-state: running; 
}
@keyframes stretch {
    0% {
      transform: scale(1);
      
    }
    50% {
      
      
    }
    100% {
      transform: scale(1.5);
      
      
    }
  }

