body{

    margin: 0;

}

.page1{

    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    color: white;
    background: url('../images/bg.png') no-repeat center center fixed;
    background-size: cover;

}

header{
    font-family: 'Visitor';
    font-size: 3rem;
    padding: 15px;
    font-weight: bold;
    font-style: italic;
    z-index: 2;
    text-align: left;

}

.navbar{

    background-color: white;
    display: flex;
    justify-content: space-evenly;
    color: black;
    align-items: center;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 16px;

}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdownButton{
    background-color: white;
    border: none;
    cursor: pointer;
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
}

.dropdownContent {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: inherit;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    width: 100%;
    z-index: 1;
}

.dropdownContent label {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: center;
  }

.dropdown:hover .dropdownContent {
    display: block;
}

input
{   
    display: none; 
}

input:checked+label
{   
    color: green;

}

.content{

    background-color: gray;    
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    padding: 16px;
    height: 50%;

}

.reel{

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 5px;
    grid-row-gap: 5px;
    height: 100%;
}

.off{

    display: none;

}


.anim3d { grid-area: 1 / 1 / 4 / 2; }
.model3d { grid-area: 1 / 2 / 2 / 3; }
.games { grid-area: 2 / 2 / 3 / 3; }
.illustrations { grid-area: 3 / 2 / 4 / 3; }


/* .fg{

    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: -1;

}
 */
.char{

    position: absolute;
    right: 0;
    top: 0;
    animation: float 5s ease-in-out infinite;
    filter: drop-shadow(10px 5px 0px black);

}

.buttons{

    display: flex;
    flex-direction: column;
    margin-left: -10px;
    row-gap: 40px;
    margin-top: 5%;
    

}

.buttons>div{

    background-color: #A80000;
    font-family: 'Visitor';
    font-size: 25px;
    color: white;
    border-color: black;
    filter: drop-shadow(5px 5px 0px black);
    border-style: solid;
    padding: 20px;
    text-align: center;
    width: 20%;
    transition: 0.3s;

}

.buttons>div:hover{

    
    width: 30%;
    cursor: pointer;

}

.aboutSection{

    display: none;
    margin-left: -10px;
    position: absolute;
    background-color: #A80000;
    color: white;
    padding: 20px;
    font-family: 'Visitor';
    font-size: 20px;
    width: 60%;
    border-color: black;
    filter: drop-shadow(5px 5px 0px black);
    border-style: solid;
    margin-top: 15px;

}

.aboutIcons{

    display: flex;
    justify-content: space-evenly;

}

.aboutIcons>a{

    transition: 0.1s ease-in-out;

}

.aboutIcons>a:hover{

    scale: 1.1;

}

.aboutBack{

    display: inline-block;

}

.aboutBack:hover{

    cursor: pointer;

}

.aboutSkillsIcons{


    display: flex;
    justify-content: space-evenly;
    filter: drop-shadow(1px 1px 0px black);

}

.languages{

    position: absolute;
    bottom: 0;
    left: 0;
    padding: 25px;

}

.languages>img{

    cursor: pointer;

}

@font-face{

    font-family: Visitor;
    src: url("/fonts/Visitor.ttf");

}

@keyframes float{

    0%{

        transform: translateY(0px);

    }
    50%{

        transform: translateY(20px);

    }
    100%{

        transform: translateY(0px);

    }

}