@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,400&family=Space+Grotesk:wght@300;400;500&display=swap');

body {
    background-image: radial-gradient(ellipse at top, #14113a 0%, #0A0918 55%);
    color: white;
    font-family: 'Aboreto'; 
    font-size: 22px; 
}

html {
  scroll-behavior: smooth;
}

h1 {
    font-size: 45px;
    font-weight: 400;
    margin-top: 50px;
    margin-bottom: 0px;
    text-align: center;
}

hr {
    border: 1px solid rgba(255, 255, 255, 0.411);
    margin: 0 auto;
    border-radius: 50%;
}

.logo {
    z-index: 10;
    height: 35px;
    width: 35px;
    border-radius: 50%;
    position: fixed;
    top: 10px;
    right: 10px;
    transition: height 0.3s ease, width 0.3s ease;
}

.logo:hover {
    height: 40px;
    width: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0);
}

.color {
    z-index: 10;
    border: 1px solid white;
    height: 35px;
    width: 35px;
    border-radius: 50%;
    position: fixed;
    bottom: 50px;
    right: 10px;
    transition: height 0.3s ease, width 0.3s ease, box-shadow 0.1s ease;
}

.color:hover {
    height: 40px;
    width: 40px;
    box-shadow: 0 4px 12px rgb(45, 66, 255);
}

.start {
    margin: 50px;
    text-align: center;
    height:75vh;
}

.header {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    margin: 0px;
}

.header h3 {
    margin: 0px;
    font-size: 15px;
    font-weight: 400;
}

