
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
}
html{
    scroll-behavior: smooth;
}
body{
    background-color: #f0f0f0;
    display: grid;
    grid-template-columns:repeat(11,1fr);
    gap: 30px;
    
    
}
.nav_bar{
    max-width: 100%;
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 10px;
    height: auto;
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding:20px 0 20px 0;
    margin-top: 10px;
    border-radius: 30px;
    
}
.nav_bar .logo{
    visibility: hidden;
}
.nav_bar ul{
    display: flex;
    list-style: none;
}
.nav_bar ul li{
    margin: 0 15px;
}
.nav_bar ul li a{
    color: white;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.5s ease;
}
.nav_bar ul li a:hover{
    color: #f0f0f0;
    background-color: #ff7b00fb;
    padding: 10px 10px;
    border-bottom-right-radius:10px ;
    border-top-left-radius: 10px;
    text-shadow: 10px 10px 10px rgba(0, 0, 0, 0.2);
    
}
.nav_bar ul li a.active{
    color: #f0f0f0;
}
.nav_bar ul li a.active:hover{
    color: #f0f0f0;
}
.nav_bar ul li a:visited{
    color: #f0f0f0;
}
.nav_bar ul li a:visited:hover{
    color: #f0f0f0;
}
.menu-toggle{
    display: none;
}
.hero-section{
    width:100%;
    height: 100vh;
    margin: 0 auto;
    background-image: url('white-bg-highquality.jpg');
    background-size:cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    overflow: hidden;
    grid-column-start: 1;
    grid-column-end:12 ;
}
.hero-content{
    z-index: 2;
    grid-column: 2/span 7;
    margin-top: 20%;
    
    
}
.content-box .flex{
    display: grid;
    grid-template-columns:repeat(10,1fr);
    

    
}
.hero-content P{
    width: 75%;
}
.hero-content h1{
    font-size: 300%;
    color: #333;
}
.hero-content h3{
    font-size: 200%;
    display: block;
    color: #333;
    
}
.content-box .hero-content ol{
    list-style: none;
    ---height:3.5rem;
    height: var(---height);
    line-height: var(---height);
    border: none;
    outline: none;
    

    overflow: hidden;

}

.content-box .hero-content ol li{
    animation: slide-up 12s infinite;
    font-size: 3rem;

}
@keyframes slide-up {
    0%,10%{
        transform: translateY(0%);
    }
    15%,25% {
        transform: translateY(-100%);
    }
    30%,40%  {
        transform: translateY(-200%);
    }
    45%,55% {
        transform: translateY(-300%);
    }
    60%,70% {
        transform: translateY(-400%);
    }
    
    
}
.hero-content small{
    font-size: 1.2rem;
    color: #2f2e2e;
    
}

.hero-content p{
    font-size: 120%;
    color: #2f2e2e;
    margin-top: 10px;
}
.hero-content span{
    color: #ff7b00;
    font-weight: bold;
    display: inline-block;
    
}

.call-to-action{
    grid-column: 2/span 2;
    padding: 20px 40px;
    border-radius: 20px;
    border: 3px solid #ff7b00;
    background-color:transparent;
    color: #ff7b00;
    font-size: 120%;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
    text-shadow: 0px 15px 15px rgba(0, 0, 0, 0.1);
    margin-top: -30%;
}

.call-to-action:hover{
    background-color: #ff7b00;
    color: white;
}


