*{
    margin: 0;
    padding: 0;
    }

body{
    background: url(img/abstract-space2.png);
    background-repeat: no-repeat;
    background-size: cover;
    font-family: Roboto, Arial, Helvetica, sans-serif;
    src: url('fonts/Roboto-Regular.ttf') format("truetype");   
} 

.portfolio{
    color: #fff;    
    font-size: 250%;    
    margin-left: 4%;
    margin-bottom: 1%;
    word-break: break-all;
}

nav {
background-color: blueviolet;
color:antiquewhite ;
 }

 .container-bar{
    display: flex;   
    padding-left: 4%;
    text-align: center;
 }

 .navBar{   
    box-sizing:border-box;
    word-wrap: normal; 
    max-width: 300px;  
    width: 100%;   
 }

 #navBarBr{
    font-weight: bold;    
    font-size: 1.9em;
    color: #000;
 }

.nav-item{    
    font-size: 1.7em;
    font-weight: normal;   
}

.nav-li:hover {
   color: #2eb53b;   
}

 nav ul li {    
    display: inline-block;
    list-style-type: none;
    padding-top: 8px;
    margin-right: 1.5em;
  } 

.wrapper {    
    display: flex;   
    max-width: 100%;            
 } 

.textMyWorks{
   color: #fff;
   margin-top: 50px;
   margin-left: auto; 
   margin-right: auto;   
}

.textWork:hover {
   color: #2eb53b;   
}

.myWorks {   
   display: grid;
   gap: 100px 100px;
   grid-template-rows: 50px 50px;
   grid-template-columns: repeat(3,300px); 
   justify-content: center;    
   margin-top: 5%; 
}


@media screen and (max-width: 1199px)  {

   body{
      background: url(img/abstract-space2.png);      
      background-size: cover;
      font-family: Roboto, Arial, Helvetica, sans-serif;
      src: url('fonts/Roboto-Regular.ttf') format("truetype");
    }   

.myWorks {   
   display: grid;
   gap: 150px;
   grid-template-rows: 0px 50px 0px 50px; 
   grid-template-columns: 300px 300px; 
 margin-bottom: 15%;
}

   #imgST{
      grid-column: 1;
      grid-row: 1;   
    }
   
    #imgCalc{
      grid-column: 2;
      grid-row: 1;
    }
   
    #imgTDL{
      grid-column: 1;
      grid-row: 3;   
    }
    
    #txtST{
      grid-column: 1;
      grid-row: 2;
    }
   
   #txtCalc{
      grid-column: 2;
      grid-row: 2;
    }
   
    #txtTDL{
      grid-column: 1;
      grid-row:  4;
     
    }
}

@media screen and (max-width: 899px)  {
   body{
      background: url(img/abstract-space2.png);
      background-size: cover;
      font-family: Roboto, Arial, Helvetica, sans-serif;
      src: url('fonts/Roboto-Regular.ttf') format("truetype");
   } 

  .container-bar{
   display: flex;  
   text-align: center;
   flex-direction: column;
   justify-content: center;     
   align-items: center;
}

.myWorks {   
   display: grid;   
   grid-template-rows: 0px 50px 0px 50px 00px 50px; 
   grid-template-columns: 340px; 
   margin-bottom: 20%;
}
   #imgST{
      grid-column: 1;
      grid-row: 1;   
    }
   
    #imgCalc{
      grid-column: 1;
      grid-row: 3;
    }
   
    #imgTDL{
      grid-column: 1;
      grid-row: 5;   
    }
    
    #txtST{
      grid-column: 1;
      grid-row: 2;
    }
   
   #txtCalc{
      grid-column: 1;
      grid-row: 4;
    }
   
    #txtTDL{
      grid-column: 1;
      grid-row:  6;
    }
}

 .textWork {
   align-items: center;
   color: #fff;
   font-size: 1.4em;
   /* font-size: 20px; */
   margin-top: 100px;
   margin-left: 100px;
   text-decoration: none;   
 }

