@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/*to make all elements have same font family*/

*{
  font-family:monospace;
  margin:0;
  padding:0;
  box-sizing:border-box;
  scroll-behavior:smooth;
}


header {
  background-color:#CCA43B;
  width:100%;
  position:fixed; /*keep header as we scroll*/
  z-index: 999;
  display: flex;
  justify-content: space-between; /*child elements in header have space between them*/
  align-items: center;
  padding:10px 200px; 
}

.logo{
  text-decoration: none;
  color:#242F40;
  text-transform: uppercase;
  font-weight:700;
  font-size:1.8em; /* 1.8 x 16 in px*/
}

.navigation a{
  color: #242F40;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 500;
  padding-left: 13px;
}

/*to change color when hover*/
.navigation a:hover{
  color:#E5E5E5;

}

section{
  padding: 100px 200px /*to push from right and left 200px. from top and bottom 100px*/
}


.main{
    width:100%;
    min-height:100vh; /*vh is view port */
    display:flex;
    align-items:center;
    background: url(main.jpg) no-repeat;
    background-size:cover; /*to contain image in size*/
    background-position: center;
    background-attachment:fixed;
  }
  
  .main h2 {
    color: #E5E5E5;
    font-size:1.4em;
    font-weight:500;
    text-align: left;
  }
  
  
  .main h2 span{
    display:inline-block;
    margin-top: 10px;
    color:#E5E5E5;
    font-size:3em;
    font-weight:600;
  }
  
  .main h3 {
    color: #E5E5E5;
    font-size: 2em;
    font-weight:700;
    letter-spacing: 1px;
    margin-top:10px;
    margin-bottom:30px;
  
  }
  
  
  
  .main-btn {
    color: #363636;
    background-color:#CCA43B;
    text-decoration:none;
    font-size:1.1em;
    font-weight:600;
    display:inline-block; /*3ashan ne3ref nkammel*/
    padding:0.9375em 2.187em;
    letter-spacing:1px;
    border-radius: 15px;;
    margin-bottom:40px;
    transition: 0.7s ease;
  }
  
  .main-btn:hover{
    background-color: #E5E5E5;
    transform: scale(1.1, 1.1); /*to increase size by 1.1*/
  }
  
  .social-icons a {
    color:#E5E5E5;
    font-size:1.7em;
    padding-right: 30px; /*to make space between next items*/
  }
  
  .title{
    display:flex;
    justify-content:center;
    color:#242F40;
    font-size:2.2em;
    font-weight:800;
    margin-bottom: 30px;
  }
  
  .content{
    display:flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap:wrap; /*to have card go down is smaller screen*/
  }

  .card{
    background-color: #ffffff;
    width: 15em;
    box-shadow:0 5px 25px rgba(1 1 1/ 15%);
    border-radius:10px;
    padding:5px;
    margin:5px; /*space between cards*/
    transition:0.7s ease;
  }
  
  .card:hover{
    transform:scale(1.2);
  }


  .card a{
    text-decoration: none;
  }
  
  
  .info{
    text-align:center;
  }
  
  
  .info h3{
    color:#363636;
    font-style:normal;
    font-size: 1.5em;
    font-weight: 700;
    margin: 10px;
    text-align: center;
  
  }
  
  
  .info h4{
    color:#363636;
    font-style: normal;
    font-size: 1.2em;
    font-weight: 700;
    margin: 10px;
  
  }
  
  .about-image img {
    width: 100%;
    height: 100%;
  }


/*contact me on index*/

.cardcontact{
    background-color: #ffffff;
    float:inline-end;
    width: 300px;
    height: 100px;
    box-shadow:0 5px 25px rgba(1 1 1/ 15%);
    border-radius:10px;
    padding:20px;
    margin:20px; /*space between cards*/



  }
.title{
  display:flex;
  justify-content:center;
  color:#363636;
  font-size:2.2em;
  font-weight:800;
  margin-bottom: 30px;
}
  
