:root {
    --text: #ACACB7;
    --white: #FFF;
    --background: #303842;
    --primary: #F6C634;
    --box: #252B30;
}

.yellow {
    --primary: #F6C634;
}
.orange {
    --primary: #E76F51;
}
.red {
    --primary: #ff4d6d;
}
.green {
    --primary: #6ede8a;
}
.blue {
    --primary: #61a5c2;
}
.purpel {
    --primary: #c77dff;
}
.white {
    --primary: #caf0f8;
}

* {
	margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none;
    border: none;
    scroll-behavior: smooth;
    font-size: 1rem;
    box-sizing: border-box;
    list-style-type: none;
}

html {
    font-size: 16px;
    line-height: 1;
	color: var(--text);
}
body {
    background-color: var(--background);
    font-family: Arial, sans-serif;
    font-family: Tomorrow, Poppins, OpenSans, sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.container {
    display: flex;
    flex: 1;
    overflow: hidden;
}
::-webkit-scrollbar{
	display: none;
}
::-webkit-scrollbar-thumb{
	display: none;
}
.container-icon {
    border-radius: 0.5rem;
    background-color: var(--background);
    padding: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2rem;
    height: 2rem;
    border: 2px solid transparent;
}
.container-icon i {
    color: var(--primary);
    width: 1rem;
    height: 1rem;
}
.container-icon:hover {
    border: 2px solid var(--primary);
}

/* Responsive Design */
@media (max-width: 1350px) {
    .right-sidebar {
        right: -17.5rem;
    }
    .main-content, header, .upper-bar {
        right: 0.5rem;
    }
}

@media (max-width: 1200px) {
    #contact {
        flex-wrap: wrap;
    }
}

@media (max-width: 992px) {
    .left-sidebar {
        right: -17.5rem;
    }
    .main-content, header, .upper-bar {
        left: 0.5rem;
    }
    #Programming-skills, #software-skills {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .container-img-profile {
        width: 6.5rem;
        height: 6.5rem;
    }
    .about-profile h1 {
        font-size: 1.2rem;
    }
    .about-profile p {
        font-size: 0.9rem;
    }
    .modal-content {
        line-height: 1.2;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 0.5rem;
    }
    
    .about-profile {
        gap: 1.5rem;

    }
    .about-description {
        max-width: 100%;
        text-align: center;
    }
    #contact .container {
        flex-direction: column;
        gap: 1rem;
    }
    #contact .social-networks {
        flex-direction: row;
        border: 2px dashed var(--primary);
    }
    .project-card {
        width: 100%;
    }
    #project-cards {
        justify-content: center;
    }
    .contact-box {
        max-width: 100%;
    }
    #contact .social-networks {
        padding: 1rem;
    }
}
@media (min-width: 576px) and (max-width: 768px) {
    .project-card {
        width: calc((100% - 1rem)/2);
    }
}

@media (min-width: 768px) and (max-width: 1550px) {
    .project-card {
        width: calc((100% - 2rem)/3);
    }
}

@media (min-width: 1550px) {
    .project-card {
        width: calc((100% - 3rem)/4);
    }
}

h1, h2, h3 {
    color: var(--white);
}

h1:hover, h2:hover, h3:hover {
    animation: flicker 1s 1 forwards;
}

@keyframes flicker {
    0% {
      opacity: 1;
    }
    13% {
      opacity: 0.3;
    }
    23% {
      opacity: 0.8;
    }
    30% {
      opacity: 0.3;
    }
    38% {
      opacity: 0.9;
    }
    45% {
      opacity: 0.7;
    }
    53% {
      opacity: 1;
    }
    100% {
      opacity: 1;
    }
  }
  
.circle-wrapper {
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;  
}

.circle-wrapper a {
    position: relative;
    z-index: 1000; 
}

.circle-wrapper::after ,.circle-wrapper::before  {
    content: "";
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.circle-wrapper::after {
    width: calc(100% - 0.4rem);
    height: calc(100% - 0.4rem);
    border: 0.1rem solid var(--primary);
}
.circle-wrapper::before  {
    width: 100%;
    height: 100%;
    border: 0.1rem dashed var(--primary);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {	
    100% {
        transform: rotateZ(360deg);
    }

}

