:root {
    --header_color: #1F2933;
    --font_color: #d3e5fa;
    --border_color: #c7cfd8;
    --text_font: 'Roboto', sans-serif;
    --alt_color: #2196F3;
    --glow_color: rgba(24, 190, 245, 0.5);
    --tooltip_color: #e0fbfc ;
    --about_fontSize: clamp(1.9rem, 4vw, 2.2rem);
    --text_shadow: 0px 0px 25px var(--alt_color), 0px 0px 25px var(--glow_color);
}

@keyframes slide_right{
    from{
        transform: translateY(300px);
        filter: blur(5px);
        opacity: 0;
    }

    to{
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }
}

@keyframes fill_up{
    to{
        left: 100%;
    }
}

*:focus {
    outline: none;
}

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

body{
    margin: 0;
    min-height: 100%;
    display: grid;
    grid-template-rows: 1fr 4fr 1fr;
    background-color: var(--header_color);
}

#header:hover > .fade-effect{
    opacity: 0.2;
}

#header:hover > .fade-effect:hover{
    opacity: 1;
    color: var(--alt_color);
    text-shadow: var(--text_shadow);
}

#resume_link:hover{
    color: var(--alt_color);
}

.header_button{
    border: none;
    background-color: var(--header_color);
    cursor: pointer;
    padding: 0 0 0 20px;
    position: relative;
    top: 48px;
    height: 50px;
}

.header_font{
    font-family: var(--text_font);
    color: var(--font_color);
    font-size: 1.2rem;
}

#resume_link{
    text-decoration: none;
}

#header{
    display: grid;
    grid-template-columns: 3fr repeat(18, 1fr);
    padding-top: 2%;
    background-color: var(--header_color);
    position: relative;
    padding-left: 10%;
    margin-bottom: 20px;
    height: 80px;
}

#title{
    color: var(--font_color);
    cursor: pointer;
    font-size: 2.6rem;
    font-family: var(--text_font);
}

#center{
    display: flex;
    background-color: var(--header_color);
    align-items: center;
    justify-items: center;
}

#footer{
    height: 2rem;
    display: flex;
    background-color: none;
    justify-content: center;
    position: relative;
    top: 100px;
}

.brands{
    cursor: pointer;
    font-size: 2.2rem;
    color: var(--font_color);
    padding-left: 12px;
    text-decoration: none;
}

.brands:hover{
    color: var(--alt_color);
}

.fa-sharp{
    font-size: 2rem;
    color: var(--font_color);
    cursor: pointer;
    padding: 0 15px 0 15px;
}

.fa-sharp:hover{
    color: var(--alt_color);
    text-shadow:0px 0px 20px var(--alt_color), 0px 0px 20px var(--glow_color);
}

.arrows{
    display: flex;
    align-items: center;
    width: clamp(40px, 5%, 100px);
}


#left{
    display: flex;
    width: 100%;
    position: relative;
    top: 0px;
    left: 0px;
    justify-content: right;
}

#right{
    display: flex;
    width: 100%;
    position: relative;
    top: 0px;
    left: 0px;
    justify-content: left;
}

#contact{
    width: 100%;
    display: none;
    grid-template-columns: 1fr;
    animation: slide_right 1s ease;
}

#contact:hover > .contacts{
    opacity: 0.2;
}

#contact:hover > .contacts:hover{
    opacity: 1;
    color: var(--alt_color);
    text-shadow: var(--text_shadow);
}

.contacts{
    text-align: center;
    text-decoration: none;
    font-family: var(--text_font);
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--font_color);
    padding-bottom: 10px;
}

#about{
    width: 100%;
    font-family: var(--text_font);
    font-size: var(--about_fontSize);
    color: var(--font_color);
    text-align: center;
    padding: 50px 10px 0 10px;
    user-select: none;
}

.fill_in{ 
    display: inline-block;
    font-size: var(--about_fontSize);
    position: relative;
    font-family: var(--text_font);
    color: var(--alt_color);
    width: max-content;
}

