/*-------------FONT FOR ALL---------------------*/
* {
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
}

/*-------------BODY---------------------*/
body {
    margin: 0;
    padding: 0;
}


/*-------------BACKGROUND VIDEO---------------------*/
.back-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}



@media (min-aspect-ratio: 16/9) {
    .back-video {
        width: 100%;
        height: auto;
    }
}
@media (max-aspect-ratio: 16/9) {
    .back-video {
        width: auto;
        height: 100%;
    }
}



/*-------------MENU---------------------*/
.navmenu {
    width: clamp(40%, 80%, 100%);
    height: 80px;
    line-height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
    border-bottom: 2px solid #fff;
}

.navmenu .logo {
    width: 60px;
    border-radius: 30%;
    z-index: 2;
}


.navmenu ul {
    display: flex;
    list-style: none;
    margin: 20px 0px;
    z-index: 2;
}


.navmenu ul li {
    font-size: 1.1rem;
    font-weight: bold;
}


.navmenu ul li a {
    color: white;
    padding: 10px 50px;
    border-radius: 5px;
    transition: all .5s ease;
    cursor: pointer;
    text-transform: capitalize;
    transition: all .5s;
    text-align: center;
    align-items: center;
}


.navmenu ul li a:hover {
    color: #222222;
    box-shadow: 0 0 10x white;
    cursor: pointer;
    transform: scale(1.2);
}


.navmenu ul li a.current {
    opacity: 1;
    cursor: pointer;
    color: white;
    transition: 2s ease;
    background-color: rgba(77, 205, 236, 0.4)
}


/*-------------BOX FOR INDEX---------------------*/
.boxforindex {
    width: 500px;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    text-align: center;
    align-items: center;
    justify-content: center;
    margin: auto;
    margin-top: 7%;
    border-radius: 25px;
    
}


.box-img {
    border-radius: 50px;
    width: 200px;
    height: 200px;
    border-color: #00f7ff;
    border-style: solid;
}


.boxforindex h1 {
    font-size: 40px;
    letter-spacing: 4px;
    font-weight: bold;
    color: #00f7ff;
    transition: 0.5s;
    animation: fadeOut 2s infinite alternate;
    opacity: 1;
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
    }
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.boxforindex h2 {
    font-size: 20px;
    letter-spacing: 3px;
    font-weight: 100;
    color: #fff;
    animation: beat .25s infinite alternate;
    transform-origin: center;
}

@keyframes beat{
	to { transform: scale(1.1); }
}

.color {
    font-weight: bold;
    color: #00f7ff;
}

@media (max-width: 850px){

    .navmenu {
        max-width: 100%;
    }

    .navmenu ul li a{
        padding: 0;
        margin: 0px 5px;
        align-items: center;
    }
}

/*-------------BOX FOR ABOUT---------------------*/
.box {
    width: 900px;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    text-align: center;
    margin: auto;
    margin-top: 7%;
    color: white;
    border-radius: 25px;
}


    .box h1 {
        font-size: 30px;
        letter-spacing: 4px;
        font-weight: 100;
    }


        .box h5 {
            font-size: 20px;
            letter-spacing: 3px;
            font-weight: 100;
        }

        /*---------------------PARAGRAPH----------------*/

        .box p {
            text-align: justify;
            letter-spacing: .2em;
            line-height: 2;
        }


/*---------------------about----------------*/
.aboutme {
    position: relative;
    font-size: 20px;
    letter-spacing: 3px;
    font-weight: 100;
    color: white;
    text-align: center;
    top: 10px;
}


/*-------------BUTTON FOR ABOUT ME VIDEO---------------------*/

.button{
    display: inline-block;
    border-radius: 10px;
    text-decoration: none;
    letter-spacing: .2em;
    color: #D9D9D9;
    border: 1px solid #fff;
    padding: 17px 24px;
    position: relative;
    background: transparent;
    cursor: pointer;
    top: 45%;
    left: 45%;
  
}

.button:hover{
    border: 1px solid #ffffff;
    background: rgba(77, 205, 236, 0.4);
    transition: 1s;
    box-shadow: 0 0 10px rgba(77, 205, 236, 0.4);
}

@media only screen and (max-width: 850px){
    .box {
        width: 400px;
    }
}

/*---------------------SKILLS OR EXPERIENCE----------------*/

.box table {
    width: 100%;
    margin: auto;
    vertical-align: top;
    border-collapse: collapse;
}


.box table td, .box table th {
    vertical-align: top;
    text-align: left;
    padding: 10px 40px;
}


.box table tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.4);
}

@media only screen and (max-width: 850px){
    .box table td {
        font-size: 15;
    }

    .box table td tr {
        background-color: rgba(0, 0, 0, 0);
    }

}

/*---------------------2ND BOX FOR EDUCATIONS----------------*/
.box2 {
    width: 1000px;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    text-align: center;
    margin: auto;
    margin-top: 7%;
    color: white;
    border-radius: 25px;
}


.box2 h2 {
    font-size: 30px;
    letter-spacing: 4px;
    font-weight: 100;
}


.box2 table {
    width: 100%;
    margin: auto;
    vertical-align: top;
    border-collapse: collapse;
}


.box2 table td, .box2 table th {
    vertical-align: top;
    text-align: left;
    padding: 10px 40px;
}


.box2 table tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.4);
}

@media only screen and (max-width: 850px){
    .box2 {
        width: 500px;
    }

}


/*-------------------CONTACT INFO----------------------------*/
.info {
    margin: auto; /*This is to center the element*/
    padding-top: 10px;
    padding-bottom: 20px;
    width: 1000px;
    max-width: 100%;
    border-bottom: 1px dotted wheat;
}


.info li {
    display: inline-block;
    width: 100%;
    text-align: center;
}


/*---------------------SOCIAL MEDIA LINKS----------------*/

ul {
    margin: 0;
    padding: 0;
}


.box li {
    display: inline-block;
    margin: 6px;
    list-style: none;
}


.box li a {
    color: white;
    text-decoration: none;
    font-size: 60px;
    transition: all ease-in-out 250ms;
}


.box li a:hover {
    color: #b9b9b9;
}


/*-------------------CONTAINER FOR CONTACTS----------------------------*/

.container {
    width: 900px;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    text-align: center;
    margin: auto;
    margin-top: 3%;
    color: white;
    border-radius: 25px;
}

.container #contact {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    color: white;
    padding: 15px;
}

.container .form {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    align-items: center;
    margin: 20x 0px;
}

.container .input {
    padding: 12px;
    margin: 15px;
    width: 300px;
    border: none;
    outline: none;
}

.container #msg {
    width: 300px;
    padding: 10px;
    margin: 15px;
    border: none;
    outline: none;
}

.container #send {
    padding: 10px;
    width: 10%;
    margin: 40px;
    border: none;
    outline: none;
    border: 1px solid #fff;
    color: white;
    background: transparent;
}

.container #send:hover {
    cursor: pointer;
    border: 1px solid #ffffff;
    background: rgba(77, 205, 236, 0.4);
    transition: 1s;
    box-shadow: 0 0 10px rgba(77, 205, 236, 0.4);
}

@media only screen and (max-width: 850px){
    .container {
        width: 500px;
    }

    .container #send {
        text-align: center;
    }

}


/*for changing pages animation (still working sa ga puti pag mu change page)*/
video {
    animation: transitionIn 0.5s;
}

@keyframes transitionIn {

    from {
        opacity: 0;
        transform: rotateX(-10deg);
    }
    
    to {
        opacity: 1;
        transform: rotateX(0);
    }
}