.content{
  display:flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap:wrap; /*to have card go down is smaller screen*/
}



.cardcontact .icon{
  font-size:1em;
  align-items: center;
    float: inline-end;
  
}
  
.contact .icon{
    font-size:4.5em;
    align-items: center;
    float: inline-end;
  
  }
  
  .contact .info .h3{
    color:black;
  }
  
  .contact .info p{
    font-size:1.5em;
  }
  
  .icon{
    align-items: center;
    text-align:center;
    color: #363636;
  }

  

/* Bio Page */
.bio p{
    color: #363636; 

}

.bio a:hover{
    color: #CCA43B;
}

.bio span{
    color: #CCA43B;
    text-decoration:solid;
}


/*Interests Page */

.interests p{
    color: #363636; 
}

.interests h2{
    color:#242F40;
    font-size: 2em;
}


/* Contact Me form styling */

.wrapperSubmit{
    position:absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
    max-width: 350px;
    width:100%;
    background-color: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow:0 5px 25px rgba(1 1 1/ 15%);
  

  }
  
  .wrapperSubmit h2{
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase; 
    letter-spacing: 3px;
    color:#242F40;
  }
  
  .wrapperSubmit .input_field{
    margin-bottom: 10px;
  }
  
  .wrapperSubmit .input_field input[type="text"],
  
  .wrapperSubmit textarea{
    width: 100%;
    border: 1px solid #242F40;
    padding: 10px;
  }
  
  .wrapperSubmit textarea{
    height: 80px;
    resize:none;
  }
  
  .wrapperSubmit .btn input[type="submit"]{
    border:0;
    margin-top:15px;
    padding:10px;
    width:100%;
    background: #CCA43B;
    color:#363636;
    text-transform: uppercase;
    letter-spacing:5px;
    font-weight:bold; 
    border-radius:25px;
    cursor: pointer;
  }
  
  .wrapperSubmit #error_message{
    margin-bottom: 20px;
    padding:0px;
    background-color: #FF9494;
    text-align:center;
    font-size: 14px;
    transition: all 0.7s ease;
  
  }
  


/* navbar a styling*/
.navbar a {
    position: relative;
    font-size: 16px;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}   
/* centering class*/
.center {
    margin: auto;
    width: 50%;
    padding: 20px;
    text-align: center;
}

/* H1 styling*/
h1 {
    position: relative;
    padding: 0;
    margin: 0;
    font-family: "monospace", sans-serif;
    font-style:oblique;
    font-weight: 900;
    font-size: 40px;
    color: black;

}
/* H2 styling*/
h2 {
    text-align: center;
    font-size: 25px;
    font-family: "monospace", sans-serif;
    color: #363636;
}


/* paragraph styling*/
p {
    text-align: center;
    font-size: 20px;
    color:#363636;
}
  
/* links styling*/
a{
    box-shadow: inset 0 0 0 0 #000000;
    color: #000000;
    margin: 0 -.25rem;
    padding: 0 .25rem;
    transition: color .3s ease-in-out, box-shadow .3s ease-in-out;

}
@media (max-width:1023px){
  header{
      padding: 12px 20px;
  }

  .navigation a{
      padding-left: 10px;
  }

  .title{
      font-size: 1.8em;
  }

  section{
      padding: 80px 20px;
  }

  .main-content h2{
      font-size: 1em;
  }

  .main-content h3{
      font-size: 1.6em;
  }

  .content{
      flex-direction: column;
      align-items: center;
  }

}

@media (max-width:641px){
  body{
      font-size: 12px;
  }

  .main-content h2{
      font-size: 0.8em;
  }

  .main-content h3{
      font-size: 1.4em;
  }
}

@media (max-width:300px){
  body{
      font-size: 10px;
  }
}

