*, html{
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none; 
    list-style: none;
    outline: none;
    z-index: 2;
}
body{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, auto);
}
pre-header{
    grid-row: 1/2;
    grid-column: 2/5;
    
}
nav{
    grid-row: 2/3;
    grid-column: 2/5;
}
header{
    grid-row: 1/4;
    grid-column: 1/6;
    z-index: 1;
}
main{
    grid-row:4/5;
    grid-column: 2/5;
    display: grid;
    grid-template-rows: repeat(2, auto);
    margin-bottom: 50px;
}
footer{
    grid-row: 5/6;
    grid-column: 1/6;
}
#on{
    background-color: rgb(58, 63, 134);
}
#title{
    text-align: center;
    color: #020636;
    font-size: 120px;
    border-bottom: double 5px rgb(0, 0, 0);
    font-family: "Cute Font", sans-serif;
    margin-top: 0px;
    text-shadow: 0 0 5px rgb(51, 28, 255);
    font-style: italic;
}
nav ul{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    grid-gap: 1em;
    box-shadow: 100px black;
    margin-top: -60px;
    margin-left: -40px;
}
nav ul a{
    background-color: rgb(25, 29, 82);
    padding: 20px 100px 20px 100px;
    color: rgb(255, 255, 255);
    transition:0.3s;
    border-radius: 20px;
    box-shadow: 0px 0px 15px rgb(0, 0, 0);
    font-weight: bold;
}
nav ul a:hover{
    background-color: rgb(45, 54, 187);
    padding: 25px 105px 25px 105px;
}
header img{
    width: 100.8%;
    height: 650px;
    object-fit: cover;
    object-position: 0 100%;
    margin-top: -10px;
    align-content: center;
    margin-left: -0.4%;
    border-bottom: solid 5px black;
}
#site{
    text-align: center;
    background-image: linear-gradient(to right, #b7dcee , rgb(45, 54, 187), #b7dcee);
    background-color: #020636;
    color: white;
    margin-top: -10px;
    width: 100.8%;
    margin-left: -0.4%;
    box-shadow: black 0 0 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
main section{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-row-gap: 2em;
}
section p{
    background-color: #daf3ff;
    padding: 15px;
    border-radius: 00px 20px 20px 0px;
    box-shadow: black 0 0 10px;
    text-align: left;
    color: rgb(58, 58, 58);
    margin: auto;
    font-family: Georgia, 'Times New Roman', Times, serif;
}
main section h2{
    border-bottom: solid 2px rgb(25, 29, 82);
    border-top: none;
    text-align: right;
    padding-top:26px;
    padding-bottom: 26px;
    padding-right: 5px;
    background-image: linear-gradient(to right, rgb(255, 255, 255) , #b7dcee);
    
}
main h2{
    background-image: linear-gradient(to right, white,#b7dcee,white);
    border-bottom: solid 2px rgb(25, 29, 82);
    border-top: dashed 2px rgb(25, 29, 82);
    text-align: center;
    padding-top:30px;
    padding-bottom: 30px;
    padding-right: 5px;
}
main section img{
        width: 90%;
        height: 105%;
        object-fit: cover;
        object-position: 40% 0;
        box-shadow: black 0 0 15px;
}
#hobby p{
    border-bottom: solid 2px rgb(25, 29, 82);
    text-align: right;
    padding-top:26px;
    padding-bottom: 26px;
    padding-right: 5px;
    background-image: linear-gradient(to right, rgb(255, 255, 255) , #b7dcee);
    border-radius: 0;
    box-shadow: none;
}
iframe{
    aspect-ratio: 16/9;
    width: 99.5%;
    object-fit: contain;
    object-position: center;
    object-fit: fill;
    margin-top: 30px;
    box-shadow: black 0 0 15px;
    border-radius: 15px;
}
textarea {
    resize: none;
}
#contact{
    display: block;
}
form{
    display: grid; 
    grid-gap: 1em; 
    text-align: center;
    padding: 20px;
    border-radius: 20px;
    box-shadow: rgb(25, 29, 82) 0 0 15px;
}
#input, form select, button{
    height: 25px; 
    border: 2px solid rgb(25, 29, 82); 
    border-radius: 10px;
    box-shadow: black 0 0 10px;
    width: 230px;
    text-align: center;
    margin: auto;
}
#radio{
    margin-bottom: 15px;
}
textarea{
    border: 2px solid rgb(25, 29, 82); 
    border-radius: 10px;
    box-shadow: black 0 0 10px;
    width: 300px;
    text-align: center;
    margin: auto;
}
form label{
    font-size: 120%;
}
button {
    text-align: center; 
    font-size: 120%; 
    font-weight: 600; 
    color: #fff; 
    background-color: rgb(25, 29, 82);
}
#social{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1em;
    text-align: center;
    align-content: center;
    background-image: linear-gradient(rgb(25, 29, 82), rgb(0, 0, 0));
    width: 100.8%;
    margin-left: -0.4%;
    margin-bottom: -10px;
    border-radius: 10px 10px 0px 0px;
    margin-top: 30px;
    box-shadow: black 0 0 15px;
    border-top: rgb(0, 0, 0) 2px solid;
}
#social h3{
    transition: 0.3s;
    background-color: rgb(139, 139, 139);
    padding-top: 5px;
    border-radius: 10px;
    width: 50%;
    margin-left:auto;
    margin-right: auto;
    text-shadow:0 0 10px rgb(0, 0, 0);
}
.fa-twitter, .fa-facebook-f, .fa-instagram{
    font-size: 20px;
    
}
#social h3:hover{
    box-shadow:0 0 10px rgb(255, 255, 255);
}
#intro{
    text-align: center;
    border-radius: 20px 20px 0 0;
    border-top: solid 2px rgb(25, 29, 82);
    border-left: solid 2px rgb(25, 29, 82);
    border-right: solid 2px rgb(25, 29, 82);
    padding: 30px;
    font-weight: bold;
    background-image: linear-gradient(rgb(25, 29, 82), white);
    text-shadow: 0 0 7px white;
}
#outro{
    text-align: center;
    border-radius: 0 0 20px 20px;
    border-bottom: solid 2px rgb(25, 29, 82);
    border-left: solid 2px rgb(25, 29, 82);
    border-right: solid 2px rgb(25, 29, 82);
    padding: 30px;
    font-weight: bold;
    background-image: linear-gradient(white, rgb(25, 29, 82));
    text-shadow: 0 0 7px white;
}
#cv{
    grid-gap: 2em;
}
#cv p{
    text-align: center;
    border-radius: 10px;
    background-color: white;
    margin-top: 0;
}
#pic1{
    margin-bottom: -100px;
    height: 96%;
    border-radius: 20px;
    box-shadow: 0 0 10px black;
    width: 100%;
}
#pic2{
    border-radius: 20px;
    box-shadow: 0 0 10px black;
    width: 100%;
    height: 100%;
}
#pic3{
    border-radius: 20px;
    box-shadow: 0 0 10px black;
    width: 100%;
    height: 85%;
    object-position: 0 15%;
}
@media (max-width:1400px){
    nav ul{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    nav ul li{
        height: 60px;
    }
}
@media (max-width:600px) {
    footer, main, nav ul{
        display: grid;
        grid-template-columns: 1fr;
    }
    nav ul li{
        height: 60px;
    }
    header img{
        width: 103.4%;
        margin-left: -2%;
        margin-top: -10px;
        height: 650px;
        object-fit: cover;
        object-position: 50% 0;
    }
    #title{
        line-height: 70px;
        
    }
    #site{
        position: relative;
        width: 103.4%;
        margin-left: -2%;
    }
    #social{
        display: grid;
        grid-template-columns: 1fr;
    }
    form{
        margin-left: -40px;
    }
    #cv{
        display: grid;
        grid-template-columns: 1fr;
        grid-column: 1fr;
    }
}