@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Satisfy&display=swap');

* {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    background-color: white;
}

h1, h2, h3, h4, h5, h6,
button, input, select, textarea {
    font-family: 'Raleway', sans-serif;
}

::-webkit-input-placeholder {
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
}

:-moz-placeholder {
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
    text-decoration: underline;
}

::-moz-placeholder {
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
    text-decoration: underline;
}

:-ms-input-placeholder {
    font-family: 'Raleway', sans-serif;
    text-decoration: underline;
    text-transform: uppercase;
}

.hidden-list {
    margin-top: -300px;
    transition: all 1s;
}

.show-list {
    margin-top: 0;
    transition: all 1s;

}

nav{
    position: fixed;
    z-index: 1;
}
.nav-container {
    width: 100vw;
    font-weight: 500;
    background-color: #55266c;
    color: white;
}

/* MENU LG */
.lg-nav {
    display: flex;
    height: 50px;
    padding: 0 20px;
    justify-content: space-between;
    align-items: center;
}

.menu-links {
    list-style: none;
    display: inline;
}

.menu-links a {
    text-decoration: none;
    color: white;
    padding: 0 2px;
    margin-right: 10px;
    font-weight: bold;
}
.menu-links a:hover {
    color: rgb(34, 13, 89);  
}
/* MENU SM */
.sm-nav {
    display: none;
    position: relative;
    justify-content: space-between;
    min-height: 50px;
    padding: 0 20px;
    z-index: 0;
}
.menu-items {
    width: 100%;
    min-height: 50px;
    background-color: rgba(85,38,108, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 0
}
.sm-nav-links {
    display: flex;
    position: relative;
    width: 100vw;
    height: auto;
    flex-direction: column;
    background-color: rgba(85,38,108, 0.8);
    list-style: none;
    padding: 30px 30px;
    z-index: -1;

}
.sm-nav-links a {
    text-decoration: none;
    color: white;
    line-height: 2.5em;
    z-index: 1;
}

.btn-menu {
    background-color: transparent;
    border: none;
    color: white;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.title-white {
    text-align: center;
    color: white;
}

.title-dark {
    text-align: center;
    color: black;
}

.bg-darkBlue {
    background-color: rgba(85,38,108, 0.8);
    color: #000;
}

.container {
    display: flex;
    justify-content: center;
    flex-direction: row;
    padding: 20px;
    margin: 40px auto;
}

.container-fluid {
    width: 100vw;
    padding: 20px;
    margin: 40px auto;
}

.logo {
    margin-left: 10px;
}

header {
    display: flex;
    background-color: rgba(85,38,108, 0.8);
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
    margin-top: 2%;
}

header h1 {
    width: 751px;
    height: 122px;
    font-weight: 700;
    font-size: 32px;
    line-height: 50px;
    color: white;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

header p {
    width: 751px;
    height: 52px;
    font-size: 16px;
    line-height: 26px;
    color: white;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

.avatar-header {

    width: 40%;
}

.avatar-header .avatar {
    border-radius: 70%;
    width: 300px;
    height: 300px;
    background-color: white;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

}
.text-content ul {
    margin-top: 20px;
}

.text-content {
    width: 100%;
}

.text-content li {
    display: inline;
    margin-right: 10px;
}

.text-content li a {
    text-decoration: none;
    font-weight: bold;
    color: white;
}

.text-content li a:hover {
    text-decoration: underline;
    color: rgb(34, 13, 89);
}

.about-me {
    display: flex;
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 30px;
    width: 76%;
    flex-direction: column;
    gap: 16px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.about-me p {
    line-height: 38px;
    color: black;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.skills {
    padding: 30px 0;

}

.group-items {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    padding: 30px;
    gap: 32px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.items {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    border: 1px solid #c2c2c2;
    border-radius: 10px;
    width: 176px;
    height: 174px;
    background: #f1eee9;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.items:hover {
    box-shadow: 0px 0px 50px rgb(71, 15, 104);
    transition: box-shadow 1s;
}

.items img {
    width: 80px;
}

.items legend {
    width: 100%;
    text-align: center;
    font-weight: bold;
    background-color: white;
    border: 1px solid #c2c2c2;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 10px 0px;
}

.hobbies {
    background-color: rgba(85,38,108, 0.8);
    padding: 30px 0;
    margin-top: 30px;
}

.academy {
    padding: 30px 0;
}

.signature {
    font-family: 'Satisfy', cursive;
    font-size: 1.5em;
    text-align: right;
}

.college-degree {
    padding: 30px 0;
}

.college-items {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    border: 1px solid #c2c2c2;
    border-radius: 10px;
    width: 400px;
    background: #f1eee9;
    flex: none;
    order: 0;
    margin-top: 30px;
    margin-bottom: 30px;
    flex-grow: 0;
}

.college-items:hover {
    box-shadow: 0px 0px 50px rgb(125, 38, 176);
    transition: box-shadow 1s;
}

.college-content {
    padding: 30px;
}

.college-items img {
    width: 150px;
}

.college-footer {
    width: 100%;
    background-color: #ffffff;
    padding: 10px 0px;
    text-align: center;
    border: 1px solid #c2c2c2;
}

.projects {
    padding: 30px 0;
}

.project-tumb {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    height: 300px;
    border-radius: 10px;
}

.project-tumb img {
    width: 600px;
    height: 300px;
    border-radius: 10px;
}

.description-project {
    width: 50%;
    text-align: left;
}

.description-project .text-description {
    color: white;
    margin-bottom: 15px;
}

.btn-repository {
    border-radius: 5px;
    border: 1px solid rgb(71, 15, 104);
    color: rgb(63, 19, 89);
    width: 100px;
    height: 50px;
    background-color: transparent;
}

.btn-repository:hover, .btn-demo:hover {
    background-color: rgb(104, 29, 148);
    color: white;
    box-shadow: 0px 0px 20px 2px rgb(140, 42, 197);
    transition: background-color 1s, color 1s, box-shadow 1s;
}

.btn-demo {
    border-radius: 5px;
    background-color: transparent;
    border: 1px solid rgb(71, 15, 104);
    color: rgb(63, 19, 89);
    width: 100px;
    height: 50px;
}

.btn-demo a {
    color: white;
    text-decoration: none;
}

.contact {
    padding: 30px 0;
}

form input {
    width: 97%;
    padding: 10px;
    margin: 5px 0;
    outline: none;
    border: none;
    border-radius: 5px;
    border: 1px solid #c2c2c2;
}

form textarea {
    width: 97%;
    height: 150px;
    margin: 5px 0;
    padding: 10px;
    resize: none;
    outline: none;
    border: none;
    border-radius: 5px;
    border: 1px solid #c2c2c2;
}

#name:focus {
    box-shadow: 0px 0px 20px 2px rgb(104, 29, 148);
    transition: box-shadow 1s;
}

#mail:focus {
    box-shadow: 0px 0px 20px 2px rgb(104, 29, 148);
    transition: box-shadow 1s;
}

#subject:focus {
    box-shadow: 0px 0px 20px 2px rgb(104, 29, 148);
    transition: box-shadow 1s;
}

#message:focus {
    box-shadow: 0px 0px 20px 2px rgb(104, 29, 148);
    transition: box-shadow 1s;
}

.form-header {
    padding: 30px 0;

}

.form-header h2 {
    margin: 10px 0;
}

.send-sucess {
    margin: 10px 0;
    padding: 10px;
    color: white;
    text-align: center;
    border-radius: 10px;
    background-color: #2ea58d;
}

.send-error {
    margin: 10px 0;
    padding: 10px;
    color: white;
    text-align: center;
    border-radius: 10px;
    background-color: #f15e60;
}

.btn-send {
    border-radius: 5px;
    background-color: rgba(85,38,108, 0.8);
    border: none;
    color: white;
    font-size: 16px;
    padding: 10px;
    height: 50px;
}

.btn-send:hover {
    border: 1px solid rgba(85,38,108, 0.8);
    background-color: transparent;
    color: rgba(85,38,108, 0.8);
    box-shadow: 0px 0px 20px 2px rgba(85,38,108, 0.8);
    transition: color 1s, background-color 1s, box-shadow 1s;
}

.btn-send:active {
    border: 2px solid #3a8843;
    background-color: transparent;
    color: white;
    cursor: pointer;
}

.btn-send:disabled {
    background-color:rgba(85,38,108, 0.8);
    box-shadow: none;
    border: none;
    color: white;
    cursor: pointer;

}

.float-btn {
    display: flex;
    width: 100%;
    justify-content: end;
    padding: 20px;
    position: fixed;
    bottom: 0;
    z-index: 1;
}

.btn-back {
    background-color: rgba(85,38,108, 0.8);
    border-radius: 100%;
    width: 50px;
    height: 50px;
    margin-right: 50px;
    border: none;
}

.btn-back a {
    color: white;
    text-decoration: none;
}

footer {
    background-color: rgba(85,38,108, 0.8);
    color: white;
    position: relative;
    box-shadow: 0px 5px 15px #55266c;
}

.footer {
    display: block;
    position: relative;
    bottom: 0;
    text-align: center;
    flex-direction: row;
    padding: 20px;
    font-weight: 500;
}
