@import url('https://fonts.googleapis.com/css2?family=Russo+One&display=swap');

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Russo One", sans-serif;
    font-weight: 400;
    color: #fff;
    font-size: 16px;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.wrapper {
    background: linear-gradient(180deg,rgba(0, 0, 0, 1) 0%, rgba(1, 0, 38, 1) 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    width: 100%;   
    max-width: 90%;      
    padding: 0 20px;    
    margin: 0 auto;
}

header {
    display: flex;
    position: relative;
    flex-direction: row; 
    justify-content: space-between; 
    align-items: center; 
    padding: 30px 0;
    width: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
    width: auto; 
    flex-shrink: 0; 
}

.brand img {
    width: 60px; 
    height: auto;
}

.name {
    font-size: clamp(10px, 3vw, 48px);
    color: #0095FF;
}

nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(1, 0, 38, 0.95);
    backdrop-filter: blur(10px);
    max-height: 0; 
    overflow: hidden;
    transition: max-height 0.4s ease-out; 
    z-index: 99;
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

nav ul li a {
    color: white;
    font-size: 20px; 
    padding: 8px 16px; 
    border-radius: 8px;
    transition: background 0.3s ease;
}

nav ul li a:hover {
    background: rgba(255, 255, 255, 0.1);
}

nav ul li.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 4px;
    background: #0095FF;
    border-radius: 10px;
}

/*Clouds*/

.clouds {
    padding-top: 100px;
    text-align: center;
}

.avatar {
    display: block;
    margin: 0 auto;
    height: auto;
    width: clamp(200px, 100vw, 1000px); 
}

/*BurgerMenu*/

.menu-checkbox {
    display: none;
}

.menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 100; 
}

.menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #0095FF;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-checkbox:checked + .menu-btn span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}
.menu-checkbox:checked + .menu-btn span:nth-child(2) {
    opacity: 0;
}
.menu-checkbox:checked + .menu-btn span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

.menu-checkbox:checked ~ nav {
    max-height: 500px; 
    padding: 20px 0; 
}

.menu-checkbox:checked ~ nav ul {
    padding: 20px;
    flex-direction: column;
    gap: 20px;
}

.project_btn {
    padding-top: 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 50px;
}

.btn-link {
    font-family: "Russo One", sans-serif;
    font-size: 20px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1); 
    border: 2px solid #0095FF;          
    border-radius: 12px;
    padding: 15px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;                
    max-width: 400px;         
    text-align: center;
    text-decoration: none;
}

.project_btn button:hover {
    background: #0095FF;
    color: #000;
    transform: translateY(-3px); 
    box-shadow: 0 5px 15px rgba(0, 149, 255, 0.4);
}

/*Conspects*/

.backbtn {
    display: flex;             
    justify-content: flex-end;  
    padding-top: 20px;
    padding-bottom: 100px;
}

.backbtn .btn-link {
    width: auto;                
    min-width: 120px;          
    text-align: center;
}

.conspectsbtn {
    padding-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 50px;
}

h3 {
    font-size: 14px;
}

.textconspects {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 50px;
}

.textconspects h1 {
    text-align: center;
}

.textconspects h2 {
    text-align: center;
}

.textconspects h3 {
    font-size: 16px;
}

.textconspects .text-list {
    font-size: 16px;
}

@media (min-width: 950px) {
    .menu-btn {
        display: none; 
    }
        
    header {
        display: flex;
        flex-direction: row; 
        justify-content: space-between; 
        align-items: center;           
        padding: 50px 0;
        width: 100%;   
    }

    nav {
        position: static; 
        max-height: none; 
        background: transparent;
        backdrop-filter: none;
        padding: 0;
        width: auto;
    }

    nav ul {
        flex-direction: row; 
        padding: 0;
        gap: 40px;
    }

    nav ul li {
        position: relative;
        white-space: nowrap;
    }

    nav ul li a {
        font-size: clamp(12px, 2vw, 32px);
        padding: 0; 
    }
    
    nav ul li a:hover {
        background: transparent;
        border-bottom: 5px solid #007CD4; 
        border-radius: 10px;
    }

    nav ul li.active::after {
        width: 100%; 
        height: 5px;
        bottom: -5px;
    }
    
    .brand img {
        width: 80px; 
    }

    .clouds {
        padding-top: 200px; 
    }

    .project_btn button {
        width: auto;  
    }
}