.SimpleTemplate {
    background: url(img/SST12.png);
    background-repeat: no-repeat;
    background-size: cover;
    border: 5px solid #f4f6f7;
    border-radius: 20px;
    height: 219px;     
    width: 327px;    
 }
 
 .SimpleTemplate:hover {
    background: url(img/SST12.png);
    background-repeat: no-repeat;
    background-size: cover;
    border: 5px solid #2eb53b;
    border-radius: 20px;
    filter: brightness(90%);
    height: 219px;   
    width: 327px; 
  }
    
 .Calculator {
    background: url(img/Calc2.png);
    background-repeat: no-repeat;
    background-size: cover;
    border: 5px solid #f4f6f7;
    border-radius: 20px;  
    height: 219px;
    width: 327px;
 }
 
 .Calculator:hover {
    background: url(img/Calc2.png);
    background-repeat: no-repeat;
    background-size: cover;
    border: 5px solid #2eb53b;
    border-radius: 20px;
    filter: brightness(90%);
    height: 219px;     
    width: 327px;
 }
 
 .ToDoList {
    background: url(img/ToDoList.png);
    background-repeat: no-repeat;
    background-size: cover;
    border: 5px solid #f4f6f7;
    border-radius: 20px;    
    height: 219px; 
    width: 327px;
 }
 
 .ToDoList:hover {
    background: url(img/ToDoList.png);
    background-repeat: no-repeat;
    background-size: cover;
    border: 5px solid #2eb53b;
    border-radius: 20px;
    filter: brightness(90%);
    height: 219px;     
    width: 327px;
 }
 
 .main-container{
   box-sizing: border-box;
   color: #fff;   
   display: flex;
   justify-content: center;
 }
 
 .container-img{
   border: 5px solid #f4f6f7;
   border-radius: 20px;
   box-sizing: border-box;
   margin:50px 10px 10px 50px;   
   object-fit: cover;
   max-width: 700px; 
   width: 100%; 
  }
  
  .container-img:hover{
   border: 5px solid #2eb53b;
   border-radius: 20px;
   box-sizing: border-box;
   margin:50px 10px 10px 50px;   
   object-fit: cover;
   max-width: 700px; 
   width: 100%; 
  }

 .containerNav-img{
   border: 2px solid #f4f6f7;
   border-radius: 20px;
   box-sizing: border-box;
   margin:50px 10px 10px 50px;  
   height: 100%;
   max-width: 600px;
 }

 
 .container-text{
   font-size: 1.4em;
   margin:50px 50px 50px 50px;   
   padding-left: 30px;
  max-width: 650px;
  }
 @media screen and (max-width: 1199px)  {
   .main-container{
      box-sizing: border-box;
      color: #fff;   
      display: flex;
      flex-direction: column;
      justify-content: center;
     
      align-items: center;
      margin-bottom: 10%;
 }
 .container-img{
   border: 5px solid #f4f6f7;
   border-radius: 20px;
   box-sizing: border-box;
   margin:50px 10px 10px 0px;   
   object-fit: cover;  
   height: 100%;  
   width: 100%;    
 }

 .container-img:hover{
   border: 5px solid #2eb53b;
   border-radius: 20px;
   box-sizing: border-box;   
   margin:50px 10px 10px 0px;   
   object-fit: cover;  
   height: 100%;  
   width: 100%;    
 }

 .containerNav-img{
   border: 2px solid #f4f6f7;
   border-radius: 20px;
   box-sizing: border-box;
   margin:0px 10px 10px 0px;  
   height: 100%;   
   width: 100%; 
 }
 
}
 .container-textMyCont{ 
   font-size: 1.2em;
   margin:50px 10px 10px 50px;   
   max-width: 250px;  
   width: 100%; 
   white-space: nowrap;
 }

 .contact-container {   
   margin-top: 50px; 
   margin-bottom: 5%;
   text-align: center;
   max-width: 500px;  
   width: 100%; 
} 

.contact-input{
   background-color: rgb(197, 187, 207);
   margin-bottom: 10px;
   padding: 5px; 
}

#contactButton{
   background-color: rgb(38, 10, 66);  
   border: 2px solid #eef1f4;
   color: white;
}

.myContact-container{
margin-top:50px;
}

.textMyConact{
   text-align: center;
}

.seeGitHub{
   background-color: rgb(38, 10, 66); 
   border: 1px solid #fff;
   border-radius: 10px;
   color: white;
   font-size: 1.1em; 
   padding: 5px; 
   margin-left: 15%;
   text-align: center;
   text-decoration: none;   
}

.seeGitHub:hover{
   background-color: rgb(38, 10, 66); 
   border: 1px solid #2eb53b;
   border-radius: 10px;
   color: #2eb53b;
   font-size: 1.1em; 
   padding: 5px;   
   margin-left: 15%;   
   text-align: center;
   text-decoration: none;   
}