.fill_in::before,
.fill_in::after{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.fill_first::before{
    background-color: var(--header_color);
    animation: fill_up 0.8s steps(120) forwards;
}

.fill_second::before{
    background-color: var(--header_color);
    animation: fill_up 0.8s steps(120) 1.5s forwards;
}

.fill_third::before{
    background-color: var(--header_color);
    animation: fill_up 0.8s steps(120) 2.5s forwards;
}

#technical{
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    font-family: var(--text_font);
    color: var(--alt_color);
    text-align: center;
    padding-top: 3rem;
}

#tech_icons{
    padding-top: 10px;
    margin: 0 10px 0 10px;
}

#projects{
    display: grid;
    grid-template-columns: 2fr 6fr 2fr;
    width: 100%;
    height: 600px;
    padding-top: 20px;
    user-select: none;
}

.pro_img{
    width: 100%;
    height: 100%;
}

.image_cont{
    width: 320px;
    height: 460px;
    overflow: hidden;
    border: 3px solid var(--alt_color);
    border-radius: 5px;
    flex: none;
}

.image_cont:hover{
    box-shadow: 0 0 5px 3px var(--glow_color);
}

.pro_desc{
    width: 100%;
    padding-left: 20px;
}

.text{
    font-family: var(--text_font);
    color: var(--font_color);
}

.project_title{
    text-align: left;
    font-size: clamp(2.2rem, 4vw, 2.6rem);
}

.project_title:hover{
    color: var(--alt_color);
    text-shadow:var(--text_shadow);
}

.title_link{
    text-decoration: none;
}

#dental_demo{
    text-decoration: none;
    flex: none;
    position: relative;
    top:-0.5rem;
}

.demo_text{
    width: 10rem;
    text-decoration: none;
    font-weight: bold;
    border: solid 3px;
    margin-left: 11px;
}

.demo_text:hover{
    color: var(--alt_color);
    box-shadow: 0 0 5px 3px rgba(24, 190, 245, 0.5);
}

.language_cont{
    flex: none;
    width: clamp(11rem, 20vw, 14rem);
    position: relative;
}

.about_icons{
    font-size: clamp(3rem, 6vw, 4rem);
    display: inline-block;
}

.project_icons{
    font-size: clamp(3rem, 6vw, 4rem);
    display: inline-block;
}

.tooltip{
    display: flex;
    visibility: hidden;
    background-color: var(--tooltip_color);
    color: var(--alt_color);
    font-size: 1rem;
    font-family: var(--text_font);
    text-align: left;
    position: absolute;
    padding: 5px 3px 5px 3px;
    border-radius: 10px;
    z-index: 1;
    border: solid 1px var(--alt_color);
    box-shadow: 0 0 5px 1px var(--alt_color);
}

.about_icons:hover .tooltip{
    visibility: visible;
}

.project_icons:hover .tooltip{
    visibility: visible;
}

.paragraph{
    width: 100%;
    text-align: left;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.items{
    display: flex;
    width: 100%;
    height: 100%;
    text-align: center;
}

#icon_one {
    position: absolute;
    top: 10px;
}

#icon_two {
    position: absolute;
    top: 15px;
    
}

#icon_three {
    position: absolute;
    top: 20px;
}

.menu_icon {
    width: 25px;
    height: 2px;
    left: 15px;
    background-color: var(--alt_color);
}

.menu_content{
    position: relative;
    left: -40px;
    top: 5px;
    font-size: 1.3rem;
    text-align: left;
    padding: 10px 0 5px 1rem;
    width: 124px;
    height: 28px;
    cursor: pointer;
    border-bottom: solid 2px var(--alt_color);
}

.content_font{
    font-family: var(--text_font);
    color: var(--font_color);
}

.content_font:hover{
    color: var(--alt_color);
}


#drop_btn{
    width: 60px;
    height: 35px;
    position: absolute;
    right: 5%;
    top: 85px;
    border: 2px solid var(--border_color);
    background-color: var(--head_color);
    border-radius: 4px;
    transition-duration: 0.4s;
    display: none;
}

#drop_btn:hover {
    background-color: var(--font_color);
}

#dropdown_content{
    list-style-type: none;
    display: none;
    position: absolute;
    right: 0px;
    top: 24px;
    width: 100px;
    height: 140px;
    background-color:rgb(31, 52, 66);
    box-shadow: 0px 5px 5px 0px #00131f;
    border-top: solid 2px var(--alt_color);
}