

/*--------------------------
    Formatting Clear
--------------------------*/


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*--------------------------
    Fonts and Spacing
--------------------------*/
body {
    font-family: "Asap", sans-serif;
    font-weight: 400;
    font-size: medium;
    font-style: normal;
    background: linear-gradient(180deg, #121212 0%, #272b3b 100%);
    color: white;
}

.primary {
    font-family: "Andada+Pro", sans-serif;
    font-weight: 700;
    font-size: 1.75em;
    font-style: normal;
    margin-bottom: 15px;
    gap: 0;
}
.wrap-names {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.primary-helper {
    position: relative;
    top: 15px;
}
.profile-desc {
    line-height: 1.25;
}
/*--------------------------
    Headers
--------------------------*/
h1 h2 h3 h4 h5 {
    line-height: 1.5;
}
h2 {
    text-align: center;
}


/*--------------------------
    Links
--------------------------*/

.link {
    color:#00183e;
    transition: color 0.3s ease;
    text-decoration: none;
}

.link:hover {
    color: #79d7fd;
}
.header-link {
    color:#e6e6e6;
    transition: color 0.3s ease;
}

.header-link:hover {
    color: #79d7fd;
}

/*--------------------------
    Layout styles
--------------------------*/
.container {
    max-width: 1500px;
    margin-bottom: 35px;
    padding: 0 10px;
}
section {
    padding: 10px 0;
}

.section-info {
    text-align: center;
    color: lightgray;
    font-weight: 300;
}
/*--------------------------
    Header styles
--------------------------*/
.nav-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    color: #79d7fd;
}
.nav-list {
    list-style: none;
    padding: 10px;
    margin: 10px;
    display: flex;
    flex-direction: row;
    gap: 40px;
}
.header-link {
    text-decoration: none;
}
header {
    position: sticky;
    top: 0;
    background-color: #191818;
    z-index: 1000;
}
/*--------------------------
    About Me styles
--------------------------*/
.grid-about {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
}
.profile-desc {
    width: 60%;
    padding-left: 120px;
}
.about {
    padding: 20px;
}
.profile-image {
    width: 175px;
    height: 175px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    border-radius: 50%;
    margin: 0 auto;
    overflow: hidden;
    border: 4px solid #00bbfa;
    object-fit: cover;
    object-position: 30px 0px;

}
.profile-image img {
    object-fit: cover;
    object-position: -6px 0px;
}
.about-link {
    background-color: #00bbfa;
    color: #F2F0EF;
    padding: 10px 15px;
    border-radius: 10px;
    transform: translateY(0);
    transition: transform 0.6s ease;
    display: flex;
    justify-content: center;
    text-decoration: none;
    gap: 20px;
    width: 125px;
    
}
.about-link:hover {
    transform: translateY(-5px);
    color: #00bbfa;
    box-shadow: 0 4px 6px #ffc54a;
    background-color: #F2F0EF;
}
.photo-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.profile-desc {
    line-height: 1.5;
    
}
.profile-desc li {
    padding: 10px 0;
}
/*--------------------------
    Education styles
--------------------------*/
.education-box {
    max-width: 1000px;
    min-height: 200px;
    display: flex;
    align-items: center;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    background-color: #1e1e1e;
    border-radius: 15px;
    color: white;

}
.school-name {
    font-weight: bold;
    margin-right: 60px;
    font-size: 1.3rem;
}
.school-details {
    margin-left: 120px;
}
.school-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    text-align: left;
}
.school-details li {
    margin-bottom: 10px;
    list-style: none;
}
/*--------------------------
    Experience styles
--------------------------*/
.exp-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin: 0 auto;
    padding: 20px;
}

.experience {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
    min-height: 150px;
    transform: translateX(0);
    transition: transform 0.2s ease;
}
.experience:nth-child(odd):hover {
    transform: translateX(30px);
}
.experience:nth-child(even):hover {
    transform: translateX(-30px);
}
.exp-title {
    margin-right: 15px;
}
.exp-text {
    margin-left: 35px;
    margin-right: 0 auto;
    list-style: none;
}
.emoji {
    font-size: 2rem;
}
.exp-text li {
    margin-bottom: 10px;
}
.experience:nth-child(even) {
    background-color: #1e1e1e;
}
.experience:nth-child(odd) {
    background-color: #2a2a2a;
}
/*--------------------------
    Skills styles
--------------------------*/
.skills-flex {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
    max-width: 1000px;
    padding: 15px;
}
.skill-card {
    padding: 5px;
    width: 145px;
    height: 200px;
    transform: translateY(0);
    transition: transform 0.4s ease;
}
.skill-card:hover {
    transform: translateY(0px);
}

.inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    display: flex;
    align-items: center;
    text-align: center;
}
.skill-card:hover .inner {
    transform: rotateY(180deg);
}
.skill-front, .skill-back {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    border-radius: 35px;
    justify-content: center;
    backface-visibility: hidden;
    border-radius: 35px;
    box-shadow:0 4px 2px #00183e;

    
}
.skill-back {
    transform: rotateY(180deg);
}

.skill-card:nth-child(even) .skill-front, .skill-card:nth-child(odd) .skill-back {
    background-color: #00bbfa;
}
.skill-card:nth-child(odd) .skill-front, .skill-card:nth-child(even) .skill-back {
    background-color:#00183e;
    color: white;
}
/*--------------------------
    Projects styles
--------------------------*/
.project-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.project {
    padding: 20px;
    border: 5px;
    background-color: tan;
    border-radius: 10px;
    transform: translateY(0);
    transition: transform 0.6s ease;
}
.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px #79d7fd;
}
.project img {
    width: 100%;
    border-radius: 10px;
}
.project h3 {
    font-size: larger;
    font-weight: bold;
    margin-bottom: 10px;
}
.project p {
    font-size: medium;
    color: lightgray;
    margin-bottom: 30px;
}
.project a {
    background-color: #00bbfa;
    color: #F2F0EF;
    padding: 10px 15px;
    border-radius: 10px;
    transform: translateY(0);
    transition: transform 0.6s ease;
    display: inline-block;
}
.project a:hover {
    transform: translateY(-5px);
    background-color: #F2F0EF;
    box-shadow: 0 4px 6px #00bbfa;
    color: #00bbfa;

}

.project:nth-child(even) {
    background-color: #1e1e1e;
}
.project:nth-child(odd) {
    background-color: #2e2e2e;
}
/*--------------------------
    Contact Me styles
--------------------------*/
.footer-link {
    background-color: #00bbfa;
    color: #F2F0EF;
    padding: 10px 15px;
    border-radius: 10px;
    transform: translateY(0);
    transition: transform 0.6s ease;
    display: flex;
    justify-content: center;
    text-decoration: none;
    gap: 20px;
    width: 125px;
    
}
.footer-link:hover {
    transform: translateY(-5px);
    background-color: #F2F0EF;
    box-shadow: 0 4px 6px #00bbfa;
    color: #00bbfa;
}

.contacts {
    text-align: center;
    padding: 15px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

/*--------------------------
    Footer styles
--------------------------*/
footer {
    background-color: #00183e;
    padding: 20px;
    text-align: center;
}
.end-link {
    text-decoration: none;
    color: white;
    transition: color 0.6s ease;
}
.end-link:hover {
    color:#00bbfa;
}