.header p {
    margin: 0px;
    font-family: 'Cormorant Goromond';
    font-size: 13px;
    background-image: linear-gradient(45deg, #fafafa, #888888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent; 
    color: transparent;
}

.cover {
    margin-top: 184px;
    margin-bottom: 50px;
}

.name {
    font-size: 90px;
    margin: 0px;
}

.school {
    font-size: 24px;
    margin: 0px;
    background-image: linear-gradient( #fdfdfd, #b1b1b1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent; 
    color: transparent;
}

.menu {
    position: relative;
    width: 600px;
    height: 260px;
    margin: 40px auto 0;
}

.menu div {
    position: absolute;
    top: 20px;
}

.menu div a {
    display: flex;
    padding-left: 180px;
    padding-top: 20px;
    align-items: flex-end;
    box-sizing: border-box;
    text-align: center;
    text-decoration: none;
    color: white;
    border-radius: 16px;
    height: 220px;
    width: 220px;
    writing-mode: vertical-rl;
    letter-spacing: 2px;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.ABOUTS {
    left: 0px;
    z-index: 1;
}
.ABOUTS a {
    background: #0C003A;
    transform: rotate(180deg);
}
 /*
 Rotation of the texts and elements used to navigate 
*/
.PROJECTS {
    left: 130px;
    z-index: 2;
}
.PROJECTS a {
    background: #0A0060;
    transform: rotate(180deg) rotate(-10deg);
}

.TOOLS {
    left: 260px;
    z-index: 3;
}
.TOOLS a {
    background: #160079;
    transform: rotate(180deg) rotate(5deg);
}

.CONTACTS {
    left: 390px;
    z-index: 4;
}
.CONTACTS a {
    background: #220089;
    transform: rotate(180deg) rotate(10deg);
}

.menu div a:hover {
    transform: rotate(180deg) translateY(15px) scale(1.03);
    z-index: 10;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* About Me section */

.descriptions em {
    background-image: linear-gradient( #3e80be, #0d72e6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent; 
    color: transparent;
}

.descriptions {
    font-family:'Cormorant Garamond';
    font-weight:400;
    font-size: 28px;
    display: flex;
    flex-direction: column;
}

.about-title {
    margin-left: 50px;
}

.about {
    margin: 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;

}

.about h3 {
    font-size: 28px;
    font-weight: 400;
}

.picture {
    height: 300px;
    width: 300px;
    border-radius: 50%;
    border: 1px solid #480BFF;
    box-shadow: 0 0px 100px #2a2474;
    margin-left: 6%;
    background-image: url('../PFP.png');
    background-size: cover;
}

.row {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    border-bottom: rgba(255, 255, 255, 0.253) 1px solid;
    padding-bottom: 10px;
    padding-top: 5px;
}

.row .q {
    color: #ffffff7c;
    text-align: left;
}

.row .a {
    text-align: right;
}

.hobby {
    font-size: 16px;
    margin-top: 30px;
    color: #ffffff7c;
}

.hobbies {
    display:inline-block; 
    font-style:italic;
    color: white;
    transition: opacity .3s ease, transform .3s ease;
}

.hobbies.swap {
    opacity: 0;
    transform: translateY(6px);
}

/*Projects*/

.project {
    margin-left: 50px;
    margin-right: 50px;
    padding: 20px;
    font-family: 'Cormorant Garamond ';
}

.proj-slider {
    position:relative; 
    height: 380px; 
    overflow:hidden;
}

.proj-slide {
    text-decoration: none;
    position:absolute; 
    inset:0; 
    display:flex; 
    flex-direction:column; 
    justify-content:center;
    opacity:0;
    border-radius: 10px;
    padding-left: 50px;
    transition: transform .6s cubic-bezier(.65,0,.35,1), opacity .45s ease, background .3s ease;
}

.proj-slide h3 {
    color: white;
}

.proj-slide.is-active { 
    transform: translateX(0); 
    opacity:1; 
    pointer-events:auto; 
}

.proj-slide.is-prev { 
    transform: translateX(-100%); 
    opacity:0; 
}

.proj-slide.is-next { 
    transform: translateX(100%); 
    opacity:0; 
}

.proj-slide:hover {
    background-color: rgb(15, 0, 68);
}
 
.num {
    font-family:'Cormorant Garamond'; 
    font-style:italic; 
    color: rgba(255, 255, 255, 0.623); 
    font-size: 16px;
    margin-bottom: 18px;
  }

.proj-slide h3 {
    font-family:'Cormorant Garamond'; 
    font-weight:400; font-size:46px; 
    margin-bottom:18px; 
    color: white;
}

.proj-slide p { 
    font-size:14.5px; 
    color: rgba(255, 255, 255, 0.623); 
    line-height:1.7; 
    max-width:520px; 
    margin-bottom:20px; 
}

.tags { 
    font-size:11px; 
    letter-spacing:0.08em; 
    color: rgba(255, 255, 255, 0.623); 
    text-transform:uppercase; 
    margin-bottom:14px; 
}

.tags span:not(:last-child)::after { 
    content:'·'; 
    margin:0 8px; 
}

.result { 
    font-size:17px; 
    color: #0d72e6; 
    font-style:italic; 
    font-family:'Cormorant Garamond'; 
}

.result.locked { 
    color: #0f59adfb; 
}
 
.proj-nav {
    display:flex; 
    align-items:center; 
    gap:26px; 
    margin-top: 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.452); 
    padding-top: 24px;
    padding-left: 50px;
  }
  
.proj-arrow {
    width:38px; 
    height:38px; 
    border-radius:50%; 
    border:1px solid white;
    display:flex; 
    align-items:center; 
    justify-content:center; 
    cursor:pointer;
    color: white; 
    font-size:15px; 
    background:transparent;
    transition: border-color .2s ease, color .2s ease, transform .2s ease;
  }
  
.proj-arrow:hover { 
    border-color: #0d72e6; 
    color: #0d72e6; 
    transform: translateY(-1px); 
}
  
.proj-counter {
    font-family:'Cormorant Garamond'; 
    font-style:italic; 
    font-size:15px; 
    color: rgba(255, 255, 255, 0.452);
    letter-spacing:0.02em;
}

/*Tools*/

.tools1 {
    margin: 30px;
    display: flex;
    justify-content: space-evenly;
    font-family: 'Cormorant Garamond';
}

.tools1 h2 {
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.452);
    color: rgba(173, 181, 255, 0.452);
    padding-bottom: 10px;
}

.tools1 p { 
    font-size: 16px; 
    color: white; 
    display: flex; 
    align-items: center; 
    gap: 12px;
    margin-top: 3px;
    margin-bottom: 3px;
}

.dot {
    width:4px; 
    height:4px; 
    border-radius:50%; 
    background: #547cff;
    flex-shrink:0; margin-bottom:2px;
}

.tools1 div {
    width: 200px;
}

/*Contact*/

.contacts1 {
    font-family: 'Cormorant Garamond';
    font-size: 16px;
    margin-left: 30px;
}

.contacts1 h3 {
    font-size: 40px;
    font-weight: 400;
}

.contacts1 p {
    font-size: 25px;
}

.contacts1 p em{
    color: #7d0de6;
}

.contact p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.452);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding-right: 10px;
    text-transform: uppercase;
}

.contact {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.link {
    font-size: 16px;
    text-decoration: none;
    color: white;
    transition: color .3s ease, text-decoration 1s ease;
    text-transform: none;
}

.link:hover {
    color: #3e80be;
    text-decoration: underline;
}

.copyright {
    color: #ffffff7c;
    font-size: 9px;
    text-align: center;
}

@media (min-width: 900px) {
    .temp {
        height: 450px;
    }

    .project {
        width: 50%;
        transform: translate(50%);
        top:165vh;
    }
}