.video{
  display:flex
}
/* hover styling for links*/
a:hover {
    color: #E5E5E5;
    transition: color .3s ease-in-out;
    box-shadow: 0px 35px 50px rgba( 0, 0, 0, 0.2 );
}
/* hover styling for table*/
td:hover {background-color:#E5E5E5}

/*creating a table wrapper*/
.table-wrapper{

    margin: 20px 70px 70px;
    box-shadow: 0px 35px 50px rgba( 0, 0, 0, 0.2 );
}
/*styling table for skills and degrees pages*/
.fl-table {
    border-radius: 5px;
    font-size: 12px;
    font-weight: normal;
    border: none;
    border-collapse: collapse;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    background-color: white;
}

.fl-table td, .fl-table th {
    text-align: center;
    padding: 8px;
}

.fl-table td {
    border-right: 1px solid #f8f8f8;
    font-size: 12px;
}

.fl-table thead th {
    color: #ffffff;
    background: #CCA43B;
}


.fl-table thead th:nth-child(odd) {
    color: #ffffff;
    background: #324960;
}

.fl-table tr:nth-child(even) {
    background: #F8F8F8;
}

/* Table for skills and degrees*/

@media (max-width: 767px) {
    .fl-table {
        display: block;
        width: 100%;
    }
    .table-wrapper:before{
        content: "Scroll horizontally >";
        display: block;
        text-align: right;
        font-size: 11px;
        color: white;
        padding: 0 0 10px;
    }
    .fl-table thead, .fl-table tbody, .fl-table thead th {
        display: block;
    }
    .fl-table thead th:last-child{
        border-bottom: none;
    }
    .fl-table thead {
        float: left;
    }
    .fl-table tbody {
        width: auto;
        position: relative;
        overflow-x: auto;
    }
    .fl-table td, .fl-table th {
        padding: 20px .625em .625em .625em;
        height: 60px;
        vertical-align: middle;
        box-sizing: border-box;
        overflow-x: hidden;
        overflow-y: auto;
        width: 120px;
        font-size: 13px;
        text-overflow: ellipsis;
    }
    .fl-table thead th {
        text-align: left;
        border-bottom: 1px solid #f7f7f9;
    }
    .fl-table tbody tr {
        display: table-cell;
    }
    .fl-table tbody tr:nth-child(odd) {
        background: none;
    }
    .fl-table tr:nth-child(even) {
        background: transparent;
    }
    .fl-table tr td:nth-child(odd) {
        background: #F8F8F8;
        border-right: 1px solid #E6E4E4;
    }
    .fl-table tr td:nth-child(even) {
        border-right: 1px solid #E6E4E4;
    }
    .fl-table tbody td {
        display: block;
        text-align: center;
    }
}


/* submit form for contact me page*/

input[type=text], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}  
input[type=submit] {
    background-color: #04AA6D;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}   

input[type=submit]:hover {
     background-color: #45a049;
}   


/*end of submit form styling with table*/


.glow-on-hover {
  text-decoration: none;
  text-align:center;
  font-style: oblique;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: large;
  width: 220px;
  height: 50px;
  border: none;
  outline: none;
  color: rgb(255, 255, 255);
  background: #111;
  cursor: pointer;
  position:absolute;
  z-index: 0;
  border-radius: 10px;

}

.glow-on-hover:before {
  content: '';
  background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
  position:absolute;
  top: -2px;
  left:-2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing 20s linear infinite;
  opacity: 0;
  transition: opacity .3s ease-in-out;
  border-radius: 10px;
}

.glow-on-hover:active {
  color: #000
}

.glow-on-hover:active:after {
  background: transparent;
}

.glow-on-hover:hover:before {
  opacity: 1;
}

.glow-on-hover:after {
  z-index: -1;
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: #111;
  left: 0;
  top: 0;
  border-radius: 10px;
}

@keyframes glowing {
  0% { background-position: 0 0; }
  50% { background-position: 400% 0; }
  100% { background-position: 0 0; }
}


/* Bio divs*/
.parent {

  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(5, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  }
  
.divbio { grid-area: 2 / 2 / 5 / 3; }
.divbio2 { grid-area: 2 / 3 / 5 / 5; 
  font-style: oblique;
}