.image1 {
    width: 400px;
    height: 550px;
    background-image: url(perrymason-profile.png);
    background-size: cover;
    background-position: center;
    margin-top: 60px;
    border: 10px solid #333;
    border-radius: 20%;
    
    z-index: 2;
    cursor: pointer;
    transition: transform 0.5s ease, box-shadow 0.3s ease;
    grid-column: 9/span 1;

    
}
.image1:hover{
    transform: scale(1.1);
    transform: rotate(5deg);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);

}
.about-section {
    background-color: #151313;
    padding: 40px;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    grid-column-start: 1;
    height: 100vh;
    grid-column-end:12 ;
    
}
.about-section h2 {
    font-size: 250%;
    color: #ffffff;
    margin-bottom: 20px;
    padding-left: 20px;
    background: linear-gradient(to left , #ff7b00,transparent);
    display:inline-block;
    padding: 10px 20px 10px 30px;
    border-bottom-right-radius:30px ;
    border-top-right-radius: 30px;
}
.about-section p {
    font-size: 120%;
    color: #dbdada;
    line-height: 1.6;
    margin-bottom: 20px;
    width: 70%;
}


.image2{
    width: 140%;
    height: 700px;
    background-image: url(perrymason2.png);
    background-size:cover;
    margin-top: -20px;
    
}
.container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35%;
}
.download-cv{
    padding: 20px 40px;
    border-radius: 20px;
    border: 3px solid #ff7b00;
    background-color:transparent;
    color: #ff7b00;
    font-size: 1.2rem;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
}
.download-cv:hover{
    background-color: #ff7b00;
    color: white;
}
.bubbles img{
    width: 50px;
    border-radius: 60%;
    animation: bubble 7s linear infinite;
}
.bubbles{
    width: 100%;
    display: flex;
    align-items:center;
    justify-content: space-around;
    position: absolute;
    bottom:-70px;
    opacity: 0.65;
}
.bubbles img:nth-child(1){
    animation-delay: 2s;
    width: 35px;
}
.bubbles img:nth-child(2){
    animation-delay: 1s;
}
.bubbles img:nth-child(3){
    animation-delay: 3s;
    width: 25px;
}
.bubbles img:nth-child(4){
    animation-delay: 4.5s;
}
.bubbles img:nth-child(5){
    animation-delay: 3s;
}
.bubbles img:nth-child(6){
    animation-delay: 6s;
    width: 20px;
}
.bubbles img:nth-child(7){
    animation-delay: 7s;
    width: 35px;
}
.projects,
.skills,
.education-section {
    background-color: #dbdada;
    padding: 40px;
    margin: 20px;
    border-radius: 10px;
    height:auto;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
    grid-column-start: 1;
    grid-column-end:12 ;
}

.education-section h2 {
    font-size: 250%;
    color: #333;
    position: relative;
    margin-left: 8%;
    display:inline;
}
.education-section h2::before{
    content: '';
    position: absolute;
    left: 0;
    width: 10px;
    height: 40px;
    background-color: #ff7b00;
    margin-left: -15px;
    margin-top: 4%;
}
.history ul{
    grid-column-start: 1;
    margin-top: 3%;
    line-height: 50px;
    margin-left: 10%;
}
.history ul li{
    font-size: 120%;
    font-weight: bold;
    color: #2f2e2e;
}
.educationpic{
    width: 4%;
    margin-left: 20px;
}
.skills{
    background-color: #151313;
    color:#ffffff;
    
}
.skills h2{
    margin-left: 7%;
    padding-left: 15px;
    margin-bottom: 70px;
    background: linear-gradient(to left , #ff7b00,transparent);
    display:inline-block;
    padding: 10px 20px 10px 30px;
    border-bottom-right-radius:30px ;
    border-top-right-radius: 30px;
    font-size: 2.5rem;
}

.skill-details{
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;

}
.skill-details .progress{
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    color: #fff;
    background: #444 linear-gradient(to right, transparent 50%,var(--clr) 0);
    

}
.skill-details .progress h3{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50% , -50%);
    font-size: 250%;
    z-index: 1;
    font-weight: 500;

}
.skill-details .progress h3 span{
    font-size: 0.65em;
    font-weight: 400;
}
.skill-details .progress h4{
    position:absolute;
    top:62%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    font-weight: 500;
    color: var(--clr);
    text-transform: uppercase;

}
.skill-details .progress::before{
    content: '';
    display: block;
    height: 100%;
    margin-left: 50%;
    transform-origin: left;
    border-radius: 0 100% 100% 0/50%;
}
.skill-details .progress::after{
    content: '';
    position: absolute;
    inset: 10px;
    background: #222;
    border-radius: 50%;

}
.skill-details .progress::before{
    background: var(--clr);
    transform: rotate(calc(((var(--i) - 50) * 0.01turn)));
}
.skill-details .progress .less::before{
    background: #444;
    transform: rotate(calc(((var(--i) - 50) * 0.01turn)));
}
.skill-details .node-js,
.skill-details .Css,
.skill-details .python,
.skill-details .Javascript,
.skill-details .html{
    background-color: pink;
    width: 30%;
    height: 400px;
    display: flex;
    align-items:last baseline;
    justify-content:baseline;
    background: url(javascript.png) no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    box-shadow: 0px 10px 10px rgba(44, 205, 233, 0.853);
}
.skill-details .html{
    box-shadow: 0px 10px 10px rgba(67, 249, 73, 0.853);
    background: url(HTML.png) no-repeat;
    background-position: center;
    background-size: cover;
}
.skill-details .python{
    box-shadow: 0px 10px 10px rgba(251, 41, 121, 0.853);
    background: url(python2.png) no-repeat;
    background-position: center;
    background-size: cover;
}
.skill-details .Css{
    box-shadow: 0px 10px 10px rgba(255, 224, 71, 0.853);
    background: url(css2.png) no-repeat;
    background-position: center;
    background-size: cover;

}
.skill-details .node-js{
    box-shadow: 0px 10px 10px #ffffffda;
    background: url(node.js2.png) no-repeat;
    background-position: center;
    background-size: cover;
}

