html{
    scroll-behavior: smooth;
}
body{
    background-image: url(../images/aws1.avif);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: #f3ecea;
}
header{
    table {
    background: linear-gradient( 90deg, #152467, #7288b7);
    color: white;
    padding: 5px 15px;
    font-size: 20px;
    font-style: italic;
    box-shadow: 4px 8px 16px #869cbd;
    font-weight: bold; 
    width: 100%;
    position: fixed;
    margin-top: -200px;
    }
    #tamasdud {
        margin-left: auto;
        font-family: "Montserrat";
    }
    #navtab {
        margin-right: auto;
        font-family: "Montserrat";
    }
}
nav ul{
    list-style:none;
    padding: 15px;
    font-style: normal;
}
nav ul li{
    display: inline;
    margin: 0 15px;
}
nav ul li a {
    color: #f3ecea;
    text-decoration: none;
    font-size: 25px;
    transition: color 0.4s;
    font-variant: small-caps;
}
nav ul li a:hover {
    color: #7e7098;
}
#contact{
    border: 0;
    background-color: #f3ecea;
    margin-top: 200px;
    text-align: center;
    line-height: 0;
    color: #152467;
    width: 800px;
    height: 300px;
    table-layout: fixed;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 4px 8px 16px #869cbd;
    font-family: "roboto";
}
#cvpic{
    background-image: url(cv_pic.jpg);
    background-size: cover;
    background-position: center;
    border: 0;
}
#socialmedia{
    padding-top: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: #f3ecea;
    width: 800px;
    table-layout: auto;
    background-color: #7e7098;
    border: 0;
}
#introduction{
    padding-top: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
    color: #152467;
    width:100%;
    table-layout: auto;
    background-color: #f3ecea;
    box-shadow: 4px 8px 16px #869cbd;
    border: 0;
    font-style: italic;
    font-family: "roboto";
    line-height: 1.6;
}

#experience{
    padding-top: 0;
    margin-left: auto;
    margin-right: auto;
    background-color: #f3ecea;
    color: #152467;
    box-shadow: 4px 8px 16px #869cbd;
    width: 100%;
    table-layout: fixed;
    font-family: "Montserrat";
    line-height: 2.4;
    text-align: justify;
}
#cellhead{
    border-bottom-color: rgba(21, 36, 103, 0.4);
    border-bottom-style: groove;
    border-bottom-width: 1px;
    padding: 15px;
    font-size: 30px;
    text-align: center;
}
#cellform1{
    border: 1;
    border-right: #152467;
    border-right-style: dotted;
    border-right-width: 1px;
    text-align: right;
    vertical-align: top;
    padding-right: 35px;
}
#cellform2{
    text-align: justify;
}
#education{
    padding-top: 0;
    margin-left: auto;
    margin-right: auto;
    background-color: #f3ecea;
    color: #152467;
    box-shadow: 4px 8px 16px #869cbd;
    width: 100%;
    table-layout: fixed;
    font-family: "roboto";
}

section#projects{
    font-size: 20px;
    color: #152467;
    background-color: #7e7098;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
    margin-top: -20px;
    padding-left: 100px;
    padding-right: 100px;
    margin-bottom: 1px;
    font-family: "Montserrat";
}
#proh2{
    color: #152467;
    background-color: #7e7098;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-top: auto;
    margin-bottom: auto;
    font-family: "roboto";
    padding-top: 125px;
}
#cellposition{
    margin-bottom: -10px;
}
#skills{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #152467;
    color:#f3ecea;
    width: 100%;
}
.container{
    position: relative;
    max-width: 700px;
    width: 100%;
    background-color: #f3ecea;
    margin: 0 15px;
    padding: 10px 20px;
    border-radius: 7px;
}
.container .skill-box{
    width: 700px;
    margin: 25px 0;
}
.skill-box .title{
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #869cbd;
}
.skill-box .skil-bar{
height: 8px;
width: 100%;
border-radius: 6px;
background-color: rgba(1, 1, 1, 0.1);
}
.skill-bar .skill-per {
position: relative;
display: block;
height: 100%;
width: 80%;
border-radius: 6px;
background-color: #152467;
animation: progress 0.4s ease-in-out forwards;
opacity: 0;
}
.skill-per.CSS{
    width: 70%;
    animation-delay: 0.1s;
}
.skill-per.JavaScript{
    width: 50%;
    animation-delay: 0.2s;
}
.skill-per.awscloud{
    width: 70%;
    animation-delay: 0.3s;
}
@keyframes progress{
    0%{
        width: 0;
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}
.skill-per .tooltip{
    position: absolute;
    right: -14px;
    top: -28px;
    font-size: 9px;
    font-weight: 500;
    color:#f3ecea;
    padding: 2px 6px;
    border-radius: 3px;
    background-color: #152467;
    z-index: 1;
}
.tooltip::before{
    content: '';
    position: absolute;
    left: 50%;
    bottom: -2px;
    height: 10px;
    width:  10px;
    z-index: -1;
    background-color: #152467;
    transform: translateX(-50%) rotate(45deg);
}
#hardskills{
    text-align: center;
}
#foot{
        background-color:#869cbd;
        color: #152467;
        padding: 5px 15px;
        font-size: 20px;
        font-weight: bold; 
        width: 100%;
        padding-top: 5px;
    }
#home a{
        color: #152467;
        text-decoration: none;
        font-size: 25px;
        transition: color 0.4s;
    }
#home a:hover{
    color: #f3ecea;
}
.animate-on-scroll{
    opacity: 0;
    transform: translateX(-300px);
    transition: all 0.4s ease;
    transition-delay: 0.2s;
}
.animate{
    opacity: 1;
    transform: translateX(0);
}
.montserrat {
    font-family: "Montserrat", serif;
    font-optical-sizing:normal;
    font-weight: weight;
    font-style: normal;
  }
  .roboto {
    font-family: "Roboto", serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    font-variation-settings:
      "wdth" 100;
  }