body {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight:400;
    font-style: normal;
    font-size: 1.2em;
    color: rgb(31,31,31);
    margin: 0;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #ffffff;
}

::-webkit-scrollbar-thumb {
    background-color: rgb(0, 0, 0);
    border-radius: 6px;
    border: 2px solid #ffffff;
}

::-webkit-scrollbar-thumb:hover {
    background: #333;
}

a {
    text-decoration: none;
    color: rgb(0,155,205);
}

h1{
    font-family: "Anton", sans-serif;
    font-weight: 900;
    font-style: normal;
    text-align: center;
    font-size: 5em;
    width: 90%;
    margin: auto;
    color: rgb(255, 255, 255);
    letter-spacing: 5px;
}

#intro {
position: relative;
font-weight: 300;
width: 50%;
margin: auto;
text-align: center;
color: white;
 text-shadow: 1px 1px 5px rgb(0, 0, 0);
}

.headerText {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;

}

.headerLogo {
    display: block;
    margin: auto;
    height: 200px;
    width: 200px;
}

h2 {
    text-align: center;
    font-weight: 900;
    font-style: normal;
    font-size: 2em;
    letter-spacing: 1px;
    color: white;
}

.logo {
    margin-right:0em;
    margin-left: 5px !important;
}

.logo img {
    width: 50px;
}

header {
    background-image: url(../assets/background/bg.png);
    background-position: bottom;
    background-size: cover;
    background-repeat: no-repeat;
    padding-bottom: 2em;
    box-shadow: inset  0 0 10px rgb(0, 0, 0);
}

#navbarMobile {
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
}
#navbarMobile img {
    width: 50px;
    height: 50px;
    margin: 0.5em;
    cursor: pointer;
}


#menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}
#menu ul li {
    margin: 0.5em 0;
    color: white;
    padding: 0.5em;
}
#menu ul li a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-weight: 500
}

header #navbar {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 99;
}

header #navbar ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
    font-size: 1em;
    
}

header #navbar ul li {
    margin: 0 7px;
    color: white;
    padding: 0.5em;
}

#navContact {
    margin-right: 2em !important;
}

#navContact a {
    color: rgb(0,155,205) !important;
    text-decoration: underline !important;
    font-weight: 500;

}

#navContact a:hover {
    color: rgb(255, 255, 255) !important;
    transition: 0.3s;
}

header #navbar ul li a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-weight: 500
}

header #navbar ul li a:hover {
    color: rgb(0,155,205);
    transition: 0.3s;
}


main {
    color: rgb(255, 255, 255);
    padding: 2em;
    margin: auto;
    background-image: linear-gradient(to bottom, rgb(0, 0, 0), rgb(0, 0, 0));
    
}

main section {
    margin-bottom: 2em;
}

#diapo {
    width: 100%;
    margin: auto;
    margin-top: 2em;
    margin-bottom: 2em;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1em;
    text-align: center;
}

#diapo::-webkit-scrollbar {
    display: none; 
    
}

#diapo div {
    flex: 1;
    margin: 2em;
}

#diapo img {
    height: 500px;
    flex-shrink: 0;
    scroll-snap-align: center;
}

#webApps div img {
    width: 25%;
}

#mobileTech div{
    margin: auto;
    width: 35%;
    text-align: center;
}

#mobileTech div img {
    width: 100%;

}

#webIcons, #mobileIcons, #dataIcons, #gamesIcons {
    width: 100%;
    margin: auto;
    display: flex;
    margin-bottom: 2em;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

#webIcons img , #mobileIcons img{
    border-radius: 15px;
    width: 150px;
    height: 150px;
    margin: 1em;
    transition: 0.3s;
    background-color: rgb(255, 255, 255);
    padding: 1em;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
}

#dataIcons img ,  #gamesIcons img {
    border-radius: 15px;
    width: 250px;
    height: 150px;
    margin: 1em;
    transition: 0.3s;
    background-color: rgb(255, 255, 255);
    padding: 1em;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
}


#webIcons img:hover, #mobileIcons img:hover, #dataIcons img:hover, #gamesIcons img:hover {
    transform: scale(1.05);
    transition: 0.3s;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

#webIcons img:active, #mobileIcons img:active, #dataIcons img:active, #gamesIcons img:active {
    transform: scale(0.95);
    transition: 0.3s;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
}

#webIcons img:focus, #mobileIcons img:focus, #dataIcons img:focus, #gamesIcons img:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

#dataProducts, #products {
    width: 100%;
    margin: auto;
    display: flex;
    margin-bottom: 2em;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

#dataProducts article, #products article {
    width: 30%;
    margin: 1em;
    padding: 1em;
    text-align: center;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
}

#dataProducts article:hover, #products article:hover {
    transform: scale(1.05);
    transition: 0.3s;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

#dataProducts article img, #products article img {
    width: 70%;
    border-radius: 15px;
    padding: 1em;
    box-sizing: border-box;
}

#pacman {
    width: 40%;
    margin: auto;
    text-align: center;
    margin-bottom: 2em;
    display: block;
}

#legal h2 {
    text-align: center;
    color: white;
}

#legal h3{
    text-align: center;
    font-size: 1.5em;
    margin-top: 2em;
    margin-bottom: 0.5em;
}

.contact form {
    width: 35%;
    margin: auto;
    margin-bottom: 3em;
}

.contact div {
    width: 100%;
}

.contact form label {
    display: block;
    width: 100%;
    margin: 0.5em 0;
    font-weight: 500;
}

.contact form input {
    display: block;
    width: 100%;
    padding: 1em;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    margin: 1em 0;
    box-sizing: border-box  ;
}

.contact form textarea {
    margin: 1em 0;
    display: block;
    width: 100%;
    padding: 1em;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    box-sizing: border-box  ;
}

.contact form button {
    padding: 1em;
    margin: 1em;
    width: 150px;
    border: none;
    box-shadow: inset   0 0 5px rgba(0, 0, 0, 0.5);
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    color: white;
}

footer {
    text-align: center;
    background-color: rgb(0, 0, 0);
    color: white;
    padding: 2em;
}

footer a {
    color: white;
    text-decoration: none;
}

footer img {
    width: 5%;
}

#tictactoe {
    width: 20%;
    margin: auto;
    text-align: center;
}

#tictactoe img {
    width: 100%;
}



@media screen and (max-width: 1200px) {
    #intro {
        width: 80%;
    }
    header #navbar ul li {
        margin: 0 5px;
    }
    header #navbar ul li a {
        font-size: 0.8em;
    }
    h1 {
        font-size: 4em;
        width: 90%;
    }
    #webApps div img {
        width: 50%;
    }
    #mobileTech div{
        margin: auto;
        width: 55%;
        text-align: center;
    }
    #finance img {
        width: 90%;
    }
    .contact form {
        width: 50%;
    }
}


@media screen and (max-width: 840px) {
    h1 {
        font-size: 2.5em;
        width: 90%;
    }
    header #navbar {
        display: none;
    }
    header #navbarMobile {
        display: block;
    }
    #dataProducts article, #products article {
        width: 90%;
    }
    footer img {
        width: 15%;
    }
}

@media screen and (max-width: 600px) {
    h1 {
        font-size: 2em;
        width: 90%;
    }
    header #navbar ul li {
        margin: 0 2px;
    }
    header #navbar ul li a {
        font-size: 0.7em;
    }
    #webApps div img {
        width: 100%;
    }
    #mobileTech div{
        margin: auto;
        width: 100%;
        text-align: center;
    }
    #pacman {
        width: 80%;
    }
    .contact form {
        width: 80%;
    }
    footer img {
        width: 20%;
    }
}