html 
{
    scroll-behavior: smooth;
}

body
{
    background-color: #001220;
    max-width: 1920px;
    min-width: 1000px;
    padding: 0;
    margin: 0;
}

/* First section of the webpage */

intro
{
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 500px;
    width: auto;
    padding: 15px;
}

header
{
    display: flex;
    min-width: 700px;
    width: 100%;
    padding: 0px 2px 0px 2px;
    z-index: 10;
    position: sticky;
    min-height: 120px;
    max-height: 120px;
    font-size: 32px;
    top: 0;
    margin: 0 auto;
    box-sizing: border-box;
    filter: drop-shadow(3px 3px 5px #000000);
    transition: top 0.3s;
}

header img
{
    padding: 10px;
    width:100px;
    height:100px;
}

header img:hover
{
    filter: opacity(0.5);
}

header a
{
    padding-right: 10px;
}

nav
{
    width: 85%;
    min-width: 494px;
    float: right;
}

nav ol
{
    text-align: right;
    margin: 0px 20px 0px 0px;

}

nav ol li
{
    display: inline-flex;
    align-content: center;
    color: rgb(255, 255, 255);
    font-family: 'Lobster';
    margin-right: 20px;
    padding: 40px 0px 40px 0px;
}

nav ol li:hover
{
    filter: opacity(0.5);
}

#resume
{
    display: inline-flex;
    float: right;
    justify-content: center;
    align-content: center;
    height: 40px;
    width: 120px;
    margin: 35px 0px 35px 0px;
    font-family: 'Lobster';
    color: white;
    border: 5px solid white;
}

#resume:hover
{
    filter: opacity(0.5);
}

introductory-block
{   
    position: relative;
    bottom: 165px;
    font-size: 32px;
    z-index: 2;
}

introductory-block h1
{
    color: white;
    font-size: 220px;
    font-family: 'Rancho', serif;
    font-weight: 900;
    text-align: center;
    position: static;
    margin: 0 auto;
}

introductory-block h2
{
    position: static;
    color: white;
    bottom: 200px;
    font-size: 30px;
    padding-left: 10px;
    font-family: 'Martian Mono', serif;
    margin: 0 auto;
}

introductory-block h3
{
    color: white;
    bottom: 200px;
    font-size: 30px;
    font-family: 'Shadows Into Light', serif;
    margin: 0 auto;
    position: static;
    bottom: 10px;
    text-align: center;
}

animated-blob
{
    position: relative;
    display: flex;
    top: 135px;
    max-width: 1000px;
    scale: 175%;
    z-index: 1;
}

.down-arrow
{
    position: absolute;
    top: calc(735px);
    left: calc(50% -14px );
    width: 0;
    height: 30px;
    border: 2px solid;
    border-radius: 2px;
    animation: jumpInfinite 1.5s infinite;
    color: white;
    align-content: center;
}

.down-arrow:after
{
    content: " ";
    position: absolute;
    top: 10px;
    left: -10px;
    width: 16px;
    height: 16px;
    border-bottom: 4px solid;
    border-right: 4px solid;
    border-radius: 4px;
    transform: rotateZ(45deg);
    color: white;
}

@keyframes jumpInfinite
{
    0%
    {
        margin-top: 0;
    }
    50%
    {
        margin-top: 20px;
    }
    100%
    {
        margin-top: 0;
    }
}

/* Second, Third, and Fourth sections of the webpage */

.about
{
    display: static;
    text-align: center;
    height: 100%;
    top: 1000px;
    min-width: 1000px;
    max-width: 100%;
    min-height: 900px;
    margin-bottom: -300px;
}

.about-section
{
    display: inline-block;
    vertical-align: middle;
    align-content: center;
    max-width: 750px;
}

.about-section img
{
    position: relative;
    width: 92%;
    height: 92%;
    margin-right: 60px;
}

.about-section h2
{
    margin-top: 0px;
    text-align: right;
    font-size: 100px;
}

.about-section h3
{
    text-align: right;
    font-size: 30px;
}

.about-section h4
{
    text-align: right;
    text-align: right;
    font-size: 20px;
    margin-bottom: 0;
}

.about-section p 
{
    font-size: 22px;
    text-align: right;
}

.about-section ul
{
    list-style:none;
    position: flex;
    float: right;
    display: block;
    text-align: right;
    max-width: 300px;
    color: white;
    font-size: 20px;
    font-weight:200;
    border-right: 2.5px dashed rgba(255, 255, 255, 0.5);
    font-family: 'Martian Mono';
}

.language:nth-child(1)
{
    transition-delay: 200ms;
}

.language:nth-child(2)
{
    transition-delay: 400ms;
}

.language:nth-child(3)
{
    transition-delay: 600ms;
}

.language:nth-child(4)
{
    transition-delay: 800ms;
}

.language:nth-child(5)
{
    transition-delay: 1000ms;
}

.language:nth-child(6)
{
    transition-delay: 1200ms;
}

.language:nth-child(7)
{
    transition-delay: 1400ms;
}

#experience
{
    display: grid;
    place-items: center;
    align-content: center;
    height: 1000px;
}

#experience h2
{
    display: flex;
    bottom: 100px;
}
  
#experience .tabs
{
    display: flex;
    flex-wrap: wrap;
    width: 975px;
    font-family: sans-serif;
}

#experience .tabs-label 
{
    font-family: "Martian Mono";
    font-size: 19px;
    font-weight: 600;
    position: relative;
    color: white;
    padding: 3%;
    cursor: pointer;
    justify-content: center;
    text-align: center;
}

#experience .tabs-label:hover
{
    filter: opacity(0.5);
}

#experience .tabs-radio
{
    display: none;
}

#experience .tabs-content
{
    order: 1;
    height: 500px;
    width: 100%;
    line-height: 1.5;
    color: white;
    font-size: 30px;
    display: none;
    border: 5px solid #dd3f31;
    padding-left: 2%;
    border-bottom-right-radius: 25px;
    border-bottom-left-radius: 25px;
}
  
#experience .tabs-radio:checked + .tabs-label 
{
    color: white;
    background: #dd3f31;
    border-top: 2px solid #dd3f31;
    border-right: 2px solid #dd3f31;
    border-left: 2px solid #dd3f31;
}
  
#experience .tabs-radio:checked + .tabs-label + .tabs-content 
{
    display: inline-block;
    vertical-align: middle;
    align-content: center;
}

#experience .left-tab
{
    width: 520px;
    display: inline-block;
    vertical-align: middle;
    align-content: center;
    text-align: right;
}

#experience .right-tab
{
    display: inline-block;
    vertical-align: middle;
    align-content: center;
}

#experience .left-tab h3
{
    margin-top: 0px;
    font-size: 30px;
    font-weight: 600;
}

#experience .left-tab p
{
    font-size: 16.5px;
    font-weight: 100;
}

#experience .left-tab a
{
    position: relative;
    display:block;
    font-size: 20px;
    font-weight: 400;
    font-family: "Martian Mono";
    color: #dd3f31;
    text-align: right;
}

#experience .left-tab a:hover
{
    color: white;
}

#experience .left-tab a.title-link
{
    margin-top: 0px;
    font-size: 30px;
    font-weight: 600;
    color: white;
    font-family: 'Martian Mono';
}

#experience .left-tab a.title-link:hover
{
    color:#dd3f31;
}

#experience img
{
    width: 400px;
    height: 460px;
    margin-top: 20px;
    filter: brightness(75%);
}

#experience h3
{
    margin-top: 50px;
    margin-bottom: 0px;
    font-size: 20px;
    font-weight: 900;
}

#experience a
{
    margin-top: 15px;
    color: #dd3f31;
    font-size: 20px;
    font-family: 'Martian Mono';
    font-weight:300;
}

#experience a:hover
{
    color: white;
}

#contact
{
    display: grid;
    place-items: center;
    align-content: center;
    height: 500px;
}

#contact h2
{
    text-align: center;
    margin: 0 0;
}

#contact p
{
    font-size: 20px;
    font-weight: 100;
    text-align: center;
    margin: 20px 15px 35px 15px;
}

#contact ul.contact-bar
{
    filter:invert();
    margin-top: 30px;
    padding: 0 0;
    scale: 250%;
}

#contact .contact-bar .linkedin-contact:hover
{
    filter: opacity(0.5);   
}

#contact .contact-bar .github-contact:hover
{
    filter: opacity(0.5);   
}

#contact .contact-bar .mail-contact:hover
{
    filter: opacity(0.5);   
}

#contact .contact-bar .linkedin-contact
{
    position: relative;
    display: inline;
    top: 1.001px;
}

#contact .contact-bar .github-contact
{
    position: relative;
    display: inline;
    margin-left: 15px;
    top: 2px; 
}

#contact .contact-bar .mail-contact
{
    position: relative;
    display: inline;
    margin-left: 15px;
    top: 2px;
}

#contact .signature
{
    font-family: 'Martian Mono';
    font-size: 12px;
    color: #dd3f31;
    margin-top: 75px;
}

#contact .signature:hover
{
    color: white;
}

.contact:nth-child(1)
{
    transition-delay: 200ms;
}

.contact:nth-child(2)
{
    transition-delay: 400ms;
}

.contact:nth-child(3)
{
    transition-delay: 600ms;
}

.blue
{
    background: #001220;
}

.red
{
    background: #dd3f31;
}

.dark
{
    background: #0f0f10;
}

.spacer 
{
    aspect-ratio: 960/300;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    top: 0;
    left: 0;
    overflow: hidden;
    line-height: 0;
}

.layer1
{
    background-image: url('./layered-waves-haikei-1.svg');
}

.layer2
{
    position: relative; 
    background-image: url('./layered-waves-haikei-2.svg');
}

.layer3
{
    background-image: url('./layered-waves-haikei-3.svg');
}

div.spacer.layer1
{
    height: 200px;
}

div.spacer.layer2
{
    
    height: 450px;
}

div.spacer.layer3
{
    height: 200px;
}

h2
{
    font-size: 65px;
    color: white;
    font-family: 'Martian Mono';
    font: weight 600px;
}

h3
{
    color: white;
    font-family: 'Martian Mono';
}

h4
{
    color: white;
    font-family: 'Martian Mono';
}

p
{
    color: white;
    font-family: 'Martian Mono';
    font: weight 200px;;
}

a
{
    color: white;
}

/* Scroll Animation */
.hidden
{
    opacity: 0;
    filter: blur(10px);
    transition: all 1s;
}

.from-left
{
    transform: translateX(-100%);
}

.from-right
{
    transform: translateX(+100%);
}

.from-top
{
    transform: translateY(-100%);
}

.from-bottom
{
    transform: translateY(+100%);
}

.show
{
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
}

@media(prefers-reduced-motion) 
{
    .hidden
    {
        transition: none;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar 
{
    width: 20px;
}

::-webkit-scrollbar-track 
{
    box-shadow: inset 0 0 5px grey;
    background:rgba(0, 0, 0, 1);
}

::-webkit-scrollbar-thumb
{
    background :rgba(255, 255, 255, 1);
    border-radius: 10px;
}

@media only screen and (max-width: 1503px)
{
    .about-section img
    {
        margin-top: -200px;
    }
}