.projects{
    background-color: #dbdada;
    overflow: hidden;
    height: 100vh;
}


.projects  h2 {
    font-size: 250%;
    color: #333;
    position: relative;
    margin-left: 8%;
    display:inline;
}
.projects h2::before{
    content: '';
    position: absolute;
    left: 0;
    width: 10px;
    height: 40px;
    background-color: #ff7b00;
    margin-left: -15px;
    margin-top: 4%;
}
.projects h3{
    font-size: 200%;
    display: block;
    color: #222;
    margin-left:9%;
    margin-top: 2%;
}
.projects p{
    font-size: 120%;
    margin-left: 11%;
    margin-top: 1%;
    width: 50%;
}
.projects .project-details{
    display:flex;
    justify-content: center;
    align-items: center;
    margin-top: 2%;
    gap: 40px;

}
.projects .project-details img{
    width: 20%;
    border-radius: 20px;
}
.contact-form{
    background-color: #151313;
    padding: 40px;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    grid-column-start: 1;
    height: auto;
    grid-column-end:12 ;
    border-top-left-radius:100px ;
    border-top-right-radius: 100px;
}
.contact-form h2{
    color: #fff;
    background: linear-gradient(to left , #ff7b00,transparent);
    display:inline-block;
    padding: 10px 20px 10px 30px;
    border-bottom-right-radius:30px ;
    border-top-right-radius: 30px;
    font-size: 250%;

}
.contact-form .line{
    background-color: #444;
    height: 5px;
    width: 100%;
    margin-top: 40px;
}
.contact-form .contact-info{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 50px;
    padding-left: 30px;
    padding-right:30px ;
}
.contact-info .right h3,
.contact-info .left h3{
  font-size: 150%;
  margin-bottom: 30px;
}
.first-note{
   margin-left: 2%;
}
.contact-form p {
    color: #aea9a9;
    margin-top: 10px;
    
    font-size: 150%;
}
.contact-form .footer-note{
    font-size: 100%;
    margin-bottom: 10px;
}
.footer-note span{
    position: relative;
    padding-left: 25px;
}
.footer-note span::before{
  content: '';
    position: absolute;
    left: 0;
    top:15px;
    width: 20px;
    height: 4px;
    background-color: #fff;
    
}
.contact-form h3{
    color: #b4b0b0;
    margin-top: 5px;
}
.contact-content{
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-content img{
    margin-bottom: 30px;
}
@keyframes bubble {
    0%{
        transform: translateY(0);
        opacity: 0;
    }
    50%{
        
        opacity: 1;
    }
    70%{
        
        opacity: 1;
    }
    100%{
        transform: translateY(-80vh);
        opacity: 0;
    }
    
}

@media (max-width: 768px) {
    .nav_bar ul {
        flex-direction: column;
        display: none;
    }
    .menu-toggle {
        display: block;
        cursor: pointer;
        color: white;
        font-size: 24px;
    
    }
    .image1 {
      width: 200px;
      height: auto;
      background-position: center;
    

    
      }
    .hero-content {
        grid-column: 2/span 10;
        margin-top: 10%;
    }
    .skill-details {
        flex-direction: column;
        align-items: center;
    }
}
