/* The Following code is added to reset 
CSS for cross-browser compatibility */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
  min-width: 320px;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

.container {
    margin: 0 auto;
    padding-left: auto;
    padding-right: auto;
    width: auto;
  }
  

/* footer style section */
footer{
    text-align: center;
    font-size: large;
    background-color: rgb(23, 39, 94);
    height: 50px;
    line-height: 50px;
    font-family: 'Orbitron', sans-serif;
}
#footer_text{
    color: whitesmoke;
}

body, html {
    height: 100%;
    margin: 0;
}

/* header style section */
.header {
    overflow: hidden;
    background-color: rgba(34, 34, 36, 0.767);
    padding: 10px 10px;
  }
  
.header a {
    float: left;
    color: whitesmoke;
    text-align: center;
    padding: 18px;
    text-decoration: none;
    font-size: 18px; 
    font-weight: bold;
    line-height: 25px;
    border-radius: 4px;
    font-family: 'Orbitron', sans-serif;
}

.header a.logo {
    font-size: 25px;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
}

.header-right a:hover {
    color: antiquewhite;
    background-color: rgba(1, 1, 37, 0.377);
}


.header-right {
float: right;
}


/* content style section */
.content{
    margin-top: 10px;
}

.contact-info{
    background-color: rgba(82, 73, 102, 0.805);
    padding: 5%;
}

.contact-container{
    display: flex;
    align-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-data{
    line-height: 25px;
}

.contact-icons{
    width: 75px;
    height: 75px;
    border-radius: 15px;
}

.contact-left{
    font-family: 'Roboto', sans-serif;
    font-weight: bolder;
    font-size: 1.3em;
    color:rgb(222, 226, 230);
    text-align: center;
    align-items: center;
    padding: 4%;
}
.contact-right{
    background-color: rgba(156, 156, 156, 0.651);
    border-radius: 15px;
    display: grid;
    grid-gap: 2em;
    width: auto;
    justify-content: space-between;
    justify-items: center;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    padding: 4%;
}

.main-container{
    display: flex;
    flex-direction: column;

    background-image: url('../images/home-bg.jpg');
    /* Full height */
    height: auto; 

    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.data-container h2{
    text-align: center;
    font-size: 2em;
    color: aliceblue;
    font-family: 'Permanent Marker', cursive;
}

.experience{
    background-color: rgba(163, 109, 64, 0.9);
    padding: 5%;
}


.about-me{
    background-color: rgba(78, 100, 93, 0.85);
    padding: 5%;
}

.my-work{
    padding: 5%;
    background-color: rgba(26, 70, 80, 0.903);
    text-align: center;
}

.home{
    padding: 12%;
    color: aliceblue;
    font-size: 2em;
    background-color: rgba(49, 47, 47, 0.85);
}

#job{
    font-size: 2.1em;
    font-family: 'Freckle Face', cursive;
}

.home img{
    border-radius: 5em;
    width: 35%;
    float: left;
}

.empty-space{
    margin-top: 640px; 
}

.home-job{
    padding: 2em 0px 0px 0px;
    float: right;
    align-items: center;
    position: relative;
    right: 5%;
    left: 5%;
}
    

#company{

    font-family: 'Gloria Hallelujah', cursive;
    font-size: 1.3em;
}

.work-data{
    text-align: center;
    font-family: 'Roboto', sans-serif;
    border-radius: 15px;
    flex: 3;
    padding: 1em;
    float: left;
    height: 15em;
    width: 100%;
    color:rgb(198, 205, 212);
    background-color: rgba(156, 156, 156, 0.301);
    margin: 10px 25px 10px 0px;
}

.experience-company{
    margin-top: 2em;
    display: block;
    color:rgb(222, 226, 230);
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    font-size: 1.3em;
    text-transform: uppercase;
    font-weight: bolder;
}

.work-data strong{
    font-size: 1.2em;
}

#about-me-heading{
    flex: 1;
    font-size: 3.5em;
}

.about-me-text{
    border-radius: 15px;
    background-color: rgba(109, 110, 112, 0.582);
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    overflow-wrap: break-word;
    word-wrap: break-word;
    float: left;
    flex: 1;
    hyphens: auto;
    color:rgb(205, 211, 216);
    font-size: 1.3em;
    padding: 50px;
    line-height: 1.5;
    width: 100%;
    text-align: left;
}


.about-me-top-container{
    display: flex;
    align-items: center;
}

.about-me-skills{
    background-color: rgba(152, 153, 153, 0.685);
    border-radius: 15px;
}

.about-me-images img{
    display: block;
    margin: auto;
    width: 120px;
    height: 120px;
    align-self: center;
    border-radius: 40%;
    padding: 15px;
}

.about-me-images{
    display: flex;
    align-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;

}

.about-me-subtitle{
    text-align: center;
    font-family: 'Permanent Marker', cursive;
    font-size: 1.3em;
}

.github_link{
    display: inline-block;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    font-size: 2em;
    line-height: 2em;
    background-color: rgba(156, 156, 156, 0.548);
    padding: 1em;
    border-radius: 15px;
    color:rgb(205, 211, 216);
}

.github_link img{
    width: 75px;
    height: 75px;
}


#scroll {
    position:fixed;
    right:10px;
    bottom:10px;
    cursor:pointer;
    width:50px;
    height:50px;
    background-color:#5ac56c;
    text-indent:-9999px;
    display:none;
    -webkit-border-radius:60px;
    -moz-border-radius:60px;
    border-radius:60px
}
#scroll span {
    position:absolute;
    top:50%;
    left:50%;
    margin-left:-8px;
    margin-top:-12px;
    height:0;
    width:0;
    border:8px solid transparent;
    border-bottom-color:#ffffff;
}

/* @media screen and (min-width:768px){
    .about-me-images{
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        grid-template-columns: repeat(3,1fr);
        grid-gap: 2em;
    
    }
} */

@media screen and (max-width: 600px) {
    .header a {
        float: none;
        display: block;
        text-align: left;
    }
    .header-right {
        float: none;
    }
}

@media screen and (min-width:1163px){
    .experience{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

@media screen and (max-width:480px){
    .contact-right{
        grid-template-columns: 1fr 1fr;
    }
    .contact-right a{
        margin: 1em;
    }
    
}

@media screen and (max-width:275px){
    .contact-right{
        grid-template-columns: 1fr;
    }
    .contact-right a{
        margin: 1em;
    }
    
}

@media screen and (max-width:650px){
    .about-me-top-container{
        flex-direction: column;
    }
}